org.grinvin.invariants.values

Class ListOfRealsValueDelegate

Implemented Interfaces:
InvariantValueDelegate<T,extends,InvariantValue>

public class ListOfRealsValueDelegate
extends AbstractInvariantValueDelegate<T,extends,InvariantValue>

Method Summary

static ListOfRealsValueDelegate
getInstance()
Class
getType()
boolean
hasDetails(ListOfRealsValue value)
This invariant value can display details.
ListOfRealsValue
loadValue(Element element, Invariant invariant, String computerId, String computerVersion)
void
saveValue(Element element, ListOfRealsValue listOfRealsValue)
void
showDetails(ListOfRealsValue value, GraphListElement element, JComponent component, int x, int y)
Pops up a dialog with the reals displayed as bar charts.

Methods inherited from class org.grinvin.invariants.values.AbstractInvariantValueDelegate<T,extends,InvariantValue>

fromElement, fromElement_1_0, hasDetails, initLabel, load, loadValue, load_1_0, saveValue, showDetails, toElement

Method Details

getInstance

public static ListOfRealsValueDelegate getInstance()

getType

public Class getType()
Specified by:
getType in interface InvariantValueDelegate<T,extends,InvariantValue>

hasDetails

public boolean hasDetails(ListOfRealsValue value)
This invariant value can display details.

loadValue

public ListOfRealsValue loadValue(Element element,
                                  Invariant invariant,
                                  String computerId,
                                  String computerVersion)
            throws IOFormatException
Overrides:
loadValue in interface AbstractInvariantValueDelegate<T,extends,InvariantValue>

saveValue

public void saveValue(Element element,
                      ListOfRealsValue listOfRealsValue)

showDetails

public void showDetails(ListOfRealsValue value,
                        GraphListElement element,
                        JComponent component,
                        int x,
                        int y)
Pops up a dialog with the reals displayed as bar charts.