|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gishur.gui2.DrawAtom | +--gishur.gui2.DrawShadow
Shadows levels of another DrawAtom
.
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 | |
DrawShadow(DrawAtom source)
Constructs a new DrawShadow shadowing the given source
DrawAtom . |
|
DrawShadow(DrawAtom source,
byte level_mask)
Constructs a new DrawShadow shadowing the given source
DrawAtom . |
|
DrawShadow(DrawAtom source,
byte level_mask,
boolean remove_source_levels)
Constructs a new DrawShadow shadowing the given source
DrawAtom . |
Method Summary | |
void |
add(DrawShadow drw)
Adds the DrawShadow drw at the end of
this DrawShadow . |
protected void |
draw(java.awt.Graphics g,
RenderContext context)
Draws this DrawAtom to the given
Graphics g .
|
void |
insert(DrawShadow p,
DrawShadow drw)
Inserts the DrawShadow drw in this
DrawShadow before p . |
byte |
levelMask()
Returns the level mask (a combination of levels, that are displayed by this DrawObject ). |
protected void |
preprocessEvent(int id,
DrawAtom sender)
Preprocesses the event specified via its id sent by the given source. |
protected void |
recalculate(RenderContext context)
Forces the DrawAtom to recalculate its representation.
|
void |
remove(DrawShadow drw)
Removes the given DrawShadow from this
DrawShadow . |
Methods inherited from class gishur.gui2.DrawAtom |
addProperties, collectHits, dispatchEvent, displayManager, drawComponent, getBounds, getLocalProperty, getProperty, getProperty, getRequiredProperty, locate, prepeareRenderContext, 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 |
public DrawShadow(DrawAtom source)
DrawShadow
shadowing the given source
DrawAtom
.public DrawShadow(DrawAtom source, byte level_mask, boolean remove_source_levels)
DrawShadow
shadowing the given source
DrawAtom
.public DrawShadow(DrawAtom source, byte level_mask)
DrawShadow
shadowing the given source
DrawAtom
.Method Detail |
public byte levelMask()
DrawObject
).public void add(DrawShadow drw)
DrawShadow
drw
at the end of
this DrawShadow
.drw
- DrawShadow to addpublic void insert(DrawShadow p, DrawShadow drw)
DrawShadow
drw
in this
DrawShadow
before p
.p
- group member to insert before or null
to add
at the end of this DrawShadow
drw
- DrawObject to insertpublic void remove(DrawShadow drw)
DrawShadow
from this
DrawShadow
.drw
- DrawShadow
to removeprotected void preprocessEvent(int id, DrawAtom sender)
DrawAtom
itself
and by DrawAtom
where this
depends from. The method
will be called before events are filtered out.preprocessEvent
in class DrawAtom
id
- the event idsender
- the source of the eventDrawEvent
protected void recalculate(RenderContext context)
DrawAtom
to recalculate its representation.
This method will only be called, if it became dirty via a call
to the #makeDirty
method or something has happened, that
causes all DrawAtoms
to recalculate their
representation.
This method should only be called by the render system.recalculate
in class DrawAtom
context
- the RenderContext
to useprotected void draw(java.awt.Graphics g, RenderContext context)
this
DrawAtom
to the given
Graphics
g
.
This method should only be called by the render system.draw
in class DrawAtom
g
- Graphics for drawingcontext
- the RenderContext
to useDrawException
- if invalid call to this method
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |