|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.graphics.components.GraphMatrixAxisModel
public class GraphMatrixAxisModel
The GraphMatrixAxisModel class stores general appearance settings for row and column axes for the graph matrix. For information on the appearance settings of a graph axis, such as a category or response axis in a BarChart see the AxisModel class.
GraphMatrixAxisModel myColumnAxisModel = myBarChartModel.getColumnAxisModel(); myColumnAxisModel.setOutlineEnabled(true); myColumnAxisModel.setOutlineColor(Color.blue); myColumnAxisModel.setDisplyMode(GraphMatrixAxisModel.DISPLAY_MODE_TUPLE);
label
property inherited from ContentsModel
is not very
useful for this class. When used the
ModelBase
,
FillStyle
,
TextStyle
,
GraphModel
Constructor Summary | |
---|---|
GraphMatrixAxisModel()
Default constructor. |
Method Summary | |
---|---|
void |
apply(GraphMatrixAxisModel 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 GraphMatrixAxisModel . |
java.awt.Color |
getBackgroundFillColor()
Deprecated. use getValueCellStyle().getBackgroundColors()[0]; |
int |
getBackgroundVisibilityPolicy()
Deprecated. use getValueCellStyle().getBackgroundVisibilityPolicy(); |
LineStyle |
getFrameLineStyle()
Deprecated. use getValueCellStyle().getFrameLineStyle(); |
ClassificationCellStyle |
getValueCellStyle()
Returns the ClassificationCellStyle that contains the set of display properties used to define the appearance of the axis cells including its background color, frame line and shadingPolicy. |
int |
hashCode()
Computes the hash code for this GraphMatrixAxisModel . |
void |
setBackgroundFillColor(java.awt.Color newColor)
Deprecated. use getValueCellStyle().setBackgroundColors(new Color[] {newColor}); |
void |
setBackgroundVisibilityPolicy(int newVisibilityPolicy)
Deprecated. use getValueCellStyle().setBackgroundVisibilityPolicy(newVisibilityPolicy); |
void |
setFrameLineStyle(LineStyle newFrameLineStyle)
Deprecated. use getValueCellStyle().setFrameLineStyle(LineStyle); |
void |
setValueCellStyle(ClassificationCellStyle newCellStyle)
Sets the ClassificationCellStyle that contains the set of display properties used to define the appearance of the axis cells including its background color, frame line and shadingPolicy. |
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 GraphMatrixAxisModel()
Method Detail |
---|
public void apply(GraphMatrixAxisModel 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 setValueCellStyle(ClassificationCellStyle newCellStyle)
java.lang.IllegalArgumentException
- if newCellStyle is null.getValueCellStyle()
public ClassificationCellStyle getValueCellStyle()
setValueCellStyle(com.sas.graphics.components.ClassificationCellStyle)
public void setFrameLineStyle(LineStyle newFrameLineStyle) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public LineStyle getFrameLineStyle()
public void setBackgroundFillColor(java.awt.Color newColor)
public java.awt.Color getBackgroundFillColor()
public void setBackgroundVisibilityPolicy(int newVisibilityPolicy) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public int getBackgroundVisibilityPolicy()
public boolean equals(java.lang.Object obj)
GraphMatrixAxisModel
.
The result is true
if and only if the argument is not
null
and is a GraphMatrixAxisModel
object that has the same
property values as this object.
equals
in class ContentsModel
obj
- the object to test for equality with this
GraphMatrixAxisModel
true
if the objects are the same;
false
otherwise.public int hashCode()
GraphMatrixAxisModel
.
hashCode
in class ContentsModel
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |