Module org.autogui
Package org.autogui.swing.table
Class GuiSwingTableModelCollection.PreferencesForTableColumnOrderStatic
java.lang.Object
org.autogui.swing.table.GuiSwingTableModelCollection.PreferencesForTableColumnOrderStatic
- All Implemented Interfaces:
GuiSwingPrefsSupports.Preferences
,GuiSwingPrefsSupports.PreferencesByJsonEntry
- Enclosing class:
GuiSwingTableModelCollection
public static class GuiSwingTableModelCollection.PreferencesForTableColumnOrderStatic
extends Object
implements GuiSwingPrefsSupports.PreferencesByJsonEntry
preferences for ordering of non-context table columns, attached to a list
"$columnOrder": { "0": { "modelIndex":m, "viewIndex":i},... }
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
applyTo
(ObjectTableModelColumns columns, int modelIndex) get
(int modelIndex) getKey()
void
put
(int modelIndex, GuiSwingTableModelCollection.PreferencesForTableColumnOrder w) void
toJson()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.autogui.swing.prefs.GuiSwingPrefsSupports.PreferencesByJsonEntry
loadFrom, loadFromAndToJson, saveTo, setJsonAndSaveTo
-
Field Details
-
modelIndexToOrder
protected Map<Integer,GuiSwingTableModelCollection.PreferencesForTableColumnOrder> modelIndexToOrder
-
-
Constructor Details
-
PreferencesForTableColumnOrderStatic
public PreferencesForTableColumnOrderStatic()
-
-
Method Details
-
getModelIndexToOrderDirect
public Map<Integer,GuiSwingTableModelCollection.PreferencesForTableColumnOrder> getModelIndexToOrderDirect()- Returns:
- the direct reference to the map (LinkedHashMap)
- Since:
- 1.7
-
getKey
- Specified by:
getKey
in interfaceGuiSwingPrefsSupports.PreferencesByJsonEntry
-
put
-
applyTo
-
get
-
toJson
- Specified by:
toJson
in interfaceGuiSwingPrefsSupports.PreferencesByJsonEntry
-
setJson
- Specified by:
setJson
in interfaceGuiSwingPrefsSupports.PreferencesByJsonEntry
-