org.netbeans.api.visual.widget |
This package contains Widget class. Widget is a small reusable piece of a scene. This defines appearance.
Widgets can also has widget-actions assigned. This defines behaviour.
The package contains a set of low-level widgets. E.g.:
Widget - base/abstract widget - similar to JComponent in Swing
Scene - widget which represents and holds whole scene - similar to JFrame in Swing
LayerWidget - special transparent widget used for overlays - similar JGlassPane in Swing
ConnectionWidget - specific widget which represents path defined by control-points
LabelWidget - widget with a single-line text - similar to simple version of JLabel in Swing
ImageWidget - widget with an image - similar to simple version of JLabel in Swing
ScrollWidget - widget with scrollable viewport - similar to simple version of JScrollPane in Swing
SwingScrollWidget - widget with scroolable viewport which is using JScrollBars
ComponentWidget - widget used for integration of Swing component into a scene
|
Java Source File Name | Type | Comment |
BirdViewController.java | Class | This class controls a bird view created for a specific scene. |
ComponentWidget.java | Class | This widget allows to use an AWT/Swing component in the scene. |
ConnectionWidget.java | Class | This class represents a connection between two location. |
ConvolveWidget.java | Class | The widget which applies a convolve filter to a graphics rendered by the children.
Children are painted to an offscreen buffer which is later painted with a convolve filter applied to it.
Because of the offscreen buffer, be careful about the size of the widget. |
EventProcessingType.java | enum | The enum represents allowed types of event processing the is used to process the Swing event coming from a view component
and that should be delegated to widgets on the scene. |
FreeConnectionWidget.java | Class | This class is an extension of the ConnectionWidget. |
ImageWidget.java | Class | A widget representing image. |
LabelWidget.java | Class | A widget representing a text. |
LayerWidget.java | Class | The layer widget represents a transparent widget which functionality is similar to JGlassPane.
The layer widget is used for speed optimalization too since it is not repainted when the widget is re-layout.
It can be used widgets organization. |
LevelOfDetailsWidget.java | Class | This is a widget with a level-of-details feature. |
Scene.java | Class | The scene is a widget which also controls and represents whole rendered area.
After all changes in a scene is done, the validate method have to be called for validating changed
and calculating new locations and boundaries of all modified widgets.
The scene allows to create a view JComponent which can be used anywhere in Swing based application. |
SceneComponent.java | Class | |
ScrollWidget.java | Class | This a scroll widget similar to JScrollPane. |
SeparatorWidget.java | Class | This is a separator widget. |
SwingScrollWidget.java | Class | This is a scroll widget similar to JScrollPane. |
Widget.java | Class | A scene is a tree of small building blocks called widgets and represented by this class.
Each widget has a origin location specified relatively to the location its parent widget
and placement is specified be its boundary.
The widget is also responsible for rendering the region. |