Klasse HierarchyWizardModelGrouping<T>
java.lang.Object
org.deidentifier.arx.gui.view.impl.wizard.HierarchyWizardModelAbstract<T>
org.deidentifier.arx.gui.view.impl.wizard.HierarchyWizardModelGrouping<T>
- Typparameter:
T-
- Bekannte direkte Unterklassen:
HierarchyWizardModelIntervals,HierarchyWizardModelOrder
A base-class for grouping-based builders, i.e., order-based and interval-based builders
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classThis class represents a group.static classThis class represents an interval.static classThis class represents an adjustment. -
Feldübersicht
Von Klasse geerbte Felder org.deidentifier.arx.gui.view.impl.wizard.HierarchyWizardModelAbstract
data, error, groupsizes, hierarchy, view, visible -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungHierarchyWizardModelGrouping(String[] data, DataType<T> type, boolean intervals) Creates a new instance. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidAdds an element after the given one.voidAdds an element before the given one.voidAdds a column.Returns the default aggregate function.booleanIs this the first interval.booleanIs this the last interval.booleanvoidMerges the interval down.voidMerges the interval up.voidparse(HierarchyBuilderIntervalBased<T> builder) Parses an interval-based spec.voidparse(HierarchyBuilderOrderBased<T> builder) Parses an order-based spec.voidregister(HierarchyWizard.HierarchyWizardView component) Registers a part of the UI.voidRemoves the given object.voidsetDefaultFunction(AggregateFunction<T> function) Sets the default aggregate function.voidsetSelectedElement(Object selected) Updates the selected element.voidupdate()Update the model and all UI components.voidUpdate the model and all UI components, apart from the sender.voidUpdate the UI components.Von Klasse geerbte Methoden org.deidentifier.arx.gui.view.impl.wizard.HierarchyWizardModelAbstract
build, getBuilder, getData, getError, getGroups, getHierarchy, parse, setView, setVisible
-
Konstruktordetails
-
HierarchyWizardModelGrouping
Creates a new instance.- Parameter:
data-type-intervals-
-
-
Methodendetails
-
addAfter
Adds an element after the given one.- Parameter:
selected-
-
addBefore
Adds an element before the given one.- Parameter:
selected-
-
addRight
Adds a column.- Parameter:
selected-
-
getDataType
- Gibt zurück:
- the type
-
getDefaultFunction
Returns the default aggregate function.- Gibt zurück:
-
getIntervals
- Gibt zurück:
- the intervals
-
getLowerRange
- Gibt zurück:
- the lower
-
getModelGroups
- Gibt zurück:
- the groups
-
getRenderer
- Gibt zurück:
- the renderer
-
getSelectedElement
- Gibt zurück:
- the selected
-
getUpperRange
- Gibt zurück:
- the upper
-
isFirst
Is this the first interval.- Parameter:
interval-- Gibt zurück:
-
isLast
Is this the last interval.- Parameter:
interval-- Gibt zurück:
-
isShowIntervals
public boolean isShowIntervals()- Gibt zurück:
- the showIntervals
-
mergeDown
Merges the interval down.- Parameter:
selected-
-
mergeUp
Merges the interval up.- Parameter:
selected-
-
parse
Parses an interval-based spec.- Parameter:
builder-
-
parse
Parses an order-based spec.- Parameter:
builder-- Löst aus:
IllegalArgumentException
-
register
Registers a part of the UI.- Parameter:
component-
-
remove
Removes the given object.- Parameter:
selected-
-
setDefaultFunction
Sets the default aggregate function.- Parameter:
function-
-
setSelectedElement
Updates the selected element.- Parameter:
selected-
-
update
public void update()Update the model and all UI components.- Setzt außer Kraft:
updatein KlasseHierarchyWizardModelAbstract<T>
-
update
Update the model and all UI components, apart from the sender.- Parameter:
sender-
-
updateUI
Update the UI components.- Angegeben von:
updateUIin KlasseHierarchyWizardModelAbstract<T>
-