Uses of Class
org.netbeans.api.visual.widget.Widget
Packages that use Widget
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
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 VMD visualization style.
This package contains
Widget
class.
This package contains general high-level widgets.
-
Uses of Widget in org.netbeans.api.visual.action
Methods in org.netbeans.api.visual.action that return WidgetModifier and TypeMethodDescriptionRectangularSelectDecorator.createSelectionWidget()
Creates a widget which will be resized and placed into a scene and will represent the rectangular selection.ContiguousSelectEvent.getChoosenWidget()
Returns a choosen widget.abstract Widget
WidgetAction.State.getLockedWidget()
Returns whether (and by which widget) the next event has to be processed prior to regular processing.ContiguousSelectEvent.getPreviouslyChoosenWidget()
Returns a previously choosen widget.ReconnectProvider.resolveReplacementWidget
(Scene scene, Point sceneLocation) Called to find the replacement widget of a possible connection.ConnectProvider.resolveTargetWidget
(Scene scene, Point sceneLocation) Called to find the target widget of a possible connection.Methods in org.netbeans.api.visual.action with parameters of type WidgetModifier and TypeMethodDescriptionvoid
AcceptProvider.accept
(Widget widget, Point point, Transferable transferable) Handles the drop of a transferable.ResizeStrategy.boundsSuggested
(Widget widget, Rectangle originalBounds, Rectangle suggestedBounds, ResizeProvider.ControlPoint controlPoint) Called after an user suggests a new boundary and before the suggested boundary is stored to a specified widget.static ContiguousSelectEvent
ContiguousSelectEvent.create
(Widget previousWidget, Point previousLocalLocation, Widget choosenWidget, Point choosenLocalLocation, ContiguousSelectEvent.SelectionType selectionType) Creates an event.void
ConnectProvider.createConnection
(Widget sourceWidget, Widget targetWidget) Called for creating a new connection between a specified source and target widget.InplaceEditorProvider.createEditorComponent
(InplaceEditorProvider.EditorController controller, Widget widget) Creates an in-place editor component for a specified widget.static WidgetAction
ActionFactory.createForwardKeyEventsAction
(Widget forwardToWidget, String forwardToTool) This action is used for forwarding key events to another widget.static WidgetAction.State
WidgetAction.State.createLocked
(Widget lockedWidget, WidgetAction lockedAction) Creates a state that means: The event is processed and the processing has to stopped immediately (no other action should processed it).ReconnectDecorator.createReplacementWidgetAnchor
(Widget replacementWidget) Creates an anchor for a specified replacement widget (of a connection source or target which is going to be reconnected).ConnectDecorator.createSourceAnchor
(Widget sourceWidget) Creates a source anchor for a specified source widget.static WidgetAction
ActionFactory.createSwitchCardAction
(Widget cardLayoutWidget) Creates a switch card action with controls an active card of a widget where a card layout is used.ConnectDecorator.createTargetAnchor
(Widget targetWidget) Creates a target anchor for a specified target widget.WidgetAction.Adapter.dragEnter
(Widget widget, WidgetAction.WidgetDropTargetDragEvent event) Called for handling a dragEnter event.WidgetAction.Chain.dragEnter
(Widget widget, WidgetAction.WidgetDropTargetDragEvent event) Called for handling a dragEnter event.WidgetAction.dragEnter
(Widget widget, WidgetAction.WidgetDropTargetDragEvent event) Called for handling a dragEnter event.WidgetAction.LockedAdapter.dragEnter
(Widget widget, WidgetAction.WidgetDropTargetDragEvent event) Called for handling a dragEnter event.WidgetAction.Adapter.dragExit
(Widget widget, WidgetAction.WidgetDropTargetEvent event) Called for handling a dragExit event.WidgetAction.Chain.dragExit
(Widget widget, WidgetAction.WidgetDropTargetEvent event) Called for handling a dragExit event.WidgetAction.dragExit
(Widget widget, WidgetAction.WidgetDropTargetEvent event) Called for handling a dragExit event.WidgetAction.LockedAdapter.dragExit
(Widget widget, WidgetAction.WidgetDropTargetEvent event) Called for handling a dragExit event.WidgetAction.Adapter.dragOver
(Widget widget, WidgetAction.WidgetDropTargetDragEvent event) Called for handling a dragOver event.WidgetAction.Chain.dragOver
(Widget widget, WidgetAction.WidgetDropTargetDragEvent event) Called for handling a dragOver event.WidgetAction.dragOver
(Widget widget, WidgetAction.WidgetDropTargetDragEvent event) Called for handling a dragOver event.WidgetAction.LockedAdapter.dragOver
(Widget widget, WidgetAction.WidgetDropTargetDragEvent event) Called for handling a dragOver event.WidgetAction.Adapter.drop
(Widget widget, WidgetAction.WidgetDropTargetDropEvent event) Called for handling a drop event.WidgetAction.Chain.drop
(Widget widget, WidgetAction.WidgetDropTargetDropEvent event) Called for handling a drop event.WidgetAction.drop
(Widget widget, WidgetAction.WidgetDropTargetDropEvent event) Called for handling a drop event.WidgetAction.LockedAdapter.drop
(Widget widget, WidgetAction.WidgetDropTargetDropEvent event) Called for handling a drop event.WidgetAction.Adapter.dropActionChanged
(Widget widget, WidgetAction.WidgetDropTargetDragEvent event) Called for handling a dropActionChanged event.WidgetAction.Chain.dropActionChanged
(Widget widget, WidgetAction.WidgetDropTargetDragEvent event) Called for handling a dropActionChanged event.WidgetAction.dropActionChanged
(Widget widget, WidgetAction.WidgetDropTargetDragEvent event) Called for handling a dropActionChanged event.WidgetAction.LockedAdapter.dropActionChanged
(Widget widget, WidgetAction.WidgetDropTargetDragEvent event) Called for handling a dropActionChanged event.void
Called when an editing is invoked by an user on a specified widget.WidgetAction.Adapter.focusGained
(Widget widget, WidgetAction.WidgetFocusEvent event) Called for handling a focusGained event.WidgetAction.Chain.focusGained
(Widget widget, WidgetAction.WidgetFocusEvent event) Called for handling a focusGained event.WidgetAction.focusGained
(Widget widget, WidgetAction.WidgetFocusEvent event) Called for handling a focusGained event.WidgetAction.LockedAdapter.focusGained
(Widget widget, WidgetAction.WidgetFocusEvent event) Called for handling a focusGained event.WidgetAction.Adapter.focusLost
(Widget widget, WidgetAction.WidgetFocusEvent event) Called for handling a focusLost event.WidgetAction.Chain.focusLost
(Widget widget, WidgetAction.WidgetFocusEvent event) Called for handling a focusLost event.WidgetAction.focusLost
(Widget widget, WidgetAction.WidgetFocusEvent event) Called for handling a focusLost event.WidgetAction.LockedAdapter.focusLost
(Widget widget, WidgetAction.WidgetFocusEvent event) Called for handling a focusLost event.InplaceEditorProvider.getExpansionDirections
(InplaceEditorProvider.EditorController controller, Widget widget, C editor) Called to obtain directions where an editor component can expand to.InplaceEditorProvider.getInitialEditorComponentBounds
(InplaceEditorProvider.EditorController controller, Widget widget, C editor, Rectangle viewBounds) Called to obtain the initial boundary editor component in view coordination system.MoveProvider.getOriginalLocation
(Widget widget) Called to acquire a origin location against which the movement will be calculated.PopupMenuProvider.getPopupMenu
(Widget widget, Point localLocation) Get a JPopupMenu to display in the context of the given Widget.AlignWithWidgetCollector.getRegions
(Widget movingWidget) Returns a collection of regions (in scene coordination system) for a specified moving widget.Returns an initial text of the in-place editor.AcceptProvider.isAcceptable
(Widget widget, Point point, Transferable transferable) Checks whether a transferable can be dropped on a widget at a specific point.boolean
SelectProvider.isAimingAllowed
(Widget widget, Point localLocation, boolean invertSelection) Called to check whether aiming is allowedboolean
Returns whether the in-place editing is allowed.ReconnectProvider.isReplacementWidget
(ConnectionWidget connectionWidget, Widget replacementWidget, boolean reconnectingSource) Called to check for possible replacement of a connection source/target.boolean
SelectProvider.isSelectionAllowed
(Widget widget, Point localLocation, boolean invertSelection) Called to check whether the selection is allowed.boolean
ConnectProvider.isSourceWidget
(Widget sourceWidget) Called for checking whether a specified source widget is a possible source of a connection.ConnectProvider.isTargetWidget
(Widget sourceWidget, Widget targetWidget) Called for checking whether a connection could be created between a specified source and target widget.WidgetAction.Adapter.keyPressed
(Widget widget, WidgetAction.WidgetKeyEvent event) Called for handling a keyPressed event.WidgetAction.Chain.keyPressed
(Widget widget, WidgetAction.WidgetKeyEvent event) Called for handling a keyPressed event.WidgetAction.keyPressed
(Widget widget, WidgetAction.WidgetKeyEvent event) Called for handling a keyPressed event.WidgetAction.LockedAdapter.keyPressed
(Widget widget, WidgetAction.WidgetKeyEvent event) Called for handling a keyPressed event.WidgetAction.Adapter.keyReleased
(Widget widget, WidgetAction.WidgetKeyEvent event) Called for handling a keyReleased event.WidgetAction.Chain.keyReleased
(Widget widget, WidgetAction.WidgetKeyEvent event) Called for handling a keyReleased event.WidgetAction.keyReleased
(Widget widget, WidgetAction.WidgetKeyEvent event) Called for handling a keyReleased event.WidgetAction.LockedAdapter.keyReleased
(Widget widget, WidgetAction.WidgetKeyEvent event) Called for handling a keyReleased event.WidgetAction.Adapter.keyTyped
(Widget widget, WidgetAction.WidgetKeyEvent event) Called for handling a keyTyped event.WidgetAction.Chain.keyTyped
(Widget widget, WidgetAction.WidgetKeyEvent event) Called for handling a keyTyped event.WidgetAction.keyTyped
(Widget widget, WidgetAction.WidgetKeyEvent event) Called for handling a keyTyped event.WidgetAction.LockedAdapter.keyTyped
(Widget widget, WidgetAction.WidgetKeyEvent event) Called for handling a keyTyped event.MoveStrategy.locationSuggested
(Widget widget, Point originalLocation, Point suggestedLocation) Called after an user suggests a new location and before the suggested location is stored to a specified widget.WidgetAction.Adapter.mouseClicked
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseClicked event.WidgetAction.Chain.mouseClicked
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseClicked event.WidgetAction.LockedAdapter.mouseClicked
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseClicked event.WidgetAction.mouseClicked
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseClicked event.WidgetAction.Adapter.mouseDragged
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseDragged event.WidgetAction.Chain.mouseDragged
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseMoved event.WidgetAction.LockedAdapter.mouseDragged
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseDragged event.WidgetAction.mouseDragged
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseDragged event.WidgetAction.Adapter.mouseEntered
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseEntered event.WidgetAction.Chain.mouseEntered
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseEntered event.WidgetAction.LockedAdapter.mouseEntered
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseEntered event.WidgetAction.mouseEntered
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseEntered event.WidgetAction.Adapter.mouseExited
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseExited event.WidgetAction.Chain.mouseExited
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseExited event.WidgetAction.LockedAdapter.mouseExited
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseExited event.WidgetAction.mouseExited
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseExited event.WidgetAction.Adapter.mouseMoved
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseMoved event.WidgetAction.Chain.mouseMoved
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseWheelMoved event.WidgetAction.LockedAdapter.mouseMoved
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseMoved event.WidgetAction.mouseMoved
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseMoved event.WidgetAction.Adapter.mousePressed
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mousePressed event.WidgetAction.Chain.mousePressed
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mousePressed event.WidgetAction.LockedAdapter.mousePressed
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mousePressed event.WidgetAction.mousePressed
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mousePressed event.WidgetAction.Adapter.mouseReleased
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseReleased event.WidgetAction.Chain.mouseReleased
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseReleased event.WidgetAction.LockedAdapter.mouseReleased
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseReleased event.WidgetAction.mouseReleased
(Widget widget, WidgetAction.WidgetMouseEvent event) Called for handling a mouseReleased event.WidgetAction.Adapter.mouseWheelMoved
(Widget widget, WidgetAction.WidgetMouseWheelEvent event) Called for handling a mouseWheelMoved event.WidgetAction.Chain.mouseWheelMoved
(Widget widget, WidgetAction.WidgetMouseWheelEvent event) Called for handling a keyTyped event.WidgetAction.LockedAdapter.mouseWheelMoved
(Widget widget, WidgetAction.WidgetMouseWheelEvent event) Called for handling a mouseWheelMoved event.WidgetAction.mouseWheelMoved
(Widget widget, WidgetAction.WidgetMouseWheelEvent event) Called for handling a mouseWheelMoved event.void
MoveProvider.movementFinished
(Widget widget) Called to notify about the end of movement of a specified widget.void
MoveProvider.movementStarted
(Widget widget) Called to nofity about the start of movement of a specified widget.void
InplaceEditorProvider.notifyClosing
(InplaceEditorProvider.EditorController controller, Widget widget, C editor, boolean commit) Called to notify about closing an in-place editor.void
InplaceEditorProvider.notifyOpened
(InplaceEditorProvider.EditorController controller, Widget widget, C editor) Called to notify about opening an in-place editor.boolean
InplaceEditorProvider.EditorController.openEditor
(Widget widget) Opens an in-place editor on a specified widget.void
ReconnectProvider.reconnect
(ConnectionWidget connectionWidget, Widget replacementWidget, boolean reconnectingSource) Called for replacing a source/target with a new one.void
ResizeProvider.resizingFinished
(Widget widget) Called to notify about the finish of resizing.void
ResizeProvider.resizingStarted
(Widget widget) Called to notify about the start of resizing.ResizeControlPointResolver.resolveControlPoint
(Widget widget, Point point) Resolves which control point is being dragged by user.void
Called to perform the selection.void
TwoStateHoverProvider.setHovering
(Widget widget) Called when a hovering is going to be set to a widget.void
MoveProvider.setNewLocation
(Widget widget, Point location) Called to set a new location of a moved widget.void
Sets a new text approved by an user.boolean
CycleFocusProvider.switchNextFocus
(Widget widget) Switches a focus to the next widget/object on a scene.boolean
CycleFocusProvider.switchPreviousFocus
(Widget widget) Switches a focus to the previous widget/object on a scene.void
TwoStateHoverProvider.unsetHovering
(Widget widget) Called when a hovering is going to be unset from a widget.void
HoverProvider.widgetHovered
(Widget widget) Called to notify that a specified widget is hovered. -
Uses of Widget in org.netbeans.api.visual.anchor
Methods in org.netbeans.api.visual.anchor that return WidgetMethods in org.netbeans.api.visual.anchor with parameters of type WidgetModifier and TypeMethodDescriptionstatic AnchorShape
AnchorShapeFactory.createAdjustableAnchorShape
(AnchorShape shape, ConnectionWidget owner, AnchorShapeFactory.ConnectionEnd referencingEnd, Widget attachedWidget) Creates a proxy AnchorShape that is used to adjust the location of an AnchorShape.static Anchor
AnchorFactory.createCenterAnchor
(Widget widget) Creates an anchor with always computes a point in the center of specified widget.static Anchor
AnchorFactory.createCircularAnchor
(Widget widget, int radius) Creates an anchor which computes a point as the one on a circle around specified widget.static Anchor
AnchorFactory.createDirectionalAnchor
(Widget widget, AnchorFactory.DirectionalAnchorKind kind) Creates a directional anchor with computes a point as the one in the middle of the boundary side of specified widget.static Anchor
AnchorFactory.createDirectionalAnchor
(Widget widget, AnchorFactory.DirectionalAnchorKind kind, int gap) Creates a directional anchor with computes a point as the one in the middle of the boundary side of specified widget.static Anchor
AnchorFactory.createFreeRectangularAnchor
(Widget widget, boolean includeBorders) Creates a free rectangular anchor.static Anchor
AnchorFactory.createRectangularAnchor
(Widget widget) Creates an anchor which computes a point as the one on the boundary of spacified widget.static Anchor
AnchorFactory.createRectangularAnchor
(Widget widget, boolean includeBorders) Creates an anchor which computes a point as the one on the boundary of spacified widget.static AnchorShapeLocationResolver
AnchorShapeFactory.createWidgetResolver
(ConnectionWidget owner, AnchorShapeFactory.ConnectionEnd referencingEnd, Widget attachedWidget) Creates a AnchorShapeLocationResolver that uses a widget to resolve the AnchorsShapes location.Constructors in org.netbeans.api.visual.anchor with parameters of type Widget -
Uses of Widget in org.netbeans.api.visual.animator
Methods in org.netbeans.api.visual.animator with parameters of type WidgetModifier and TypeMethodDescriptionvoid
SceneAnimator.animateBackgroundColor
(Widget widget, Color targetBackgroundColor) Starts backgroundColor animation for a specified widget.void
SceneAnimator.animateForegroundColor
(Widget widget, Color targetForegroundColor) Starts foregroundColor animation for a specified widget.void
SceneAnimator.animatePreferredBounds
(Widget widget, Rectangle targetPreferredBounds) Starts preferredBounds animation for a specified widget.void
SceneAnimator.animatePreferredLocation
(Widget widget, Point targetPreferredLocation) Starts preferredLocation animation for a specified widget.boolean
SceneAnimator.isAnimatingBackgroundColor
(Widget widget) Returns whether a backgroundColor animator for a specified widget is running.boolean
SceneAnimator.isAnimatingForegroundColor
(Widget widget) Returns whether a foregroundColor animator for a specified widget is running.boolean
SceneAnimator.isAnimatingPreferredBounds
(Widget widget) Returns whether a preferredBounds animator for a specified widget is running.boolean
SceneAnimator.isAnimatingPreferredLocation
(Widget widget) Returns whether a preferredLocation animator for a specified widget is running. -
Uses of Widget in org.netbeans.api.visual.border
Methods in org.netbeans.api.visual.border with parameters of type WidgetModifier and TypeMethodDescriptionstatic Border
BorderFactory.createBevelBorder
(boolean raised, String property, Widget associated) Creates a bevel border.static Border
BorderFactory.createDashedBorder
(String property, Widget associated, int width, int height) Creates a resize border rendered with dashed stroke.static Border
BorderFactory.createDashedBorder
(String property, Widget associated, int width, int height, boolean squares) Creates a resize border rendered with dashed stroke.static Border
BorderFactory.createLineBorder
(int top, int left, int bottom, int right, String property, Widget associated) Creates a line border with specific insets and color.static Border
BorderFactory.createLineBorder
(int thickness, String property, Widget associated) Creates a line border with specific thickness and color.static Border
BorderFactory.createLineBorder
(String property, Widget associated) Creates a line border with default style.static Border
BorderFactory.createResizeBorder
(int thickness, String property, Widget associated) Creates a resize border.static Border
BorderFactory.createResizeBorder
(int thickness, String property, Widget associated, boolean outer) Creates a resize border.static Border
BorderFactory.createRoundedBorder
(int arcWidth, int arcHeight, int insetWidth, int insetHeight, String fillProperty, String drawProperty, Widget associated) Creates an rounded-rectangle border with a specified style.static Border
BorderFactory.createRoundedBorder
(int arcWidth, int arcHeight, String fillProperty, String drawProperty, Widget associated) Creates an rounded-rectangle border with a specified style. -
Uses of Widget in org.netbeans.api.visual.export
Methods in org.netbeans.api.visual.export that return WidgetModifier and TypeMethodDescriptionWidgetPolygonalCoordinates.getWidget()
Returns the Widget stored in this class.Constructors in org.netbeans.api.visual.export with parameters of type WidgetModifierConstructorDescriptionWidgetPolygonalCoordinates
(Widget widget, Polygon polygon) Creates an instance of a WidgetPolygonalCoordinates object. -
Uses of Widget in org.netbeans.api.visual.graph
Subclasses of Widget in org.netbeans.api.visual.graphModifier and TypeClassDescriptionclass
GraphPinScene<N,
E, P> This class holds and manages graph-oriented model.static class
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
This class is a particular GraphScene where nodes and edges are represented with String class.Methods in org.netbeans.api.visual.graph that return WidgetModifier and TypeMethodDescriptionfinal Widget
Adds an edge.final Widget
Adds an edge.final Widget
Adds a node.final Widget
Adds a node.final Widget
Adds a pin and assigns it to a specified node.protected abstract Widget
GraphPinScene.attachEdgeWidget
(E edge) Called by the addEdge method before the edge is registered to acquire a widget that is going to represent the edge in the scene.protected abstract Widget
GraphScene.attachEdgeWidget
(E edge) Called by the addEdge method before the edge is registered to acquire a widget that is going to represent the edge in the scene.protected abstract Widget
GraphPinScene.attachNodeWidget
(N node) Called by the addNode method before the node is registered to acquire a widget that is going to represent the node in the scene.protected abstract Widget
GraphScene.attachNodeWidget
(N node) Called by the addNode method before the node is registered to acquire a widget that is going to represent the node in the scene.protected abstract Widget
GraphPinScene.attachPinWidget
(N node, P pin) Called by the addPin method before the pin is registered to acquire a widget that is going to represent the pin in the scene.Methods in org.netbeans.api.visual.graph with parameters of type WidgetModifier and TypeMethodDescriptionprotected void
GraphPinScene.detachEdgeWidget
(E edge, Widget widget) Called by the removeEdge method to notify that an edge is removed from the graph model.protected void
GraphScene.detachEdgeWidget
(E edge, Widget widget) Called by the removeEdge method to notify that an edge is removed from the graph model.protected void
GraphPinScene.detachNodeWidget
(N node, Widget widget) Called by the removeNode method to notify that a node is removed from the graph model.protected void
GraphScene.detachNodeWidget
(N node, Widget widget) Called by the removeNode method to notify that a node is removed from the graph model.protected void
GraphPinScene.detachPinWidget
(P pin, Widget widget) Called by the removePin method to notify that a pin is removed from the graph model.protected void
GraphPinScene.notifyEdgeAdded
(E edge, Widget widget) Called by the addEdge method to notify that an edge is added into the graph model.protected void
GraphScene.notifyEdgeAdded
(E edge, Widget widget) Called by the addEdge method to notify that an edge is added into the graph model.protected void
GraphPinScene.notifyNodeAdded
(N node, Widget widget) Called by the addNode method to notify that a node is added into the graph model.protected void
GraphScene.notifyNodeAdded
(N node, Widget widget) Called by the addNode method to notify that a node is added into the graph model.protected void
GraphPinScene.notifyPinAdded
(N node, P pin, Widget widget) Called by the addPin method to notify that a pin is added into the graph model. -
Uses of Widget in org.netbeans.api.visual.layout
Methods in org.netbeans.api.visual.layout that return WidgetModifier and TypeMethodDescriptionstatic Widget
LayoutFactory.getActiveCard
(Widget cardLayoutWidget) Returns active card of a specified widget where a card layout is used.Methods in org.netbeans.api.visual.layout with parameters of type WidgetModifier and TypeMethodDescriptionstatic Layout
LayoutFactory.createCardLayout
(Widget cardLayoutWidget) Creates a card layout where all children widgets except the active one are hidden.static SceneLayout
LayoutFactory.createDevolveWidgetLayout
(Widget widget, Layout devolveLayout, boolean animate) Returns a scene layout which performs one-time layout using specified devolve-layout.static Widget
LayoutFactory.getActiveCard
(Widget cardLayoutWidget) Returns active card of a specified widget where a card layout is used.void
Justify bounds of widget children based on a widget client area.void
Resolve bounds of widget children based in their preferred locations and bounds.boolean
Layout.requiresJustification
(Widget widget) Resolve whether a widget requires justification after whole scene layout.static void
LayoutFactory.setActiveCard
(Widget widget, Widget activeChildWidget) Sets active card of a specified widget where a card layout is used. -
Uses of Widget in org.netbeans.api.visual.model
Subclasses of Widget in org.netbeans.api.visual.modelModifier and TypeClassDescriptionclass
This class manages mapping between model-objects and widgets on a scene.Methods in org.netbeans.api.visual.model that return WidgetModifier and TypeMethodDescriptionfinal Widget
ObjectScene.findWidget
(Object object) Returns the widget that is mapped to a specified object.Methods in org.netbeans.api.visual.model that return types with arguments of type WidgetModifier and TypeMethodDescriptionObjectScene.findWidgets
(Object object) Returns a list of all widgets that are mapped to a specified object.Methods in org.netbeans.api.visual.model with parameters of type Widget -
Uses of Widget in org.netbeans.api.visual.vmd
Subclasses of Widget in org.netbeans.api.visual.vmdModifier and TypeClassDescriptionclass
This class represents a connection widget in the VMD visualization style.class
This widget represents a list of glyphs rendered horizontally one after another.class
This class represents a GraphPinScene for the VMD visualization style.class
This class represents a node widget in the VMD visualization style.class
This class represents a pin widget in the VMD visualization style.Methods in org.netbeans.api.visual.vmd that return WidgetModifier and TypeMethodDescriptionprotected Widget
VMDGraphScene.attachEdgeWidget
(String edge) Implements attaching a widget to an edge.protected Widget
VMDGraphScene.attachNodeWidget
(String node) Implements attaching a widget to a node.protected Widget
VMDGraphScene.attachPinWidget
(String node, String pin) Implements attaching a widget to a pin.abstract Widget
VMDColorScheme.createPinCategoryWidget
(VMDNodeWidget widget, String categoryDisplayName) Called to create a pin-category widget.VMDNodeWidget.getHeader()
Returns a header widget.VMDNodeWidget.getMinimizeButton()
Returns a minimize button widget.VMDPinWidget.getPinNameWidget()
Returns a pin name widget.VMDNodeWidget.getPinsSeparator()
Returns a pins separator.Methods in org.netbeans.api.visual.vmd with parameters of type WidgetModifier and TypeMethodDescriptionvoid
VMDNodeWidget.attachPinWidget
(Widget widget) Attaches a pin widget to the node widget.protected boolean
VMDNodeWidget.isMinimizableWidget
(Widget widget) Called to check whether a particular widget is minimizable.Method parameters in org.netbeans.api.visual.vmd with type arguments of type WidgetModifier and TypeMethodDescriptionvoid
Sorts and assigns pins into categories.Constructors in org.netbeans.api.visual.vmd with parameters of type WidgetModifierConstructorDescriptionVMDNodeAnchor
(Widget widget) Creates a node anchor with vertical direction.VMDNodeAnchor
(Widget widget, boolean vertical) Creates a node anchor.VMDNodeAnchor
(Widget widget, boolean vertical, VMDColorScheme scheme) Creates a node anchor. -
Uses of Widget in org.netbeans.api.visual.widget
Subclasses of Widget in org.netbeans.api.visual.widgetModifier and TypeClassDescriptionclass
This widget allows to use an AWT/Swing component in the scene.class
This class represents a connection between two location.class
The widget which applies a convolve filter to a graphics rendered by the children.class
This class is an extension of the ConnectionWidget.class
A widget representing image.class
A widget representing a text.class
The layer widget represents a transparent widget which functionality is similar to JGlassPane.class
This is a widget with a level-of-details feature.class
The scene is a widget which also controls and represents whole rendered area.class
This a scroll widget similar to JScrollPane.class
This is a separator widget.class
This is a scroll widget similar to JScrollPane.Methods in org.netbeans.api.visual.widget that return WidgetModifier and TypeMethodDescriptionfinal Widget
Scene.getFocusedWidget()
Returns a focused widget of the scene.final Widget
Widget.getParentWidget()
Returns a parent widget.final Widget
ScrollWidget.getView()
Returns an inner widget.final Widget
SwingScrollWidget.getView()
Returns an inner widget.Methods in org.netbeans.api.visual.widget that return types with arguments of type WidgetMethods in org.netbeans.api.visual.widget with parameters of type WidgetModifier and TypeMethodDescriptionfinal void
Adds a child at a specified indexfinal void
Adds a child at a specified indexfinal void
Adds a child widget as the last one.final void
Adds a child widget as the last one.final Object
Widget.getChildConstraint
(Widget child) Returns constraint assigned to a specified child widget.final void
Widget.removeChild
(Widget child) Removes a child widget.void
ConnectionWidget.removeConstraint
(Widget childWidget) Removes a constraint for a child widget.final void
Widget.setChildConstraint
(Widget child, Object constraint) Assigns a constraint to a child widget.void
ConnectionWidget.setConstraint
(Widget childWidget, LayoutFactory.ConnectionWidgetLayoutAlignment alignment, float placementInPercentage) Sets a constraint for a child widget when ConnectionWidgetLayout (by default) is used.void
ConnectionWidget.setConstraint
(Widget childWidget, LayoutFactory.ConnectionWidgetLayoutAlignment alignment, int placementAtDistance) Sets a constraint for a child widget when ConnectionWidgetLayout (by default) is used.final void
Scene.setFocusedWidget
(Widget focusedWidget) Sets a focused widget of the scene.final void
Sets an scrolled widget.final void
Sets an scrolled widget.protected final void
Widget.updateResources
(Widget parent, boolean added) Method parameters in org.netbeans.api.visual.widget with type arguments of type WidgetModifier and TypeMethodDescriptionfinal void
Widget.addChildren
(List<? extends Widget> children) Adds all children in a specified list.final void
Widget.removeChildren
(List<Widget> widgets) Removes all children widget that are in a specified list.Constructors in org.netbeans.api.visual.widget with parameters of type WidgetModifierConstructorDescriptionScrollWidget
(Scene scene, Widget view) Creates a scroll widget.SwingScrollWidget
(Scene scene, Widget view) Creates a scroll widget. -
Uses of Widget in org.netbeans.api.visual.widget.general
Subclasses of Widget in org.netbeans.api.visual.widget.generalModifier and TypeClassDescriptionclass
This class represents a general icon node widget which is rendered as a image and a label placed to the right or bottom from the image.class
Deprecated.class
Deprecated.Methods in org.netbeans.api.visual.widget.general that return Widget