|
Eclipse Draw2d 3.3 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.draw2d.geometry.Transposer
Conditionally transposes geometrical objects based on an "enabled" flag. When enabled, the method t(Object) will transpose the passed geometrical object. Otherwise, the object will be returned without modification
| Constructor Summary | |
Transposer()
|
|
| Method Summary | |
void |
disable()
Disables transposing of inputs. |
void |
enable()
Enables transposing of inputs. |
boolean |
isEnabled()
Returns true if this Transposer is enabled. |
void |
setEnabled(boolean e)
Sets the enabled state of this Transposer. |
Dimension |
t(Dimension d)
Returns a new transposed Dimension of the input Dimension. |
Insets |
t(Insets i)
Returns a new transposed Insets of the input Insets. |
Point |
t(Point p)
Returns a new transposed Point of the input Point. |
Rectangle |
t(Rectangle r)
Returns a new transposed Rectangle of the input Rectangle. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Transposer()
| Method Detail |
public void disable()
public void enable()
public boolean isEnabled()
true if this Transposer is enabled.
true if this Transposer is enabledpublic void setEnabled(boolean e)
e - New enabled valuepublic Dimension t(Dimension d)
d - Input dimension being transposed.
public Insets t(Insets i)
i - Insets to be transposed.
public Point t(Point p)
p - Point to be transposed.
public Rectangle t(Rectangle r)
r - Rectangle to be transposed.
|
Eclipse Draw2d 3.3 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||