|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.graphics.components.piechart.PieChartSubgroupModel
public class PieChartSubgroupModel
The PieChartSubgroupModel class contains attributes to modify how subgrouped pies are labeled.
PieChartModel
Constructor Summary | |
---|---|
PieChartSubgroupModel()
Default constructor. |
Method Summary | |
---|---|
void |
apply(PieChartSubgroupModel theOtherObject)
Utility method to convey properties contained in "theOtherObject" to this object. |
boolean |
equals(java.lang.Object obj)
Determines whether another object is equal to this PieChartSubgroupModel . |
int |
getPlacement()
Returns the placement of the subgroup labels in relation to the chart. |
int |
hashCode()
Computes the hash code for this PieChartSubgroupModel . |
boolean |
isDrillIconVisible()
Return if a drill-down icon should appear next to the subgroup label (if present). |
void |
setDrillIconVisible(boolean newVis)
Set if a drill-down icon should appear next to the subgroup label (if present). |
void |
setPlacement(int newPlacement)
Sets the placement of the subgroups labels in relation to the chart. |
Methods inherited from class com.sas.graphics.components.ContentsModel |
---|
apply, getLabel, getLabelTextStyle, getValueTextStyle, isVisible, setLabel, setLabelTextStyle, setValueTextStyle, setVisible |
Methods inherited from class com.sas.graphics.components.ModelBase |
---|
addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, setContainedModel |
Constructor Detail |
---|
public PieChartSubgroupModel()
Method Detail |
---|
public void apply(PieChartSubgroupModel theOtherObject)
Note: Contained "models" (i.e. properties that are subclasses of ModelBase) will in turn be called on to convey their properties to the like contained models in the other object. In that respect this can be considered a "tree" type copy.
Also Note: This is a deep copy. Thus after the copy, mutable properties will not be shared by the two instances.
theOtherObject
- properties applied to this instancepublic void setPlacement(int newPlacement)
Valid values are:
The entire subgroup label block may be suppressed if the number of entries and font sizes make it impossible to fit in the available vertical space.
newPlacement
- subgroup label block placement specification
java.lang.IllegalArgumentException
- if an invalid value is passed in.getPlacement()
public int getPlacement()
setPlacement(int)
public void setDrillIconVisible(boolean newVis)
newVis
- Should the drill-down icon be displayed?isDrillIconVisible()
public boolean isDrillIconVisible()
setDrillIconVisible(boolean)
public boolean equals(java.lang.Object obj)
PieChartSubgroupModel
.
The result is true
if and only if the argument is not
null
and is a PieChartSubgroupModel
object that has the same
property values as this object.
equals
in class ContentsModel
obj
- the object to test for equality with this
PieChartSubgroupModel
true
if the objects are the same;
false
otherwise.public int hashCode()
PieChartSubgroupModel
.
hashCode
in class ContentsModel
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |