|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.netbeans.api.visual.widget.Widget
cz.cuni.pogamut.shed.widget.ShedWidget
cz.cuni.pogamut.shed.widget.ShedCollapseWidget
public class ShedCollapseWidget
ShedWidget that allows user to display little triangle on the right
side. The triangle indicates if it is collapsed or not. It used for drive and
choice.
in {@link ShedWidgetFactory}, when you change the
shape/size of collapse widget, collapse action must reflect that.| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class cz.cuni.pogamut.shed.widget.ShedWidget |
|---|
ShedWidget.Variable |
| Nested classes/interfaces inherited from class org.netbeans.api.visual.widget.Widget |
|---|
org.netbeans.api.visual.widget.Widget.Dependency |
| Field Summary | |
|---|---|
static int |
SQUARE_SIZE
|
| Fields inherited from class cz.cuni.pogamut.shed.widget.ShedWidget |
|---|
actionProvider, borderColor, color, height, width |
| Constructor Summary | |
|---|---|
ShedCollapseWidget(ShedScene scene,
String displayName,
Color color)
|
|
| Method Summary | |
|---|---|
boolean |
isCollapseArea(Point localPoint)
|
protected void |
paintWidget()
|
void |
setCollapsed(boolean newCollapsed)
|
| Methods inherited from class cz.cuni.pogamut.shed.widget.ShedWidget |
|---|
addBreakpoint, calculateClientArea, getDisplayName, getPopupMenu, getPresenter, removeBreakpoint, setActiveIntensity, setDisplayName, setError, setPresent, setPresenter, setUnused, toString |
| Methods inherited from class org.netbeans.api.visual.widget.Widget |
|---|
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, notifyStateChanged, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int SQUARE_SIZE
| Constructor Detail |
|---|
public ShedCollapseWidget(ShedScene scene,
String displayName,
Color color)
| Method Detail |
|---|
protected void paintWidget()
paintWidget in class ShedWidgetpublic void setCollapsed(boolean newCollapsed)
public boolean isCollapseArea(Point localPoint)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||