Klasse HierarchyWizardModelAbstract<T>
java.lang.Object
org.deidentifier.arx.gui.view.impl.wizard.HierarchyWizardModelAbstract<T>
- Typparameter:
T-
- Bekannte direkte Unterklassen:
HierarchyWizardModelDate,HierarchyWizardModelGrouping,HierarchyWizardModelPriority,HierarchyWizardModelRedaction
An abstract base model for all builders.
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected final String[]Var.protected StringVar.protected int[]Var.protected AttributeType.HierarchyVar.protected HierarchyWizard.HierarchyWizardViewVar.protected booleanVar. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected abstract voidbuild()Implement this to run the builder.abstract HierarchyBuilder<T> getBuilder(boolean serializable) Returns the builder currently configured.String[]getData()Returns the data.getError()Returns an error message, null if everything is ok.int[]Returns the sizes of the resulting groups.Returns the resulting hierarchy.abstract voidparse(HierarchyBuilder<T> builder) Parses a builder and updates the model accordingly.voidSets the according view.protected voidsetVisible(boolean visible) Set visible.voidupdate()Updates the resulting hierarchy and the view.abstract voidUpdates all UI components apart from the sender
-
Felddetails
-
data
Var. -
groupsizes
protected int[] groupsizesVar. -
hierarchy
Var. -
error
Var. -
view
Var. -
visible
protected boolean visibleVar.
-
-
Konstruktordetails
-
HierarchyWizardModelAbstract
Creates a new instance.- Parameter:
data-
-
-
Methodendetails
-
getBuilder
Returns the builder currently configured.- Parameter:
serializable-- Gibt zurück:
- Löst aus:
Exception
-
getData
Returns the data.- Gibt zurück:
-
getError
Returns an error message, null if everything is ok.- Gibt zurück:
-
getGroups
public int[] getGroups()Returns the sizes of the resulting groups.- Gibt zurück:
-
getHierarchy
Returns the resulting hierarchy.- Gibt zurück:
-
parse
Parses a builder and updates the model accordingly.- Parameter:
builder-
-
setView
Sets the according view.- Parameter:
view-
-
update
public void update()Updates the resulting hierarchy and the view. -
updateUI
Updates all UI components apart from the sender -
build
protected abstract void build()Implement this to run the builder. -
setVisible
protected void setVisible(boolean visible) Set visible.- Parameter:
visible-
-