Uses of Class
org.netbeans.api.visual.model.ObjectState
Packages that use ObjectState
Package
Description
This package contains
LookFeel
class with style definition for colors and borders.
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 ObjectState in org.netbeans.api.visual.laf
Methods in org.netbeans.api.visual.laf with parameters of type ObjectStateModifier and TypeMethodDescriptionabstract Paint
LookFeel.getBackground
(ObjectState state) Returns a background for a specific state.abstract Border
LookFeel.getBorder
(ObjectState state) Returns a border for a specific state.abstract Color
LookFeel.getForeground
(ObjectState state) Returns a foreground for a specific state.abstract Color
LookFeel.getLineColor
(ObjectState state) Returns a line color for a specific state.abstract Border
LookFeel.getMiniBorder
(ObjectState state) Returns a minimalistic version of border for a specific state.abstract boolean
LookFeel.getOpaque
(ObjectState state) Returns a opacity value for a specific state. -
Uses of ObjectState in org.netbeans.api.visual.model
Methods in org.netbeans.api.visual.model that return ObjectStateModifier and TypeMethodDescriptionstatic ObjectState
ObjectState.createNormal()
Creates a normal (initial/default) state.ObjectState.deriveHighlighted
(boolean highlighted) Creates a state derived from this one where the highlighted flag will be set according to the parameter.ObjectState.deriveObjectFocused
(boolean focused) Creates a state derived from this one where the object-focused flag will be set according to the parameter.ObjectState.deriveObjectHovered
(boolean hovered) Creates a state derived from this one where the object-hovered flag will be set according to the parameter.ObjectState.deriveSelected
(boolean selected) Creates a state derived from this one where the selected flag will be set according to the parameter.ObjectState.deriveWidgetAimed
(boolean aimed) Creates a state derived from this one where the aimed flag will be set according to the parameter.ObjectState.deriveWidgetFocused
(boolean focused) Creates a state derived from this one where the widget-focused flag will be set according to the parameter.ObjectState.deriveWidgetHovered
(boolean hovered) Creates a state derived from this one where the widget-hovered flag will be set according to the parameter.protected ObjectState
ObjectScene.findObjectState
(Object o) Finds the state for the given object.final ObjectState
ObjectScene.getObjectState
(Object object) Returns an object-state of a specified object.Methods in org.netbeans.api.visual.model with parameters of type ObjectStateModifier and TypeMethodDescriptionvoid
ObjectSceneListener.objectStateChanged
(ObjectSceneEvent event, Object changedObject, ObjectState previousState, ObjectState newState) Called to notify that the object state of an object is changed. -
Uses of ObjectState in org.netbeans.api.visual.vmd
Methods in org.netbeans.api.visual.vmd with parameters of type ObjectStateModifier and TypeMethodDescriptionvoid
VMDConnectionWidget.notifyStateChanged
(ObjectState previousState, ObjectState state) Implements the widget-state specific look of the widget.protected void
VMDNodeWidget.notifyStateChanged
(ObjectState previousState, ObjectState state) Called to notify about the change of the widget state.protected void
VMDPinWidget.notifyStateChanged
(ObjectState previousState, ObjectState state) Called to notify about the change of the widget state.abstract void
VMDColorScheme.updateUI
(VMDConnectionWidget widget, ObjectState previousState, ObjectState state) Called to update UI of a connection widget.abstract void
VMDColorScheme.updateUI
(VMDNodeWidget widget, ObjectState previousState, ObjectState state) Called to update UI of a node widget.abstract void
VMDColorScheme.updateUI
(VMDPinWidget widget, ObjectState previousState, ObjectState state) Called to update UI of a pin widget. -
Uses of ObjectState in org.netbeans.api.visual.widget
Methods in org.netbeans.api.visual.widget that return ObjectStateModifier and TypeMethodDescriptionfinal ObjectState
Widget.getState()
Returns a state of the widget.Methods in org.netbeans.api.visual.widget with parameters of type ObjectStateModifier and TypeMethodDescriptionvoid
ConnectionWidget.notifyStateChanged
(ObjectState previousState, ObjectState state) Implements the widget-state specific look of the widget.protected void
Widget.notifyStateChanged
(ObjectState previousState, ObjectState state) Called to notify about the change of the widget state.final void
Widget.setState
(ObjectState state) Sets a state of the widget. -
Uses of ObjectState in org.netbeans.api.visual.widget.general
Methods in org.netbeans.api.visual.widget.general with parameters of type ObjectStateModifier and TypeMethodDescriptionvoid
IconNodeWidget.notifyStateChanged
(ObjectState previousState, ObjectState state) Implements the widget-state specific look of the widget.void
ListItemWidget.notifyStateChanged
(ObjectState previousState, ObjectState state) Deprecated.Implements the widget-state specific look of the widget.void
ListWidget.notifyStateChanged
(ObjectState previousState, ObjectState state) Deprecated.Implements the widget-state specific look of the widget.