Giter VIP home page Giter VIP logo

pie-menu's Introduction

Java Swing Pie Menus

This project is currently INCOMPLETE or UNUSABLE… but getting pretty close!

It’s motivation comes from seeing so many various ‘proof-of-concept’ pie menus that either (1) greatly favor asethetics over functionality, or (2) don’t actually have the hooks that would be required to (in fact) use them when building another application… which makes them little more than toys.

Therefore, this project is an attempt to create a mostly-compliant swing component (i.e. that behaves as a GUI designer would expect) that might be a “drop in replacement” or an “easy add” for contextual menus.

Lacking features that prevent usability

  • investigate/transition PieMenu’s base class from JList to JPopupMenu
    • early experiment shows it might be hard to override the UI to that degree
    • investigate/transition PieMenuEntry’s base class to JMenuItem
  • Upon moving a mouse over a wedge
    • highlight that wedge somehow
    • store the selected state (ala JList/JPopupMenu, fire triggers, etc)
  • Upon moving a mouse over the center hub
    • deselect currently-selected wedge
    • make JList/JPopupMenu selection null
  • Support ‘seperators’

pie-menu's People

Contributors

osndok avatar

Stargazers

 avatar Majick Tek avatar  avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.