|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.draw2d.Figure | +--org.eclipse.draw2d.LightweightSystem.RootFigure
The figure at the root of the LightweightSystem. If certain properties (i.e. font, background/foreground color) are not set, the RootFigure will obtain these properties from LightweightSystem's Canvas.
Nested Class Summary |
Nested classes inherited from class org.eclipse.draw2d.Figure |
Figure.FigureIterator |
Nested classes inherited from class org.eclipse.draw2d.IFigure |
IFigure.NoInsets |
Field Summary |
Fields inherited from class org.eclipse.draw2d.Figure |
bgColor, border, bounds, fgColor, flags, font, MAX_FLAG, maxSize, minSize, NO_MANAGER, prefSize, toolTip |
Fields inherited from interface org.eclipse.draw2d.IFigure |
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS |
Constructor Summary | |
protected |
LightweightSystem.RootFigure()
|
Method Summary | |
Color |
getBackgroundColor()
Returns this Figure's background color. |
Font |
getFont()
Returns the current Font by reference. |
Color |
getForegroundColor()
Returns the foreground color. |
UpdateManager |
getUpdateManager()
Returns the UpdateManager for this IFigure by reference. |
EventDispatcher |
internalGetEventDispatcher()
This method is for internal purposes only and should not be called. |
boolean |
isShowing()
Returns true if this IFigure is showing. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected LightweightSystem.RootFigure()
Method Detail |
public Color getBackgroundColor()
Figure
null
and its parent is not null
, the background color is
inherited from the parent.
getBackgroundColor
in interface IFigure
getBackgroundColor
in class Figure
IFigure.getBackgroundColor()
public Font getFont()
IFigure
getFont
in interface IFigure
getFont
in class Figure
IFigure.getFont()
public Color getForegroundColor()
IFigure
getForegroundColor
in interface IFigure
getForegroundColor
in class Figure
IFigure.getForegroundColor()
public UpdateManager getUpdateManager()
IFigure
getUpdateManager
in interface IFigure
getUpdateManager
in class Figure
IFigure.getUpdateManager()
public EventDispatcher internalGetEventDispatcher()
IFigure
internalGetEventDispatcher
in interface IFigure
internalGetEventDispatcher
in class Figure
IFigure.internalGetEventDispatcher()
public boolean isShowing()
IFigure
true
if this IFigure is showing. This figure is only showing if
it is visible and its parent is showing, or it has no parent.
isShowing
in interface IFigure
isShowing
in class Figure
Figure.isVisible()
|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |