public class IndividualGraphDataSetProperties extends MultiArrayDataProperties
| Constructor and Description |
|---|
IndividualGraphDataSetProperties() |
| Modifier and Type | Method and Description |
|---|---|
JPanel |
getDataSetDescriptionPane(JScrollPane Legend,
String DataSetLabel,
ColorMap map,
DataSet set)
Plot the Legend for this Dataset.
|
boolean |
getItemFlexibility()
Get information whether this dataset can be layouted flexibly or whether it has to obay the precisoe dimensions provided.
|
Localisation.Position |
getLocalisationPreference()
Get the preferred Localisation
Localisation.Position.CENTER, Localisation.Position.EDGE, Localisation.Position.FREE of this dataset. |
String |
getTypeName()
Get the type of DataSet (this can be used for display purposes
|
Collection<Class<? extends DataSet>> |
getWorkingClassTypes()
Get the DataSet class Types these Properties are supposed to work with.
|
DataContainer |
newContainerInstance(DataSet origin,
NodeData data)
|
void |
testValidity(DataSet set)
Test, whether the provided DataSet is valid to be used with these properties.
|
String |
toString()
Override the ToString Method
|
equalspublic Localisation.Position getLocalisationPreference()
DataSetLayoutPropertiesLocalisation.Position.CENTER, Localisation.Position.EDGE, Localisation.Position.FREE of this dataset.getLocalisationPreference in class DataSetLayoutPropertiespublic boolean getItemFlexibility()
DataSetLayoutPropertiesgetItemFlexibility in class DataSetLayoutPropertiespublic DataContainer newContainerInstance(DataSet origin, NodeData data)
DataSetLayoutPropertiesnewContainerInstance in class DataSetLayoutPropertiesorigin - the DataSet a new Container instance is created for. This DataSet has to pass the testValididty Method, or the behaviour is undefined.data - a node dataDataSet and NodeDatapublic String getTypeName()
DataSetLayoutPropertiesgetTypeName in class DataSetLayoutPropertiespublic String toString()
DataSetLayoutPropertiestoString in class DataSetLayoutPropertiespublic void testValidity(DataSet set) throws WrongFormat
DataSetLayoutPropertiestestValidity in class DataSetLayoutPropertiesset - the DataSet to testWrongFormat - if the supplied set cannot be used.public JPanel getDataSetDescriptionPane(JScrollPane Legend, String DataSetLabel, ColorMap map, DataSet set)
DataSetLayoutPropertiesgetDataSetDescriptionPane in class DataSetLayoutPropertiesLegend - The Legend the returned Panel will be added to (to listen to resize events.DataSetLabel - the Label of the DataSet these properties are used formap - the colormap used for the corresponding datasetset - the dataset for which to generate a DescriptionPanepublic Collection<Class<? extends DataSet>> getWorkingClassTypes()
DataSetLayoutPropertiesgetWorkingClassTypes in class DataSetLayoutPropertiesCopyright © 2018. All rights reserved.