public class GraphTreeWidget extends org.netbeans.api.visual.widget.LabelWidget implements Comparable<GraphTreeWidget>
Constructor and Description |
---|
GraphTreeWidget(org.netbeans.api.visual.widget.Scene scene)
Constructor GraphTreeWidget
|
GraphTreeWidget(org.netbeans.api.visual.widget.Scene scene,
GraphTree entry)
Constructor GraphTreeWidget
|
Modifier and Type | Method and Description |
---|---|
protected Rectangle |
calculateClientArea() |
int |
compareTo(GraphTreeWidget o)
Method compareTo
|
GraphTree |
getEntry()
Method getEntry
|
void |
notifyStateChanged(org.netbeans.api.visual.model.ObjectState oldState,
org.netbeans.api.visual.model.ObjectState newState)
Method notifyStateChanged
|
protected void |
paintWidget() |
void |
setEntry(GraphTree entry)
Method setEntry
|
getAlignment, getLabel, getOrientation, getVerticalAlignment, isPaintAsDisabled, isUseGlyphVector, setAlignment, setLabel, setOrientation, setPaintAsDisabled, setUseGlyphVector, setVerticalAlignment
addChild, addChild, addChild, addChild, addChildren, addDependency, bringToBack, bringToFront, 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, isHitAt, isOpaque, isPreferredBoundsSet, isRepaintRequiredForRevalidating, isValidated, isVisible, notifyAdded, notifyBackgroundChanged, notifyFontChanged, notifyForegroundChanged, notifyRemoved, paint, paintBackground, paintBorder, paintChildren, 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
public GraphTreeWidget(org.netbeans.api.visual.widget.Scene scene)
scene
- public GraphTreeWidget(org.netbeans.api.visual.widget.Scene scene, GraphTree entry)
scene
- entry
- public GraphTree getEntry()
public void setEntry(GraphTree entry)
entry
- public void notifyStateChanged(org.netbeans.api.visual.model.ObjectState oldState, org.netbeans.api.visual.model.ObjectState newState)
notifyStateChanged
in class org.netbeans.api.visual.widget.Widget
oldState
- newState
- protected Rectangle calculateClientArea()
calculateClientArea
in class org.netbeans.api.visual.widget.LabelWidget
protected void paintWidget()
paintWidget
in class org.netbeans.api.visual.widget.LabelWidget
public int compareTo(GraphTreeWidget o)
compareTo
in interface Comparable<GraphTreeWidget>
o
- Copyright © 2015 sd-svn. All rights reserved.