|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object comirva.config.CircledFansConfig
public class CircledFansConfig
This class represents a configuration for a Circled-Fans-Visualization. It is used to pass a configuration to the visualization pane.
Constructor Summary | |
---|---|
CircledFansConfig(int maxBarThickness,
int maxDataItemsL0,
int maxDataItemsL1,
int angleFanL1,
boolean randomCenter,
int idxCenter,
boolean normalizeData)
Creates a new instance of a CircledFans-Configuration. |
Method Summary | |
---|---|
int |
getAngleFanL1()
Returns the angular extent for fans on level 1. |
int |
getIndexCenter()
Returns the index of the data item that resides in the center of the visualization. |
int |
getMaxBarThickness()
Returns the maximum bar thickness. |
int |
getMaxDataItemsL0()
Returns the maximum number of data items on level 0. |
int |
getMaxDataItemsL1()
Returns the maximum number of data items on level 1. |
boolean |
isNormalizeData()
Returns whether the data should be normalized for every fan. |
boolean |
isRandomCenter()
Returns whether a random center should be chosen or the center is selected by the user. |
void |
setIndexCenter(int idxCenter)
Sets the index of the data item in the center of the visualization. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CircledFansConfig(int maxBarThickness, int maxDataItemsL0, int maxDataItemsL1, int angleFanL1, boolean randomCenter, int idxCenter, boolean normalizeData)
maxBarThickness
- the maximum thickness of a barmaxDataItemsL0
- the maximum number of data items on level 0 (inner circle)maxDataItemsL1
- the maximum number of data items on level 1 (outer fans)angleFanL1
- the angular extent for fans on level 1randomCenter
- a boolean indicating whether a random element should be picked as centeridxCenter
- the index of the data item in the center of the visualization (ignored if randomCenter is true
)normalizeData
- a boolean indicating whether the data should be normalized for every fan or notMethod Detail |
---|
public int getMaxBarThickness()
public int getMaxDataItemsL0()
public int getMaxDataItemsL1()
public int getAngleFanL1()
public void setIndexCenter(int idxCenter)
idxCenter
- the index of the centermost data itempublic int getIndexCenter()
public boolean isNormalizeData()
public boolean isRandomCenter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |