Giter Club home page Giter Club logo

halcyon's Introduction

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.

halcyon's People

Contributors

adibrov avatar dependabot[bot] avatar hkmoon avatar royerloic avatar

Watchers

 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.