|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
oracle.dss.graph.BaseGraphComponent | +--oracle.dss.graph.BaseText | +--oracle.dss.graph.SliceLabel
Describes a slice of a pie in a pie or ring graph. Each slice represents a data value.
Method Summary | |
int |
getTextRotation() Retrieves the rotation for the rectangle of this label. |
int |
getTextType() Retrieves a text type for this label. |
ViewFormat |
getViewFormat() Retrieves a ViewFormat object for this label. |
boolean |
isVisible() Indicates whether slice labels appear in the graph. |
boolean |
selectObject(int series, int group) Selects the label for an individual slice. |
void |
setTextRotation(int rotate) Specifies the rotation of rectangle of this label. |
void |
setTextType(int i) Specifies a text type of this label. |
void |
setViewFormat(ViewFormat viewFormat) Specifies a ViewFormat object for this label. |
void |
setVisible(boolean yesNo) Specifies whether slice labels appear in the graph. |
Methods inherited from class oracle.dss.graph.BaseText |
getDataviewFont, getFont, getGraphFont, isFontSizeAbsolute, setFont, setFontSizeAbsolute |
Methods inherited from interface oracle.dss.dataView.FontAttribute |
getFont, setFont |
Methods inherited from interface oracle.dss.dataView.DataviewFontAttribute |
getDataviewFont |
Method Detail |
public boolean selectObject(int series, int group)
selectObject
in class BaseGraphComponent
series
- The series
of the slice label that you want to select.group
- The group
of the slice label that you want to select.true
if successful, false
if not.public int getTextType()
BaseGraphComponent.LD_TEXT
, BaseGraphComponent.LD_VALUE
, BaseGraphComponent.LD_PERCENT
, BaseGraphComponent.LD_TEXT_PERCENT
public void setTextType(int i)
i
- A constant that represents a text type of this label.BaseGraphComponent.LD_TEXT
, BaseGraphComponent.LD_VALUE
, BaseGraphComponent.LD_PERCENT
, BaseGraphComponent.LD_TEXT_PERCENT
public int getTextRotation()
BaseGraphComponent.TR_HORIZ
, BaseGraphComponent.TR_HORIZ_ROTATE_90
, BaseGraphComponent.TR_HORIZ_ROTATE_270
public void setTextRotation(int rotate)
rotate
- A constant that represents the rotation of the rectangle of this label. If you enter an invalid parameter value, the graph logs an ErrorHandler
message and leaves the TextRotation
property unchanged.BaseGraphComponent.TR_HORIZ
, BaseGraphComponent.TR_HORIZ_ROTATE_90
, BaseGraphComponent.TR_HORIZ_ROTATE_270
public ViewFormat getViewFormat()
ViewFormat
object for this label. The ViewFormat
objects allow you to format numbers.getViewFormat
in interface Formattable
ViewFormat
object for this label.public void setViewFormat(ViewFormat viewFormat)
ViewFormat
object for this label. The ViewFormat
objects allow you to format numbers.setViewFormat
in interface Formattable
viewFormat
- A ViewFormat
object for this label.public boolean isVisible()
isVisible
in interface Visible
true
if it is visible, false
if it is invisible.public void setVisible(boolean yesNo)
Visible
property to false
has the same effect as setting the LabelPosition
property of the Slice
to BaseGraphComponent.LP_NO_LABELS
.setVisible
in interface Visible
yesNo
- true
to display slice labels, false
to hide them.Slice.setLabelPosition(int)
, BaseGraphComponent.LP_NO_LABELS
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |