Visual Library API
Official

Overview of Visual Library API module

VisualLibraryAPI

The API provides a set of reusable pieces - widgets. By composing them you are creating a visualization. Each widget has various properties including layout, border, assigned actions, ... The library contains a set of pre-defined widgets that can be extended. All pluggable pieces are declared as interfaces or abstract classes - WidgetAction, Anchor, AnchorShape, PointShape, Animator, Border, GraphLayout, LookFeel, Layout, SceneLayout, Router, CollisionsCollector. Also they all have their built-in implementation.

What is New (see all changes)?

Use Cases

See documentation for complete set of use-cases.

Exported Interfaces

This table lists all of the module exported APIs with defined stability classifications. It is generated based on answers to questions about the architecture of the module. Read them all...

Group of java interfaces

Group of java interfaces
Interface NameIn/OutStabilitySpecified in What Document?
VisualLibraryAPIExportedOfficial

The API provides a set of reusable pieces - widgets. By composing them you are creating a visualization. Each widget has various properties including layout, border, assigned actions, ... The library contains a set of pre-defined widgets that can be extended. All pluggable pieces are declared as interfaces or abstract classes - WidgetAction, Anchor, AnchorShape, PointShape, Animator, Border, GraphLayout, LookFeel, Layout, SceneLayout, Router, CollisionsCollector. Also they all have their built-in implementation.

Implementation Details

Where are the sources for the module?

The sources for the module are in the Apache Git repositories or in the GitHub repositories

What do other modules need to do to declare a dependency on this one, in addition to or instead of a plain module dependency?

No. Just set a normal project dependency on org.netbeans.api.visual (spec no.: 2.0) module.

Read more about the implementation in the answers to architecture questions.

Visual Library API
Package
Description
This package contains ActionFactory class which is factory of all built-in widget-actions provided by the library.
This package contains Anchor interface which is used by ConnectionWidget for defining its source and target point.
This package contains SceneAnimator classes which is used for controlling animations on a scene.
This package contains Border interface which is used for supplying a border graphics for a widget.
This package contains the class necessary to export a Scene to an image file and get the coordinates from the exported image to create an HTML image map
This package contains built-in graph-oriented models.
This package contains built-in graph-oriented layout algorithms.
This package contains LookFeel class with style definition for colors and borders.
This package contains Layout interface which defines a widget-layout.
This package contains ObjectScene class which is a scene with ability to register model-objects with widgets on the scene.
This package contains a single class ScenePrinter used to print a Scene according to various constraints.
This package contains Router interface which defines a router for ConnectionWidget.
This package contains a VMD visualization style.
This package contains Widget class.
This package contains general high-level widgets.