|
||||||||||
| 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 class SlotEnvelope
Envelope for visual representation element (e.g. drive/choice)
with trigger and reference to some other element. The element itself is in
the left top corner, the trigger is shown on the right of element and
attachment is under the representation of trigger.
ShedDriveEnvelope,
ShedChoiceEnvelope| 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)
Create slot envelope for some element (e.g. choice or drive). |
|
| Method Summary | |
|---|---|
void |
add(ShedSenseWidget widget,
int position)
Add widget to the envelope at the specified position. |
ExpandedActionEnvelope |
getExpandedActionEnvelope()
Get envelope that contains expanded action of element. |
ShedWidget |
getSlotWidget()
Get widget representing the element. |
ShedTriggerEnvelope |
getTriggerEnvelope()
Get envelope representing the trigger of element. |
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)
scene - Scene the envelope belongs to.slotWidget - The widget representing the element (e.g. drive or
choice)triggerEnvelope - Trigger of element.expandedActionEnvelope - Expanded action of element.| 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 | |||||||||