Package org.eclipse.draw2d
Class LightweightSystem.RootFigure
java.lang.Object
org.eclipse.draw2d.Figure
org.eclipse.draw2d.LightweightSystem.RootFigure
- All Implemented Interfaces:
IFigure
- Enclosing class:
- LightweightSystem
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/interfaces inherited from class org.eclipse.draw2d.Figure
Figure.FigureIterator, Figure.IdentitySearch, Figure.ReverseFigureChildrenIterator
Nested classes/interfaces inherited from interface 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns this Figure's background color.getFont()
Returns the current Font by reference.Returns the foreground color.Returns the UpdateManager for this IFigure by reference.This method is for internal purposes only and should not be called.boolean
boolean
Returnstrue
if this IFigure is showing.Methods inherited from class org.eclipse.draw2d.Figure
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findDescendantAtExcluding, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, findMouseEventTargetInDescendantsAt, fireCoordinateSystemChanged, fireFigureMoved, fireMoved, firePropertyChange, firePropertyChange, firePropertyChange, getBorder, getBounds, getChildren, getChildrenRevIterable, getClientArea, getClientArea, getClippingStrategy, getCursor, getFlag, getInsets, getLayoutManager, getListeners, getListenersIterable, getLocalBackgroundColor, getLocalFont, getLocalForegroundColor, getLocation, getMaximumSize, getMinimumSize, getMinimumSize, getParent, getPreferredSize, getPreferredSize, getSize, getToolTip, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, intersects, invalidate, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMouseEventTarget, isOpaque, isRequestFocusEnabled, isValid, isValidationRoot, isVisible, layout, optimizeClip, paint, paintBorder, paintChildren, paintClientArea, paintFigure, primTranslate, remove, removeAll, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, setBackgroundColor, setBorder, setBounds, setChildrenDirection, setChildrenEnabled, setChildrenOrientation, setClippingStrategy, setConstraint, setCursor, setEnabled, setFlag, setFocusTraversable, setFont, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setValid, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, useLocalCoordinates, validate
-
Constructor Details
-
RootFigure
protected RootFigure()
-
-
Method Details
-
getBackgroundColor
Description copied from class:Figure
Returns this Figure's background color. If this Figure's background color isnull
and its parent is notnull
, the background color is inherited from the parent.- Specified by:
getBackgroundColor
in interfaceIFigure
- Overrides:
getBackgroundColor
in classFigure
- Returns:
- The background color
- See Also:
-
getFont
Description copied from interface:IFigure
Returns the current Font by reference. -
getForegroundColor
Description copied from interface:IFigure
Returns the foreground color.- Specified by:
getForegroundColor
in interfaceIFigure
- Overrides:
getForegroundColor
in classFigure
- Returns:
- The foreground color
- See Also:
-
getUpdateManager
Description copied from interface:IFigure
Returns the UpdateManager for this IFigure by reference.- Specified by:
getUpdateManager
in interfaceIFigure
- Overrides:
getUpdateManager
in classFigure
- Returns:
- The update manager
- See Also:
-
internalGetEventDispatcher
Description copied from interface:IFigure
This method is for internal purposes only and should not be called.- Specified by:
internalGetEventDispatcher
in interfaceIFigure
- Overrides:
internalGetEventDispatcher
in classFigure
- Returns:
- The event dispatcher
- See Also:
-
isMirrored
public boolean isMirrored()- Specified by:
isMirrored
in interfaceIFigure
- Overrides:
isMirrored
in classFigure
- Returns:
true
if this figure is hosted in a Control that is mirrored- See Also:
-
isShowing
public boolean isShowing()Description copied from interface:IFigure
Returnstrue
if this IFigure is showing. This figure is only showing if it is visible and its parent is showing, or it has no parent.
-