|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.graph.aesthetic.VisualFrame
inetsoft.graph.aesthetic.ShapeFrame
inetsoft.graph.aesthetic.CategoricalShapeFrame
public class CategoricalShapeFrame
This class defines a shape frame for categorical values.
| Constructor Summary | |
|---|---|
CategoricalShapeFrame()
Create a shape frame for categorical values. |
|
CategoricalShapeFrame(String field)
Create a shape frame. |
|
| Method Summary | |
|---|---|
Object |
clone()
Create a copy of this object. |
boolean |
equals(Object obj)
Check if equals another object. |
GShape |
getShape(DataSet data,
String col,
int row)
Get the shape for the specified cell. |
GShape |
getShape(int index)
Get the shape at the specified index. |
GShape |
getShape(Object val)
Get a shape for the specified value. |
int |
getShapeCount()
Get the shape count. |
void |
init(DataSet data)
Initialize the categorical shape frame with categorical values from the dimension column. |
void |
init(Object[] vals)
Initialize the categorical shape frame with categorical values. |
void |
init(Object[] vals,
GShape[] shps)
Initialize the categorical shape frame with categorical values and shapes. |
boolean |
isStatic(Object val)
Check if the value is assigned a static aesthetic value. |
void |
setShape(int index,
GShape shape)
Set the shape at the specified index. |
void |
setShape(Object val,
GShape shape)
Set the shape for the specified value. |
| Methods inherited from class inetsoft.graph.aesthetic.VisualFrame |
|---|
createComparator, getField, getLabels, getLegendFrame, getLegendSpec, getScale, getScaleOption, getTitle, getValues, hashCode, isValid, isVisible, setField, setLegendFrame, setLegendSpec, setScale, setScaleOption, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CategoricalShapeFrame()
public CategoricalShapeFrame(String field)
field - field to get value to map to shapes.| Method Detail |
|---|
public void init(Object[] vals)
public void init(Object[] vals,
GShape[] shps)
public void init(DataSet data)
init in class VisualFrame
public GShape getShape(DataSet data,
String col,
int row)
getShape in class ShapeFramedata - the specified dataset.col - the name of the specified column.row - the specified row index.public GShape getShape(Object val)
getShape in class ShapeFrame
public void setShape(Object val,
GShape shape)
public boolean isStatic(Object val)
isStatic in interface CategoricalFramepublic GShape getShape(int index)
public void setShape(int index,
GShape shape)
public int getShapeCount()
public boolean equals(Object obj)
equals in class VisualFramepublic Object clone()
clone in class VisualFrame
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||