|
||||||||||
| 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.SlotEnvelope
public abstract class SlotEnvelope
Envelope for visual representation of an slot element with trigger and
attachment action (=DriveElement, CompetenceElement and DriveElement).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.netbeans.api.visual.widget.Widget |
|---|
org.netbeans.api.visual.widget.Widget.Dependency |
| Field Summary | |
|---|---|
protected ShedWidget |
slotWidget
Widget representing the slot element, e.g. competence element. |
| Constructor Summary | |
|---|---|
SlotEnvelope(ShedScene scene,
ShedWidget slotWidget,
ShedTriggerEnvelope triggerEnvelope,
ExpandedActionEnvelope expandedActionEnvelope)
|
|
| Method Summary | |
|---|---|
void |
add(ShedSenseWidget widget,
int position)
Add widget to the envelope at the specified position. |
ExpandedActionEnvelope |
getExpandedActionEnvelope()
|
ShedWidget |
getSlotWidget()
|
ShedTriggerEnvelope |
getTriggerEnvelope()
|
void |
move(int absolutePosition,
ShedSenseWidget widget)
Move the widget relative to the other widgets. |
void |
remove(ShedSenseWidget widget)
Remove widget from the envelope. |
| Methods inherited from class org.netbeans.api.visual.widget.Widget |
|---|
addDependency, addChild, addChild, addChild, addChild, addChildren, bringToBack, bringToFront, calculateClientArea, convertLocalToScene, convertLocalToScene, convertSceneToLocal, convertSceneToLocal, createActions, equals, getAccessibleContext, getActions, getActions, getBackground, getBorder, getBounds, getClientArea, getCursor, getCursorAt, getDependencies, getFont, getForeground, getGraphics, getChildConstraint, getChildren, getLayout, getLocation, getLookup, getMaximumSize, getMinimumSize, getParentWidget, getPreferredBounds, getPreferredLocation, getPreferredSize, getResourceTable, getScene, getState, getToolTipText, hashCode, isEnabled, isHitAt, isCheckClipping, isOpaque, isPreferredBoundsSet, isRepaintRequiredForRevalidating, isValidated, isVisible, notifyAdded, notifyBackgroundChanged, notifyFontChanged, notifyForegroundChanged, notifyRemoved, notifyStateChanged, paint, paintBackground, paintBorder, paintChildren, paintWidget, removeDependency, removeFromParent, removeChild, removeChildren, removeChildren, repaint, resolveBounds, revalidate, revalidate, setAccessibleContext, setBackground, setBackgroundFromResource, setBorder, setBorder, setCursor, setEnabled, setFont, setFontFromResource, setForeground, setForegroundFromResource, setCheckClipping, setChildConstraint, 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 Detail |
|---|
protected final ShedWidget slotWidget
| Constructor Detail |
|---|
public SlotEnvelope(ShedScene scene,
ShedWidget slotWidget,
ShedTriggerEnvelope triggerEnvelope,
ExpandedActionEnvelope expandedActionEnvelope)
| Method Detail |
|---|
public ShedWidget getSlotWidget()
public ShedTriggerEnvelope getTriggerEnvelope()
public ExpandedActionEnvelope getExpandedActionEnvelope()
public final void add(ShedSenseWidget widget,
int position)
IShedEnvelope
add in interface IShedEnvelope<ShedSenseWidget>widget - widget to addposition - where to put widget
public final void move(int absolutePosition,
ShedSenseWidget widget)
IShedEnvelope
move in interface IShedEnvelope<ShedSenseWidget>widget - widget to movepublic final void remove(ShedSenseWidget widget)
IShedEnvelope
remove in interface IShedEnvelope<ShedSenseWidget>widget - widget to remove from the envelope.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||