public abstract class FlatDoodle extends ChildDoodle implements ToolTip
Details:
FlatDoodle
serves as the common base for Fig's stock Doodle
implementations.
This is a partial implementation that supports Z-
Modifier and Type | Field and Description |
---|---|
protected String |
mToolTip
Tool tip text.
|
protected float |
mZOrder
Z-order.
|
mParent
Constructor and Description |
---|
FlatDoodle()
Default constructor.
|
FlatDoodle(float iZOrder)
Specifies Z-order.
|
Modifier and Type | Method and Description |
---|---|
String |
getToolTip()
Retrieves ToolTip property.
|
float |
getZOrder()
Returns Z-order property.
|
void |
setToolTip(String iToolTip)
Updates ToolTip property.
|
void |
setZOrder(float iZOrder)
Updates Z-order property.
|
getDefaultOrigin, getParent, redraw, setParent
protected float mZOrder
Details:
Property mZOrder
is the Z-Doodle
.
This is the value returned by getZOrder()
.
getZOrder()
protected String mToolTip
public FlatDoodle()
Details: This default constructor does nothing and leaves the properties at their default values.
public FlatDoodle(float iZOrder)
Details:
This constructor initializes the Z-
iZOrder
- the Z-orderpublic float getZOrder()
Details:
getZOrder()
returns the current Z-
public void setZOrder(float iZOrder)
Details:
setZOrder(float)
updates the Z-Doodle
and instructs views to redraw.
iZOrder
- new property valuepublic String getToolTip()
Details:
getToolTip()
returns the current ToolTip
property.
getToolTip
in interface ToolTip
public void setToolTip(String iToolTip)
Details:
setToolTip(String)
updates the current ToolTip
property.
Changes to this property may not be immediately reflected in views.
In other words, if a view is already showing the tool tip for this Doodle
, the new tool tip text may not be observed until the tip is redisplayed.
setToolTip
in interface ToolTip
iToolTip
- new property valueCopyright © 2013. All Rights Reserved.