public interface Label extends IChartObject
The following features are supported:
| 限定符和类型 | 方法和说明 |
|---|---|
Label |
copyInstance() |
Fill |
getBackground()
Returns the value of the 'Background' containment reference.
|
Text |
getCaption()
Returns the value of the 'Caption' containment reference.
|
int |
getEllipsis()
Returns the value of the 'Ellipsis' attribute.
|
Insets |
getInsets()
Returns the value of the 'Insets' containment reference.
|
LineAttributes |
getOutline()
Returns the value of the 'Outline' containment reference.
|
ColorDefinition |
getShadowColor()
Returns the value of the 'Shadow Color' containment reference.
|
boolean |
isSetEllipsis()
Returns whether the value of the '
Ellipsis' attribute is set |
boolean |
isSetVisible()
Returns whether the value of the '
Visible' attribute is set.
|
boolean |
isVisible()
Returns the value of the 'Visible' attribute.
|
void |
setBackground(Fill value)
Sets the value of the '
Background' containment reference |
void |
setCaption(Text value)
Sets the value of the '
Caption' containment reference |
void |
setEllipsis(int value)
Sets the value of the '
Ellipsis' attribute |
void |
setInsets(Insets value)
Sets the value of the '
Insets' containment reference |
void |
setOutline(LineAttributes value)
Sets the value of the '
Outline' containment reference |
void |
setShadowColor(ColorDefinition value)
Sets the value of the '
Shadow Color' containment reference |
void |
setVisible(boolean value)
Sets the value of the '
Visible' attribute |
void |
unsetEllipsis()
Unsets the value of the '
Ellipsis' attribute |
void |
unsetVisible()
Unsets the value of the '
Visible' attribute |
Text getCaption()
setCaption(Text),
ComponentPackage.getLabel_Caption()void setCaption(Text value)
Caption' containment reference.
value - the new value of the 'Caption' containment reference.getCaption()Fill getBackground()
setBackground(Fill),
ComponentPackage.getLabel_Background()void setBackground(Fill value)
Background' containment reference.
value - the new value of the 'Background' containment reference.getBackground()LineAttributes getOutline()
setOutline(LineAttributes),
ComponentPackage.getLabel_Outline()void setOutline(LineAttributes value)
Outline' containment reference.
value - the new value of the 'Outline' containment reference.getOutline()ColorDefinition getShadowColor()
setShadowColor(ColorDefinition),
ComponentPackage.getLabel_ShadowColor()void setShadowColor(ColorDefinition value)
Shadow Color' containment reference.
value - the new value of the 'Shadow Color' containment reference.getShadowColor()Insets getInsets()
setInsets(Insets),
ComponentPackage.getLabel_Insets()void setInsets(Insets value)
Insets' containment reference.
value - the new value of the 'Insets' containment reference.getInsets()boolean isVisible()
"true".
Specifies whether or not the label is visible on the chart.
By default it's true;
isSetVisible(),
unsetVisible(),
setVisible(boolean),
ComponentPackage.getLabel_Visible()void setVisible(boolean value)
Visible' attribute.
value - the new value of the 'Visible' attribute.isSetVisible(),
unsetVisible(),
isVisible()void unsetVisible()
Visible' attribute.
boolean isSetVisible()
Visible' attribute is set. unsetVisible(),
isVisible(),
setVisible(boolean)int getEllipsis()
"0".
Specifies the min count of characters before ellipsis. 0 means ellipsis won't be used.
isSetEllipsis(),
unsetEllipsis(),
setEllipsis(int),
ComponentPackage.getLabel_Ellipsis()void setEllipsis(int value)
Ellipsis' attribute.
value - the new value of the 'Ellipsis' attribute.isSetEllipsis(),
unsetEllipsis(),
getEllipsis()void unsetEllipsis()
Ellipsis' attribute.
boolean isSetEllipsis()
Ellipsis' attribute is set.
unsetEllipsis(),
getEllipsis(),
setEllipsis(int)Label copyInstance()
copyInstance 在接口中 IChartObjectCopyright © 2005-2008 Actuate Corp. All rights reserved.