|
|||||||||
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.DisplayModel
DisplayModel
is an extension of DisplayMultiLevelObject
for displaying of models controlled by a ModelController
.
DisplayInteractiveModel
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 |
DisplayModel(java.lang.String property_prefix)
Constructs a new DisplayModel which uses the given
prefix for all properties. |
Method Summary | |
ModelController |
controller()
Returns the connected ModelController . |
void |
setContoller(ModelController controller)
Connects this DisplayModel with another
ModelController . |
void |
setSource(java.lang.Object source)
Sets a new source object for this DisplayModel .
|
java.lang.Object |
source()
Returns the source object of this DisplayModel
(shortcut for controller() .{ |
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 DisplayModel(java.lang.String property_prefix)
DisplayModel
which uses the given
prefix for all properties.property_prefix
- the prefix string used for all read
propertiesMethod Detail |
public java.lang.Object source()
this
DisplayModel
(shortcut for controller()
.ModelController.source()
).controller()
public ModelController controller()
ModelController
.ModelController
.public void setContoller(ModelController controller)
this
DisplayModel
with another
ModelController
.controller
- new ModelController
public void setSource(java.lang.Object source)
this
DisplayModel
.
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
DisplayModel
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 |