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.ReverseFigureChildrenIteratorNested 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, toolTipFields 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.booleanbooleanReturnstrueif 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, addMouseWheelListener, 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, handleMouseWheelScrolled, 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, removeMouseWheelListener, 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:FigureReturns this Figure's background color. If this Figure's background color isnulland its parent is notnull, the background color is inherited from the parent.- Specified by:
getBackgroundColorin interfaceIFigure- Overrides:
getBackgroundColorin classFigure- Returns:
- The background color
- See Also:
-
getFont
Description copied from interface:IFigureReturns the current Font by reference. -
getForegroundColor
Description copied from interface:IFigureReturns the foreground color.- Specified by:
getForegroundColorin interfaceIFigure- Overrides:
getForegroundColorin classFigure- Returns:
- The foreground color
- See Also:
-
getUpdateManager
Description copied from interface:IFigureReturns the UpdateManager for this IFigure by reference.- Specified by:
getUpdateManagerin interfaceIFigure- Overrides:
getUpdateManagerin classFigure- Returns:
- The update manager
- See Also:
-
internalGetEventDispatcher
Description copied from interface:IFigureThis method is for internal purposes only and should not be called.- Specified by:
internalGetEventDispatcherin interfaceIFigure- Overrides:
internalGetEventDispatcherin classFigure- Returns:
- The event dispatcher
- See Also:
-
isMirrored
public boolean isMirrored()- Specified by:
isMirroredin interfaceIFigure- Overrides:
isMirroredin classFigure- Returns:
trueif this figure is hosted in a Control that is mirrored- See Also:
-
isShowing
public boolean isShowing()Description copied from interface:IFigureReturnstrueif this IFigure is showing. This figure is only showing if it is visible and its parent is showing, or it has no parent.
-