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
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.netbeans.api.visual.anchor.Anchor
     
     
    Returns a pin name.
    org.netbeans.api.visual.widget.Widget
    Returns a pin name widget.
     
    boolean
    isHitAt(Point localLocation)
     
    protected void
     
    protected void
     
    protected void
     
    protected void
     
    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.
    void
     
    void
     

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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:
      notifyStateChanged in class org.netbeans.api.visual.widget.Widget
      Parameters:
      previousState - the previous state
      state - the new state
    • notifyAdded

      protected void notifyAdded()
      Overrides:
      notifyAdded in class org.netbeans.api.visual.widget.Widget
    • notifyRemoved

      protected void notifyRemoved()
      Overrides:
      notifyRemoved in class org.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

      public String getName()
      Returns a pin name.
      Returns:
      the pin name
    • setSchemeColors

      public void setSchemeColors(LAFScheme.Colors colors)
    • getSchemeColors

      public LAFScheme.Colors getSchemeColors()
    • setAlignment

      public void setAlignment(Alignment alignment)
    • getAlignment

      public Alignment getAlignment()
    • createAnchor

      public org.netbeans.api.visual.anchor.Anchor createAnchor()
    • isHitAt

      public boolean isHitAt(Point localLocation)
      Overrides:
      isHitAt in class org.netbeans.api.visual.widget.Widget
    • notifyEdgeAttached

      protected void notifyEdgeAttached()
    • notifyEdgeDetached

      protected void notifyEdgeDetached()