Class PinWidget
java.lang.Object
org.netbeans.api.visual.widget.Widget
org.praxislive.ide.pxr.graph.scene.PinWidget
- All Implemented Interfaces:
Accessible,org.openide.util.Lookup.Provider
public class PinWidget
extends org.netbeans.api.visual.widget.Widget
A pin widget within a
PraxisGraphScene.-
Nested Class Summary
Nested classes/interfaces inherited from class org.netbeans.api.visual.widget.Widget
org.netbeans.api.visual.widget.Widget.Dependency -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionorg.netbeans.api.visual.anchor.AnchorgetName()Returns a pin name.org.netbeans.api.visual.widget.WidgetReturns a pin name widget.booleanprotected voidprotected voidprotected voidprotected voidprotected voidnotifyStateChanged(org.netbeans.api.visual.model.ObjectState previousState, org.netbeans.api.visual.model.ObjectState state) Called to notify about the change of the widget state.voidsetAlignment(Alignment alignment) voidsetSchemeColors(LAFScheme.Colors colors) Methods inherited from class org.netbeans.api.visual.widget.Widget
addChild, addChild, addChild, addChild, addChildren, addDependency, bringToBack, bringToFront, calculateClientArea, convertLocalToScene, convertLocalToScene, convertSceneToLocal, convertSceneToLocal, createActions, equals, getAccessibleContext, getActions, getActions, getBackground, getBorder, getBounds, getChildConstraint, getChildren, getClientArea, getCursor, getCursorAt, getDependencies, getFont, getForeground, getGraphics, getLayout, getLocation, getLookup, getMaximumSize, getMinimumSize, getParentWidget, getPreferredBounds, getPreferredLocation, getPreferredSize, getResourceTable, getScene, getState, getToolTipText, hashCode, isCheckClipping, isEnabled, isOpaque, isPreferredBoundsSet, isRepaintRequiredForRevalidating, isValidated, isVisible, notifyBackgroundChanged, notifyFontChanged, notifyForegroundChanged, paint, paintBackground, paintBorder, paintChildren, paintWidget, removeChild, removeChildren, removeChildren, removeDependency, removeFromParent, repaint, resolveBounds, revalidate, revalidate, setAccessibleContext, setBackground, setBackgroundFromResource, setBorder, setBorder, setCheckClipping, setChildConstraint, setCursor, setEnabled, setFont, setFontFromResource, setForeground, setForegroundFromResource, setLayout, setMaximumSize, setMinimumSize, setOpaque, setPreferredBounds, setPreferredLocation, setPreferredSize, setResourceTable, setState, setToolTipText, setVisible, updateResources
-
Field Details
-
DEFAULT_CATEGORY
- See Also:
-
-
Method Details
-
notifyStateChanged
protected void notifyStateChanged(org.netbeans.api.visual.model.ObjectState previousState, org.netbeans.api.visual.model.ObjectState state) Called to notify about the change of the widget state.- Overrides:
notifyStateChangedin classorg.netbeans.api.visual.widget.Widget- Parameters:
previousState- the previous statestate- the new state
-
notifyAdded
protected void notifyAdded()- Overrides:
notifyAddedin classorg.netbeans.api.visual.widget.Widget
-
notifyRemoved
protected void notifyRemoved()- Overrides:
notifyRemovedin classorg.netbeans.api.visual.widget.Widget
-
getPinNameWidget
public org.netbeans.api.visual.widget.Widget getPinNameWidget()Returns a pin name widget.- Returns:
- the pin name widget
-
getName
Returns a pin name.- Returns:
- the pin name
-
setSchemeColors
-
getSchemeColors
-
setAlignment
-
getAlignment
-
createAnchor
public org.netbeans.api.visual.anchor.Anchor createAnchor() -
isHitAt
- Overrides:
isHitAtin classorg.netbeans.api.visual.widget.Widget
-
notifyEdgeAttached
protected void notifyEdgeAttached() -
notifyEdgeDetached
protected void notifyEdgeDetached()
-