Package | Description |
---|---|
org.netbeans.api.visual.action |
This package contains
ActionFactory class which is factory of all built-in widget-actions provided by the library. |
org.netbeans.api.visual.animator |
This package contains
SceneAnimator classes which is used for controlling animations on a scene. |
org.netbeans.api.visual.border |
This package contains
Border interface which is used for supplying a border graphics for a widget. |
org.netbeans.api.visual.export |
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 |
org.netbeans.api.visual.graph |
This package contains built-in graph-oriented models.
|
org.netbeans.api.visual.layout |
This package contains
Layout interface which defines a widget-layout. |
org.netbeans.api.visual.model |
This package contains
ObjectScene class which is a scene with ability to register model-objects with widgets on the scene. |
org.netbeans.api.visual.print |
This package contains a single class
ScenePrinter used to print
a Scene according to various constraints. |
org.netbeans.api.visual.vmd |
This package contains a VMD visualization style.
|
org.netbeans.api.visual.widget |
This package contains
Widget class. |
org.netbeans.api.visual.widget.general |
This package contains general high-level widgets.
|
Modifier and Type | Method and Description |
---|---|
ConnectionWidget |
ConnectDecorator.createConnectionWidget(Scene scene)
Creates a connection widget that is temporarily used for visualization of a connection while user is dragging (creating) it.
|
static RectangularSelectDecorator |
ActionFactory.createDefaultRectangularSelectDecorator(Scene scene)
Creates a default rectangular select decorator.
|
ConnectionWidget |
AlignWithMoveDecorator.createLineWidget(Scene scene)
Creates a connection widget that will be used as a alignment lines for align-with effect.
|
boolean |
ReconnectProvider.hasCustomReplacementWidgetResolver(Scene scene)
Called to check whether the provider has a custom replacement widget resolver.
|
boolean |
ConnectProvider.hasCustomTargetWidgetResolver(Scene scene)
Called to check whether the provider has a custom target widget resolver.
|
Widget |
ReconnectProvider.resolveReplacementWidget(Scene scene,
Point sceneLocation)
Called to find the replacement widget of a possible connection.
|
Widget |
ConnectProvider.resolveTargetWidget(Scene scene,
Point sceneLocation)
Called to find the target widget of a possible connection.
|
Modifier and Type | Method and Description |
---|---|
Scene |
SceneAnimator.getScene()
Returns an assigned scene.
|
protected Scene |
Animator.getScene()
Returns a scene that is related to the scene animator.
|
Constructor and Description |
---|
SceneAnimator(Scene scene)
Creates a scene animator.
|
Modifier and Type | Method and Description |
---|---|
static Border |
BorderFactory.createSwingBorder(Scene scene,
Border border)
Creates a layout from a Swing border.
|
Modifier and Type | Method and Description |
---|---|
static BufferedImage |
SceneExporter.createImage(Scene scene,
File file,
SceneExporter.ImageType imageType,
SceneExporter.ZoomType zoomType,
boolean visibleAreaOnly,
boolean selectedOnly,
int quality,
int width,
int height)
Takes the Scene and writes an image file according to the constraints
defined by the caller.
|
static ArrayList<WidgetPolygonalCoordinates> |
SceneExporter.createImageMap(Scene scene,
File file,
SceneExporter.ImageType imageType,
SceneExporter.ZoomType zoomType,
boolean visibleAreaOnly,
boolean selectedOnly,
int quality,
int width,
int height,
int margin)
Designed to create an HTML image map from an exported image.
|
Modifier and Type | Class and Description |
---|---|
class |
GraphPinScene<N,E,P>
This class holds and manages graph-oriented model.
|
static class |
GraphPinScene.StringGraph
This class is a particular GraphPinScene where nodes, edges and pins are represented with String class.
|
class |
GraphScene<N,E>
This class holds and manages graph-oriented model.
|
static class |
GraphScene.StringGraph
This class is a particular GraphScene where nodes and edges are represented with String class.
|
Constructor and Description |
---|
SceneLayout(Scene scene)
Creates a scene layout that is related to a specific scene.
|
Modifier and Type | Class and Description |
---|---|
class |
ObjectScene
This class manages mapping between model-objects and widgets on a scene.
|
Modifier and Type | Method and Description |
---|---|
static void |
ScenePrinter.print(Scene scene)
Print the scene exactly as it is.
|
static void |
ScenePrinter.print(Scene scene,
double scaleX,
double scaleY)
Print the Scene with specific scaling percentages for the horizontal and
vertical direction.
|
static void |
ScenePrinter.print(Scene scene,
PageFormat format)
Print the Scene with provided PageFormat.
|
static void |
ScenePrinter.print(Scene scene,
PageFormat format,
Rectangle region)
Print a specific section of the Scene according to the provided Format.
|
static void |
ScenePrinter.print(Scene scene,
PageFormat format,
ScenePrinter.ScaleStrategy scaleStrategy)
Print the Scene with the provided format and scale type.
|
static void |
ScenePrinter.print(Scene scene,
PageFormat format,
ScenePrinter.ScaleStrategy scaleStrategy,
double scaleX,
double scaleY,
boolean selectedOnly,
boolean visibleOnly,
Rectangle region,
List<LayerWidget> hiddenLayers)
This is the master print call.
|
static void |
ScenePrinter.print(Scene scene,
ScenePrinter.ScaleStrategy scaleStrategy)
Print the Scene with the default PageFormat and the provided scale type.
|
Modifier and Type | Class and Description |
---|---|
class |
VMDGraphScene
This class represents a GraphPinScene for the VMD visualization style.
|
Constructor and Description |
---|
VMDConnectionWidget(Scene scene,
Router router)
Creates a connection widget with a specific router.
|
VMDConnectionWidget(Scene scene,
VMDColorScheme scheme)
Creates a connection widget with a specific color scheme.
|
VMDGlyphSetWidget(Scene scene)
Creates a glyph set widget.
|
VMDNodeWidget(Scene scene)
Creates a node widget.
|
VMDNodeWidget(Scene scene,
VMDColorScheme scheme)
Creates a node widget with a specific color scheme.
|
VMDPinWidget(Scene scene)
Creates a pin widget.
|
VMDPinWidget(Scene scene,
VMDColorScheme scheme)
Creates a pin widget with a specific color scheme.
|
Modifier and Type | Method and Description |
---|---|
Scene |
Widget.getScene()
Returns a scene where the widget is assigned
|
Constructor and Description |
---|
ComponentWidget(Scene scene,
Component component)
Creates a component widget.
|
ConnectionWidget(Scene scene)
Creates a connection widget.
|
ConvolveWidget(Scene scene,
ConvolveOp convolveOp)
Creates a convolve widget with a specified ColvolveOp.
|
FreeConnectionWidget(Scene scene)
Creates a free connection widget.
|
FreeConnectionWidget(Scene scene,
double createSensitivity,
double deleteSensitivity)
Creates a free connection widget with a specified create/delete sensitivity.
|
ImageWidget(Scene scene)
Creates an image widget.
|
ImageWidget(Scene scene,
Image image)
Creates an image widget.
|
LabelWidget(Scene scene)
Creates a label widget.
|
LabelWidget(Scene scene,
String label)
Creates a label widget with a label.
|
LayerWidget(Scene scene)
Creates a layer widget.
|
LevelOfDetailsWidget(Scene scene,
double hardMinimalZoom,
double softMinimalZoom,
double softMaximalZoom,
double hardMaximalZoom)
Creates a level-of-details widget.
|
ScrollWidget(Scene scene)
Creates a scroll widget.
|
ScrollWidget(Scene scene,
Widget view)
Creates a scroll widget.
|
SeparatorWidget(Scene scene,
SeparatorWidget.Orientation orientation)
Creates a separator widget.
|
SwingScrollWidget(Scene scene)
Creates a scroll widget.
|
SwingScrollWidget(Scene scene,
Widget view)
Creates a scroll widget.
|
Widget(Scene scene)
Creates a new widget which will be used in a specified scene.
|
Constructor and Description |
---|
IconNodeWidget(Scene scene)
Creates an icon node widget with bottom-center orientation.
|
IconNodeWidget(Scene scene,
IconNodeWidget.TextOrientation orientation)
Creates an icon node widget with a specified orientation.
|
ListItemWidget(Scene scene)
Deprecated.
Creates a list item widget.
|
ListWidget(Scene scene)
Deprecated.
Creates a list widget.
|