K
- public abstract class GUIPropertySinglePage<K> extends java.lang.Object implements GUIProperty<K>
Constructor and Description |
---|
GUIPropertySinglePage() |
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> |
getFooterRows(E element)
The footer row(s) for a property
|
<E extends PropertableElement> |
getHeaderRows(E element)
The header row(s) for a property
|
<E extends PropertableElement,P extends Property<?>> |
initialiseGUIProperty(org.processmining.contexts.uitopia.UIPluginContext context,
E model,
java.util.Collection<E> elements,
P property,
java.util.HashMap<E,java.lang.Object> mapping,
boolean independent)
Sets a particular property, note we need to have the actual property to be able to obtain the header, and data rows
|
<E extends PropertableElement,P extends Property<?>> |
initialiseTabPane(java.util.Collection<E> elements,
P property,
java.lang.Object elementLines,
boolean editable,
boolean independent)
Generic way to get the component for a collection of elements and a property, the editable is for view/edit functionality
|
<E extends PropertableElement,P extends Property<?>> |
initialiseTabPane(E element,
P property,
java.lang.Object elementLines,
boolean editable,
boolean independent)
Generic way to get the component for an element and a property, the editable is for view/edit functionality
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
parseComponents
public <E extends PropertableElement,P extends Property<?>> void initialiseGUIProperty(org.processmining.contexts.uitopia.UIPluginContext context, E model, java.util.Collection<E> elements, P property, java.util.HashMap<E,java.lang.Object> mapping, boolean independent) throws java.lang.InstantiationException, java.lang.IllegalAccessException
GUIProperty
initialiseGUIProperty
in interface GUIProperty<K>
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<K>
public <E extends PropertableElement> java.util.List<java.util.List<javax.swing.JComponent>> getFooterRows(E element)
GUIProperty
getFooterRows
in interface GUIProperty<K>
public <E extends PropertableElement,P extends Property<?>> javax.swing.JComponent initialiseTabPane(java.util.Collection<E> elements, P property, java.lang.Object elementLines, boolean editable, boolean independent) throws java.lang.InstantiationException, java.lang.IllegalAccessException
GUIProperty
initialiseTabPane
in interface GUIProperty<K>
java.lang.InstantiationException
java.lang.IllegalAccessException
public <E extends PropertableElement,P extends Property<?>> javax.swing.JComponent initialiseTabPane(E element, P property, java.lang.Object elementLines, boolean editable, boolean independent) throws java.lang.InstantiationException, java.lang.IllegalAccessException
GUIProperty
initialiseTabPane
in interface GUIProperty<K>
java.lang.InstantiationException
java.lang.IllegalAccessException
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<K>
java.lang.InstantiationException
java.lang.IllegalAccessException
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<K>
java.lang.InstantiationException
java.lang.IllegalAccessException