|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gishur.gui2.DrawAtom | +--gishur.gui2.DrawObject | +--gishur.gui2.DisplayObject | +--gishur.gui2.DisplayInteractiveObject | +--gishur.gui2.DisplayInteractiveModel
DisplayInteractiveModel
is an extension of
DisplayInteractiveObject
for displaying
of models controlled by a ModelController
.
DisplayModel
Fields inherited from class gishur.gui2.DisplayInteractiveObject |
ACTIVE, ACTIVE1, ACTIVE2, ACTIVE3, ACTIVE4, NORMAL, SELECTED |
Fields inherited from class gishur.gui2.DrawAtom |
BLOCK_REPAINT, MARK_RECALC, MARK_REPAINT, MARK_SIZE, REPAINT, UNBLOCK_REPAINT, USER_STATES_FIRST, USER_STATES_MASK |
Constructor Summary | |
protected |
DisplayInteractiveModel(java.lang.String propertyprefix)
Constructs a new DisplayInteractiveModel which uses
the specified property prefix for all properties it needs. |
Method Summary | |
ModelController |
controller()
Returns the connected ModelController . |
void |
setContoller(ModelController controller)
Connects this DisplayInteractiveModel with another
ModelController . |
void |
setSource(java.lang.Object source)
Sets a new source object for this DisplayInteractiveModel .
|
java.lang.Object |
source()
Returns the source object of this DisplayInteractiveModel
(shortcut for controller() .{ |
Methods inherited from class gishur.gui2.DisplayInteractiveObject |
activate, activate, active, checkActiveElement, createElementTransform, deactivate, elementTransform, refreshPropertyStatus, select, selected, setActiveElement, setSupportActivation, setSupportElementTransform, setSupportSelection, supportActivation, supportElementTransform, supportSelection, unselect |
Methods inherited from class gishur.gui2.DisplayObject |
addEventListener, calculateDockingPoint, calculateDockingPoint, next, parent, prev, processDrawEvent, removeEventListener |
Methods inherited from class gishur.gui2.DrawObject |
addDrawDependency, addPainter, blockRepaint, checkState, checkStateCleared, child, clear, clearCache, clearState, dependency, dirty, disableEvents, draw, draw, enableEvents, ensureRecalculate, findPainter, firstPainter, fullscreen, hide, hide, insert, levelMask, levelUsed, locate, makeDirty, makeDirty, next, nextPainter, prepeareRenderContext, prev, processEvent, propertyReader, recalculate, recalculate, remove, removeDrawDependency, repaint, screenTransformation, setFullscreen, setPaintBeforeMembers, setScreenTransformation, setState, show, show, state, state, unblockRepaint, unblockRepaint, visible |
Methods inherited from class gishur.gui2.DrawAtom |
addProperties, collectHits, dispatchEvent, displayManager, drawComponent, getBounds, getLocalProperty, getProperty, getProperty, getRequiredProperty, preprocessEvent, processMessage, properties, removeProperty, sendEvent, sendMessage, setBounds, setPropertiesTo, setProperty, setProperty, setProperty, setProperty, toString, toString, toStringDetail, toTreeString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected DisplayInteractiveModel(java.lang.String propertyprefix)
DisplayInteractiveModel
which uses
the specified property prefix for all properties it needs.propertyprefix
- the prefix string for all properties usedMethod Detail |
public java.lang.Object source()
this
DisplayInteractiveModel
(shortcut for controller()
.ModelController.source()
).source
in class DisplayInteractiveObject
controller()
public ModelController controller()
ModelController
.ModelController
.public void setContoller(ModelController controller)
this
DisplayInteractiveModel
with another
ModelController
.controller
- new ModelController
public void setSource(java.lang.Object source)
this
DisplayInteractiveModel
.
A new ModelController
will be created in order to handle
multiple views of the source object. This will not change the
source object of an existing ModelController
nor will it
join this
DisplayInteractiveModel
as view to an existing
ModelController
of the source object.source
- new source object (model)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |