gishur.x.gui
Class DisplayXObject

java.lang.Object
  |
  +--gishur.gui2.DrawAtom
        |
        +--gishur.gui2.DrawObject
              |
              +--gishur.gui2.DisplayObject
                    |
                    +--gishur.gui2.DisplayInteractiveObject
                          |
                          +--gishur.gui2.DisplayInteractiveModel
                                |
                                +--gishur.x.gui.DisplayXObject
Direct Known Subclasses:
DisplayXPoint, DisplayXPolygon, DisplayXSegment

public abstract class DisplayXObject
extends DisplayInteractiveModel

The base class for all DisplayObjects for the geometric classes.

Version:
1.0
Author:
Thomas Wolf

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 DisplayXObject(java.lang.String propertyprefix)
          Constructs a new DisplayXObject which uses the specified property prefix for all properties it needs.
 
Method Summary
 ScreenX2Transformation screenX2Transformation()
          Returns the valid ScreenTransformation for this DisplayObject.
 
Methods inherited from class gishur.gui2.DisplayInteractiveModel
controller, setContoller, setSource, source
 
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

DisplayXObject

protected DisplayXObject(java.lang.String propertyprefix)
Constructs a new DisplayXObject which uses the specified property prefix for all properties it needs.
Parameters:
propertyprefix - the prefix string for all properties used
Method Detail

screenX2Transformation

public ScreenX2Transformation screenX2Transformation()
Returns the valid ScreenTransformation for this DisplayObject. If no ScreenTransformation is set, an exception will be thrown.
Returns:
the ScreenTransformation for this DisplayObject.
Throws:
DrawException - if property value ("screen_transformation" was not set.