public class GUIPropertyDistribution extends GUIPropertySinglePage<Distribution>
Constructor and Description |
---|
GUIPropertyDistribution() |
Modifier and Type | Method and Description |
---|---|
<E extends PropertableElement,P extends Property<?>> |
fillGUI(P prop,
E element,
AddButton button,
java.util.List<java.util.List<javax.swing.JComponent>> dataRows,
boolean independent)
Fill the GUI with the values of the property
|
<E extends PropertableElement> |
getDataRow(E element)
The data row for a property, i.e., which things will be added when the "add" button is pressed
|
<E extends PropertableElement> |
getHeaderRows(E element)
The header row(s) for a property
|
<P extends Property<?>> |
parseComponents(P property,
java.util.List<java.util.List<java.util.List<java.lang.Object>>> lines)
Parse the components and make appropriate data structures out of it
|
getFooterRows, initialiseGUIProperty, initialiseTabPane, initialiseTabPane
public <E extends PropertableElement,P extends Property<?>> void fillGUI(P prop, E element, AddButton button, java.util.List<java.util.List<javax.swing.JComponent>> dataRows, boolean independent) throws java.lang.InstantiationException, java.lang.IllegalAccessException
GUIProperty
fillGUI
in interface GUIProperty<Distribution>
fillGUI
in class GUIPropertySinglePage<Distribution>
java.lang.InstantiationException
java.lang.IllegalAccessException
public <E extends PropertableElement> java.util.List<java.util.List<javax.swing.JComponent>> getHeaderRows(E element)
GUIProperty
getHeaderRows
in interface GUIProperty<Distribution>
getHeaderRows
in class GUIPropertySinglePage<Distribution>
public <E extends PropertableElement> java.util.List<java.util.List<javax.swing.JComponent>> getDataRow(E element) throws java.lang.InstantiationException, java.lang.IllegalAccessException
GUIProperty
getDataRow
in interface GUIProperty<Distribution>
getDataRow
in class GUIPropertySinglePage<Distribution>
java.lang.InstantiationException
java.lang.IllegalAccessException
public <P extends Property<?>> Distribution parseComponents(P property, java.util.List<java.util.List<java.util.List<java.lang.Object>>> lines) throws java.lang.InstantiationException, java.lang.IllegalAccessException
GUIProperty
java.lang.InstantiationException
java.lang.IllegalAccessException