|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VisualElement
A visual element represents a figure of a process drawing. It supports visual status changes, element hierarchies, drag and drop and custom cursors/tools.
| Field Summary | |
|---|---|
static int |
VISUAL_DISPLAY_ALL
Display the entire content of the visual element |
static int |
VISUAL_DND_PARTICIPANT
Visual element is currently a drop target |
static int |
VISUAL_VISIBLE
Visual element is currently visible |
| Fields inherited from interface CH.ifa.draw.framework.Figure |
|---|
POPUP_MENU |
| Method Summary | |
|---|---|
ProcessDrawing |
getDrawing()
Gets the drawing the element is a part of. |
VisualElement |
getParentElement()
Gets parent element of this element, if any. |
CH.ifa.draw.framework.Figure |
getPresentationFigure()
Gets the presentation figure of this element. |
boolean |
handleEvent(VisualElementEvent event)
Handler method that is called for handling events. |
boolean |
isVisible()
Gets the flag if the element is currently visible. |
void |
setDrawing(ProcessDrawing processDrawing)
Sets the drawing the element is a part of. |
void |
setVisible(boolean visible)
Sets the flag if the element is currently visible. |
void |
updatePresentationFigure()
Updates (reinitializes) the presentation figure. |
| Methods inherited from interface CH.ifa.draw.framework.Figure |
|---|
addFigureChangeListener, addToContainer, basicDisplayBox, canConnect, center, changed, clone, connectedTextLocator, connectionInsets, connectorAt, connectorVisibility, containsPoint, decompose, displayBox, displayBox, displayBox, draw, figures, findFigureInside, getAttribute, getZValue, handles, includes, invalidate, isEmpty, listener, moveBy, release, removeFigureChangeListener, removeFromContainer, setAttribute, setZValue, size, willChange |
| Methods inherited from interface CH.ifa.draw.util.Storable |
|---|
read, write |
| Methods inherited from interface org.openbp.jaspira.gui.interaction.InteractionClient |
|---|
dragActionTriggered, dragEnded, dragStarted, getAllDropRegions, getAllImportersAt, getDropRegions, getImportersAt, getSubClients, importData |
| Field Detail |
|---|
static final int VISUAL_VISIBLE
static final int VISUAL_DND_PARTICIPANT
static final int VISUAL_DISPLAY_ALL
| Method Detail |
|---|
void setDrawing(ProcessDrawing processDrawing)
ProcessDrawing getDrawing()
VisualElement getParentElement()
CH.ifa.draw.framework.Figure getPresentationFigure()
void updatePresentationFigure()
boolean isVisible()
void setVisible(boolean visible)
boolean handleEvent(VisualElementEvent event)
event - Event that desribes the event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||