|
Draw2D v2.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.eclipse.draw2d.Figure
The base implementation for graphical figures.
| Inner Class Summary | |
static class |
Figure.FigureIterator
|
| Inner classes inherited from class org.eclipse.draw2d.IFigure |
IFigure.NoInsets |
| Field Summary | |
protected Color |
bgColor
|
protected Border |
border
|
protected Rectangle |
bounds
|
protected Color |
fgColor
|
protected int |
flags
|
protected Font |
font
|
protected static int |
MAX_FLAG
|
protected Dimension |
maxSize
|
protected Dimension |
minSize
|
protected static UpdateManager |
NO_MANAGER
|
protected Dimension |
prefSize
|
protected IFigure |
toolTip
|
| Fields inherited from interface org.eclipse.draw2d.IFigure |
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS |
| Constructor Summary | |
Figure()
|
|
| Method Summary | |
void |
add(IFigure figure)
Adds the given Figure as a child of this Figure. |
void |
add(IFigure figure,
int index)
Adds the given Figure as a child of this Figure at the given index. |
void |
add(IFigure figure,
Object constraint)
Adds the given figure as a child of this figure, with the given constraint. |
void |
add(IFigure figure,
Object constraint,
int index)
Adds the given figure as a child of this figure at the given index, with the given constraint. |
void |
addAncestorListener(AncestorListener ancestorListener)
Registers the given listener as an AncestorListener of this IFigure. |
void |
addFigureListener(FigureListener listener)
Registers the given listener as a FigureListener of this IFigure. |
void |
addFocusListener(FocusListener listener)
Registers the given listener as a FocusListener of this IFigure. |
void |
addKeyListener(KeyListener listener)
Registers the given listener as a KeyListner of this IFigure. |
protected void |
addListener(Class clazz,
Object listener)
|
void |
addMouseListener(MouseListener l)
Registers the given listener as a MouseListener of this IFigure. |
void |
addMouseMotionListener(MouseMotionListener l)
Registers the given listener as a MouseMotionListener of this IFigure. |
void |
addNotify()
Called after the receiver's parent has been set and it has been added to its parent. |
void |
addPropertyChangeListener(PropertyChangeListener l)
Registers the given listener as a PropertyChangeListener of this IFigure. |
void |
addPropertyChangeListener(String property,
PropertyChangeListener listener)
Registers the given listener as a PropertyChangeListener of this IFigure, interested only in the given property. |
boolean |
containsPoint(int x,
int y)
Returns true if the point (x, y) is contained
within this IFigures bounds. |
boolean |
containsPoint(Point p)
This method is final. |
void |
erase()
Erases this IFigure. |
protected IFigure |
findDescendantAtExcluding(int x,
int y,
Collection c)
Returns a descendant of this Figure such that the Figure returned contains the point <x, y>, and is not a member of the Collection c. |
IFigure |
findFigureAt(int x,
int y)
Returns the figure at the specified location. |
IFigure |
findFigureAt(Point pt)
Returns the figure at the specified location. |
IFigure |
findFigureAtExcluding(int x,
int y,
Collection c)
Returns the figure at the specified location, excluding any figures in collection. |
IFigure |
findMouseEventTargetAt(int x,
int y)
Returns the figure located at the given location which will accept mouse events. |
protected void |
fireMoved()
Notifies any FigureListeners listening to this Figure
that it has moved. |
protected void |
firePropertyChange(String property,
boolean old,
boolean current)
Notifies any PropertyChangeListeners listening to this
figure that the boolean property with id property
has changed. |
protected void |
firePropertyChange(String property,
int old,
int current)
Notifies any PropertyChangeListeners listening to this
figure that the integer property with id property
has changed. |
protected void |
firePropertyChange(String property,
Object old,
Object current)
Notifies any PropertyChangeListeners listening to this
figure that the Object property with id property
has changed. |
Color |
getBackgroundColor()
Returns the background color. |
Border |
getBorder()
Returns the current border by reference. |
Rectangle |
getBounds()
Returns the smallest rectangle completely enclosing the figure. |
List |
getChildren()
Returns an unmodifiable collection of children by reference. |
Rectangle |
getClientArea()
Returns the rectangular area within this Figure's bounds in which children will be placed (via LayoutManagers) and
the painting of children will be clipped. |
Rectangle |
getClientArea(Rectangle rect)
Modifies the given Rectangle so that it represents this Figure's client area, then returns it. |
Cursor |
getCursor()
Returns the cursor used when the mouse is over this figure. |
protected boolean |
getFlag(int flag)
|
Font |
getFont()
Returns the current font by reference. |
Color |
getForegroundColor()
Returns the foreground color. |
Insets |
getInsets()
Returns the current Insets. |
LayoutManager |
getLayoutManager()
Returns the current LayoutManager by reference. |
protected Iterator |
getListeners(Class clazz)
Returns an Iterator containing the listeners of type clazz that are listening to this Figure. |
Point |
getLocation()
Returns the top-left corner of this Figure's bounds. |
Dimension |
getMaximumSize()
Returns a hint indicating the largest desireable size for the figure. |
Dimension |
getMinimumSize()
Returns a hint indicating the smallest desireable size for the figure. |
IFigure |
getParent()
Returns the current Parent. |
Dimension |
getPreferredSize()
Returns the desireable size for this figure. |
Dimension |
getPreferredSize(int wHint,
int hHint)
Returns the preferred size this Figure should be, using width and height hints. |
Dimension |
getSize()
Returns the current size of this figure. |
IFigure |
getToolTip()
Returns an IFigure that is the tooltip for this Figure. |
UpdateManager |
getUpdateManager()
Returns the UpdateManager for this figure by reference. |
void |
handleFocusGained(FocusEvent fe)
Notifies FocusListeners that this figure has gained focus. |
void |
handleFocusLost(FocusEvent fe)
Notifies FocusListeners that this figure has lost focus. |
void |
handleKeyPressed(KeyEvent e)
Notifies KeyListeners that this figure has lost focus. |
void |
handleKeyReleased(KeyEvent e)
Notifies KeyListeners that this figure has lost focus. |
void |
handleMouseDoubleClicked(MouseEvent e)
Notifies MouseListeners that the mouse has been double-clicked on this figure. |
void |
handleMouseDragged(MouseEvent e)
Notifies MouseMotionListeners that the mouse has been dragged over this figure. |
void |
handleMouseEntered(MouseEvent e)
Notifies MouseMotionListeners that the mouse has entered this figure. |
void |
handleMouseExited(MouseEvent e)
Notifies MouseMotionListeners that the mouse has exited this figure. |
void |
handleMouseHover(MouseEvent e)
Notifies MouseMotionListeners that the mouse has hovered over this figure. |
void |
handleMouseMoved(MouseEvent e)
Notifies MouseMotionListeners that the mouse has moved over this figure. |
void |
handleMousePressed(MouseEvent e)
Notifies MouseListeners that a mouse button has been pressed while over this figure. |
void |
handleMouseReleased(MouseEvent e)
Notifies MouseListeners that a mouse button has been released while over this figure. |
boolean |
hasFocus()
Returns true if this figure has focus. |
EventDispatcher |
internalGetEventDispatcher()
This method is for internal purposes only and should not be called. |
boolean |
intersects(Rectangle r)
Returns true if this figure needs to paint anywhere inside r. |
void |
invalidate()
Invalidates this figure. |
boolean |
isEnabled()
Returns true if this figure is enabled. |
boolean |
isFocusTraversable()
Returns true if this figure can gain focus on a TraverseEvent. |
protected boolean |
isMouseEventTarget()
Returns true if this figure can receive
MouseEvents. |
boolean |
isOpaque()
Returns true if this figure is opaque. |
boolean |
isRequestFocusEnabled()
Returns true if this figure can receive focus
on a call to requestFocus(). |
protected boolean |
isValid()
Returns true if this figure is valid. |
protected boolean |
isValidationRoot()
Returns true if revalidating this figure does
not require revalidating its parent. |
boolean |
isVisible()
Returns true if this figure is visible. |
protected void |
layout()
Lays out this figure using its LayoutManager. |
void |
paint(Graphics graphics)
Paints this figure, including its border and children. |
protected void |
paintBorder(Graphics graphics)
Paints the border associated with this figure, if one exists. |
protected void |
paintChildren(Graphics g)
Paint this Figure's children. |
protected void |
paintClientArea(Graphics g)
Paints this Figure's client area. |
protected void |
paintFigure(Graphics graphics)
Paints this Figure's primary representation, or background. |
protected void |
primTranslate(int dx,
int dy)
Translates this figure's bounds, without firing a move. |
void |
remove(IFigure figure)
Removes the given figure from this figure's list of children. |
void |
removeAll()
Removes all children from this Figure. |
void |
removeAncestorListener(AncestorListener listener)
Unregisters the given listener, so that it will no longer receive notification of ancestor events. |
void |
removeFigureListener(FigureListener listener)
Unregisters the given listener, so that it will no longer receive notification of figure events. |
void |
removeFocusListener(FocusListener listener)
Unregisters the given listener, so that it will no longer receive notification of focus events. |
protected void |
removeListener(Class clazz,
Object listener)
Removes listener from clazz. |
void |
removeMouseListener(MouseListener listener)
Unregisters the given listener, so that it will no longer receive notification of mouse events. |
void |
removeMouseMotionListener(MouseMotionListener listener)
Unregisters the given listener, so that it will no longer receive notification of mouse motion events. |
void |
removeNotify()
Called before this figure is removed from its parent. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Unregisters the given listener, so that it will no longer receive notification of any property changes. |
void |
removePropertyChangeListener(String property,
PropertyChangeListener listener)
Unregisters the given listener, so that it will no longer receive notification of changes in the given property. |
void |
repaint()
Repaints this figure. |
void |
repaint(int x,
int y,
int w,
int h)
Repaints the rectangular area within this figure whose upper-left corner is located at the point (x,y) and whose width
and height are w and h, respectively. |
void |
repaint(Rectangle r)
Repaints the area of this figure represented by the given Rectangle. |
void |
requestFocus()
Requests focus from the EventDispatcher. |
void |
revalidate()
Revalidates this figure. |
void |
setBackgroundColor(Color bg)
Sets the background color. |
void |
setBorder(Border border)
Sets the border. |
void |
setBounds(Rectangle r)
Sets the bounds of this Figure to the Rectangle r. |
protected void |
setChildrenDirection(int dir)
Sets the direction of any Orientable children. |
protected void |
setChildrenEnabled(boolean value)
Sets all childrens' enabled property to value. |
protected void |
setChildrenOrientation(int orientation)
Sets the orientation of any Orientable children. |
void |
setConstraint(IFigure child,
Object constraint)
Deprecated. Sets the constraint of a previously added child. |
void |
setCursor(Cursor cursor)
Sets the cursor. |
void |
setEnabled(boolean value)
Sets this figure to be enabled. |
protected void |
setFlag(int flag,
boolean value)
Sets the given flag to the given value. |
void |
setFocusTraversable(boolean focusTraversable)
Sets the ability for this figure to gain focus on a TraverseEvent. |
void |
setFont(Font f)
Sets the font. |
void |
setForegroundColor(Color fg)
Sets the foreground color. |
void |
setLayoutManager(LayoutManager manager)
Sets the LayoutManager. |
void |
setLocation(Point p)
Sets the location of this figure. |
void |
setMaximumSize(Dimension d)
Sets the maximum size this figure can be. |
void |
setMinimumSize(Dimension d)
Sets the minimum size this figure can be. |
void |
setOpaque(boolean opaque)
Sets this figure to be opaque if isOpaque is
true and transparent if isOpaque is false. |
void |
setParent(IFigure p)
Sets this figure's parent. |
void |
setPreferredSize(Dimension size)
Sets this figure's preferred size. |
void |
setPreferredSize(int w,
int h)
Sets the preferred size of this figure. |
void |
setRequestFocusEnabled(boolean requestFocusEnabled)
Sets the ability for this Figure to gain focus on a call to requestFocus(). |
void |
setSize(Dimension d)
Sets this figure's size. |
void |
setSize(int w,
int h)
Sets the current size of this figure. |
void |
setToolTip(IFigure f)
The passed Figure f will appear on a mouse hover over this Figure. |
void |
setUpdateManager(UpdateManager updateManager)
Sets the UpdateManager. |
void |
setValid(boolean valid)
Sets this figure to be valid if valid is true,
and invalid otherwise. |
void |
setVisible(boolean visible)
Sets this figure's visibility. |
void |
translate(int x,
int y)
Moves this figure x pixels horizontally and
y pixels vertically. |
void |
translateFromParent(Translatable t)
Translates a Translatable from this figure's parent's coordinates to this figure's local coordinates. |
void |
translateToAbsolute(Translatable t)
Translates a Translatable from this figure's coordinates to the top-most parent's coordinates. |
void |
translateToParent(Translatable t)
Translates a Translatable from this figure's coordinates to its parent's coordinates. |
void |
translateToRelative(Translatable t)
Translates a Translatable from the top-most parent's coordinates to local coordinates. |
protected boolean |
useLocalCoordinates()
Returns true if this figure uses local coordinates. |
void |
validate()
Causes this figure to layout itself, as well as its children. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static int MAX_FLAG
protected Rectangle bounds
protected int flags
protected Dimension prefSize
protected Dimension minSize
protected Dimension maxSize
protected Font font
protected Color bgColor
protected Color fgColor
protected Border border
protected IFigure toolTip
protected static final UpdateManager NO_MANAGER
| Constructor Detail |
public Figure()
| Method Detail |
public final void add(IFigure figure,
Object constraint)
add in interface IFigure
public void add(IFigure figure,
Object constraint,
int index)
add in interface IFigurepublic final void add(IFigure figure)
add in interface IFigure
public final void add(IFigure figure,
int index)
add in interface IFigurepublic void addAncestorListener(AncestorListener ancestorListener)
IFigureaddAncestorListener in interface IFigurepublic void addFigureListener(FigureListener listener)
IFigureaddFigureListener in interface IFigurepublic void addFocusListener(FocusListener listener)
IFigureaddFocusListener in interface IFigurepublic void addKeyListener(KeyListener listener)
IFigureaddKeyListener in interface IFigure
protected void addListener(Class clazz,
Object listener)
public void addMouseListener(MouseListener l)
IFigureaddMouseListener in interface IFigurepublic void addMouseMotionListener(MouseMotionListener l)
IFigureaddMouseMotionListener in interface IFigurepublic void addNotify()
addNotify in interface IFigure
public void addPropertyChangeListener(String property,
PropertyChangeListener listener)
IFigureaddPropertyChangeListener in interface IFigurepublic void addPropertyChangeListener(PropertyChangeListener l)
IFigureaddPropertyChangeListener in interface IFigurepublic final boolean containsPoint(Point p)
containsPoint(int, int)containsPoint in interface IFigure
public boolean containsPoint(int x,
int y)
IFigure(x, y) is contained
within this IFigures bounds.containsPoint in interface IFigurepublic void erase()
IFigureerase in interface IFigure
protected IFigure findDescendantAtExcluding(int x,
int y,
Collection c)
public final IFigure findFigureAt(Point pt)
IFigurefindFigureAt in interface IFigure
public final IFigure findFigureAt(int x,
int y)
IFigurefindFigureAt in interface IFigure
public IFigure findFigureAtExcluding(int x,
int y,
Collection c)
IFigurecollection. May return this
or null.findFigureAtExcluding in interface IFigure
public IFigure findMouseEventTargetAt(int x,
int y)
IFigurefindMouseEventTargetAt in interface IFigureprotected void fireMoved()
FigureListeners listening to this Figure
that it has moved.
protected void firePropertyChange(String property,
boolean old,
boolean current)
PropertyChangeListeners listening to this
figure that the boolean property with id property
has changed.
protected void firePropertyChange(String property,
Object old,
Object current)
PropertyChangeListeners listening to this
figure that the Object property with id property
has changed.
protected void firePropertyChange(String property,
int old,
int current)
PropertyChangeListeners listening to this
figure that the integer property with id property
has changed.public Color getBackgroundColor()
IFiguregetBackgroundColor in interface IFigurepublic Border getBorder()
IFiguregetBorder in interface IFigurepublic Rectangle getBounds()
IFiguregetBounds in interface IFigurepublic List getChildren()
IFiguregetChildren in interface IFigurepublic Rectangle getClientArea(Rectangle rect)
public Rectangle getClientArea()
IFigureLayoutManagers) and
the painting of children will be clipped.getClientArea in interface IFigurepublic Cursor getCursor()
IFiguregetCursor in interface IFigureprotected boolean getFlag(int flag)
public Font getFont()
IFiguregetFont in interface IFigurepublic Color getForegroundColor()
IFiguregetForegroundColor in interface IFigurepublic Insets getInsets()
IFiguregetInsets in interface IFigurepublic LayoutManager getLayoutManager()
IFiguregetLayoutManager in interface IFigureprotected Iterator getListeners(Class clazz)
clazz that are listening to this Figure.
If there are no listeners of type clazz,
an Iterator of an empty list is returned.public final Point getLocation()
public Dimension getMaximumSize()
IFiguregetMaximumSize in interface IFigurepublic Dimension getMinimumSize()
IFiguregetMinimumSize in interface IFigurepublic IFigure getParent()
IFiguregetParent in interface IFigurepublic Dimension getPreferredSize()
IFiguregetPreferredSize in interface IFigure
public Dimension getPreferredSize(int wHint,
int hHint)
getPreferredSize in interface IFigurepublic final Dimension getSize()
getSize in interface IFigurepublic IFigure getToolTip()
IFiguregetToolTip in interface IFigurepublic UpdateManager getUpdateManager()
IFiguregetUpdateManager in interface IFigurepublic void handleFocusGained(FocusEvent fe)
handleFocusGained in interface IFigurepublic void handleFocusLost(FocusEvent fe)
handleFocusLost in interface IFigurepublic void handleKeyPressed(KeyEvent e)
handleKeyPressed in interface IFigurepublic void handleKeyReleased(KeyEvent e)
handleKeyReleased in interface IFigurepublic void handleMouseDoubleClicked(MouseEvent e)
handleMouseDoubleClicked in interface IFigurepublic void handleMouseDragged(MouseEvent e)
handleMouseDragged in interface IFigurepublic void handleMouseEntered(MouseEvent e)
handleMouseEntered in interface IFigurepublic void handleMouseExited(MouseEvent e)
handleMouseExited in interface IFigurepublic void handleMouseHover(MouseEvent e)
handleMouseHover in interface IFigurepublic void handleMouseMoved(MouseEvent e)
handleMouseMoved in interface IFigurepublic void handleMousePressed(MouseEvent e)
handleMousePressed in interface IFigurepublic void handleMouseReleased(MouseEvent e)
handleMouseReleased in interface IFigurepublic boolean hasFocus()
IFigurehasFocus in interface IFigurepublic EventDispatcher internalGetEventDispatcher()
IFigureinternalGetEventDispatcher in interface IFigurepublic boolean intersects(Rectangle r)
IFigureintersects in interface IFigurepublic void invalidate()
IFigureinvalidate in interface IFigurepublic boolean isEnabled()
IFigureisEnabled in interface IFigurepublic boolean isFocusTraversable()
IFigureisFocusTraversable in interface IFigureprotected boolean isMouseEventTarget()
true if this figure can receive
MouseEvents.public boolean isOpaque()
IFigureisOpaque in interface IFigurepublic boolean isRequestFocusEnabled()
IFiguretrue if this figure can receive focus
on a call to requestFocus().isRequestFocusEnabled in interface IFigureprotected boolean isValid()
true if this figure is valid.protected boolean isValidationRoot()
true if revalidating this figure does
not require revalidating its parent.public boolean isVisible()
IFigureisVisible in interface IFigureprotected void layout()
LayoutManager.public void paint(Graphics graphics)
paint in interface IFigurepaintFigure(Graphics),
paintClientArea(Graphics),
paintBorder(Graphics)protected void paintBorder(Graphics graphics)
Border.paint(IFigure, Graphics, Insets)protected void paintChildren(Graphics g)
protected void paintClientArea(Graphics g)
protected void paintFigure(Graphics graphics)
protected void primTranslate(int dx,
int dy)
translate(int, int)public void remove(IFigure figure)
IFigureremove in interface IFigurepublic void removeAll()
remove(IFigure)public void removeAncestorListener(AncestorListener listener)
IFigureremoveAncestorListener in interface IFigurepublic void removeFigureListener(FigureListener listener)
IFigureremoveFigureListener in interface IFigurepublic void removeFocusListener(FocusListener listener)
IFigureremoveFocusListener in interface IFigure
protected void removeListener(Class clazz,
Object listener)
public void removeMouseListener(MouseListener listener)
IFigureremoveMouseListener in interface IFigurepublic void removeMouseMotionListener(MouseMotionListener listener)
IFigureremoveMouseMotionListener in interface IFigurepublic void removeNotify()
IFigureremoveNotify in interface IFigurepublic void removePropertyChangeListener(PropertyChangeListener listener)
IFigureremovePropertyChangeListener in interface IFigure
public void removePropertyChangeListener(String property,
PropertyChangeListener listener)
IFigureremovePropertyChangeListener in interface IFigurepublic final void repaint(Rectangle r)
repaint in interface IFigure
public void repaint(int x,
int y,
int w,
int h)
IFigure(x,y) and whose width
and height are w and h, respectively.repaint in interface IFigurepublic void repaint()
IFigurerepaint in interface IFigurepublic final void requestFocus()
IFigureEventDispatcher.requestFocus in interface IFigurepublic void revalidate()
IFigurerevalidate in interface IFigurepublic void setBackgroundColor(Color bg)
IFiguresetBackgroundColor in interface IFigurepublic void setBorder(Border border)
IFiguresetBorder in interface IFigurepublic void setBounds(Rectangle r)
setBounds in interface IFiguregetBounds()protected void setChildrenDirection(int dir)
Orientable children. Allowable
values for dir are found in PositionConstants.Orientable.setDirection(int)protected void setChildrenEnabled(boolean value)
value.setEnabled(boolean)protected void setChildrenOrientation(int orientation)
Orientable children. Allowable
values for orientation are found in PositionConstants.Orientable.setOrientation(int)
public void setConstraint(IFigure child,
Object constraint)
setConstraint in interface IFigurepublic void setCursor(Cursor cursor)
IFiguresetCursor in interface IFigurepublic void setEnabled(boolean value)
IFiguresetEnabled in interface IFigure
protected final void setFlag(int flag,
boolean value)
public void setFocusTraversable(boolean focusTraversable)
IFiguresetFocusTraversable in interface IFigurepublic void setFont(Font f)
IFiguresetFont in interface IFigurepublic void setForegroundColor(Color fg)
IFiguresetForegroundColor in interface IFigurepublic void setLayoutManager(LayoutManager manager)
IFiguresetLayoutManager in interface IFigurepublic void setLocation(Point p)
IFiguresetLocation in interface IFigurepublic void setMaximumSize(Dimension d)
IFiguresetMaximumSize in interface IFigurepublic void setMinimumSize(Dimension d)
IFiguresetMinimumSize in interface IFigurepublic void setOpaque(boolean opaque)
IFigureisOpaque is
true and transparent if isOpaque is false.setOpaque in interface IFigurepublic void setParent(IFigure p)
IFiguresetParent in interface IFigurepublic void setPreferredSize(Dimension size)
IFiguresetPreferredSize in interface IFigure
public final void setPreferredSize(int w,
int h)
setPreferredSize(Dimension)public void setRequestFocusEnabled(boolean requestFocusEnabled)
IFiguresetRequestFocusEnabled in interface IFigurepublic final void setSize(Dimension d)
IFiguresetSize in interface IFigure
public void setSize(int w,
int h)
setSize in interface IFigurepublic void setToolTip(IFigure f)
setToolTip in interface IFigurepublic final void setUpdateManager(UpdateManager updateManager)
IFiguresetUpdateManager in interface IFigurepublic void setValid(boolean valid)
valid is true,
and invalid otherwise.public void setVisible(boolean visible)
IFiguresetVisible in interface IFigure
public final void translate(int x,
int y)
IFigurex pixels horizontally and
y pixels vertically.translate in interface IFigurepublic void translateFromParent(Translatable t)
IFiguretranslateFromParent in interface IFigurepublic final void translateToAbsolute(Translatable t)
IFiguretranslateToAbsolute in interface IFigurepublic void translateToParent(Translatable t)
IFiguretranslateToParent in interface IFigurepublic final void translateToRelative(Translatable t)
IFiguretranslateToRelative in interface IFigureprotected boolean useLocalCoordinates()
true if this figure uses local coordinates. This
means its children are placed relative to this figure's top-left corner.public void validate()
IFigurevalidate in interface IFigure
|
Draw2D v2.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||