Skip to content

Halcyon is JavaFX framework for designing dockable multiple window applications

License

Notifications You must be signed in to change notification settings

mpicbg-scicomp/halcyon

Repository files navigation

Halcyon

Halcyon is JavaFX framework for designing dockable multiple window applications. It supports legacy Swing components and accomodates other non Swing/JavaFX components.

Halcyon provides basic interfaces which are Console and TreePanel. ConsolePane is linked with standard out and standard error streams. TreePanel contains all other HalcyonNode instances.

This framework consists of model and view/controller.

halcyon.HalcyonFrame class

Halcyon holds normally three basic types of nodes, which are Console, ToolBar and TreePanel. HalcyonFrame is the entry point to create GUI based on JavaFX stage. Console is used as console output/error as well as logging printing panel. ToolBar is used for providing control panels where user can operate tasks. TreePanel is a kind of hub to manage all the other mission specific jobs. For example, we can use this as DeviceTree where multiple devices appear in a tree structure. Each device is shown by clicking the specific tree node and controlled in the device panel.

Halcyon is based MVC pattern where Model/View/Controller are separated and linked by EventHandlers.

Screenshot

Screenshot

halcyon.model package

halcyon.model.node package

  1. HalcyonNode - JavaFX based node
  2. HalcyonSwingNode - Swing based node
  3. HalcyonOtherNode - neither JavaFX nor Swing based (e.g. OpenGL window)

halcyon.model.collection package

  1. HalcyonNodeRepository - Halcyon node collection

halcyon.model.property package

  1. NodeProperty - holds a javafx.scene.Node instance in HalcyonNode.

halcyon.view package

  1. HalcyonPanel - contains HalcyonNode.
  2. ConsolePanel - used for Console output.
  3. TreePanel - holds multiple HalcyonPanel containing one of HalcyonNode in a tree structure. When clicking specific node, the corresponding HalcyonNode opens an appropriate GUI component.

halcyon.controller package

  1. ViewManager - a controller for coordinating view and model according to user interactions.

halcyon.util package

  1. RunFX - can run all RunnableFX the inherited class.
  2. RunnableFX - an interface which can be run by RunFX.

halcyon.demo package

  1. DemoHalcyonMain - an entry point of the demo application.
  2. DemoHalcyonNodeType - has custom-made HalcyonType enumeration elements. This will be used for mapping the icons in the TreePanel.
  3. DemoResourceUtil - a resource access utility only for demonstration. It contains where the icon files are located.
  4. DemoToolbarPanel - contains a user-defined Toolbar which will be located in Toolbar Area in the Pane.

About

Halcyon is JavaFX framework for designing dockable multiple window applications

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages