|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.graphics.components.AxisWallModel
public class AxisWallModel
An AxisWallModel is used by a chart model to store all the walls and floor related properties.
AxisWallModel myAxisWallModel = myBarChartModel.getAxisWallModel(); myAxisWallModel.getWallFillStyle().setFillType(FillStyle.FILL_TYPE_GRADIENT); myAxisWallModel.getWallFillStyle().setGradientFill(FillStyle.GRADIENT_FILL_DIAGONAL_DOWN); myAxisWallModel.getWallFillStyle().setGradientFillBeginColor(Color.RED); myAxisWallModel.getWallFillStyle().setGradientFillEndColor(Color.BLUE);
ModelBase
,
FillStyle
,
BarChartModel
,
ScatterPlotModel
,
LinePlotModel
Constructor Summary | |
---|---|
AxisWallModel()
Default constructor. |
Method Summary | |
---|---|
void |
apply(AxisWallModel 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 AxisWallModel . |
FillStyle |
getFloorFillStyle()
Returns the fill attributes for the axis floor. |
FillStyle |
getWallFillStyle()
Returns the fill attributes for the axis walls. |
int |
hashCode()
Computes the hash code for this AxisWallModel . |
void |
setFloorFillStyle(FillStyle newFillStyle)
Set the fill attributes for the axis floor. |
void |
setWallFillStyle(FillStyle newWallFillStyle)
Set the fill attributes for the axis walls. |
Methods inherited from class com.sas.graphics.components.ModelBase |
---|
addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, setContainedModel |
Constructor Detail |
---|
public AxisWallModel()
Method Detail |
---|
public void apply(AxisWallModel 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
- a AxisWallModel whose properties to be appliedpublic void setWallFillStyle(FillStyle newWallFillStyle) throws java.lang.IllegalArgumentException
newWallFillStyle
- the new repository for the axis wall fill attributes
java.lang.IllegalArgumentException
- if newWallFillStyle is null.getWallFillStyle()
,
FillStyle.apply(com.sas.graphics.components.FillStyle)
public FillStyle getWallFillStyle()
setWallFillStyle(com.sas.graphics.components.FillStyle)
,
FillStyle.apply(com.sas.graphics.components.FillStyle)
public void setFloorFillStyle(FillStyle newFillStyle) throws java.lang.IllegalArgumentException
newFillStyle
- - the new repository for the axis floor fill attributes
java.lang.IllegalArgumentException
- if newFillStyle is null.getFloorFillStyle()
,
FillStyle.apply(com.sas.graphics.components.FillStyle)
public FillStyle getFloorFillStyle()
Note: Floor is not visible for two-dimensional charts.
setFloorFillStyle(com.sas.graphics.components.FillStyle)
,
FillStyle.apply(com.sas.graphics.components.FillStyle)
public boolean equals(java.lang.Object obj)
AxisWallModel
.
The result is true
if and only if the argument is not
null
and is a AxisWallModel
object that has the same
property values as this object.
equals
in class ModelBase
obj
- the object to test for equality with this
AxisWallModel
true
if the objects are the same;
false
otherwise.public int hashCode()
AxisWallModel
.
hashCode
in class ModelBase
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |