Module org.autogui
Package org.autogui.swing.table
Class GuiSwingTableModelCollection.PreferencesForTableColumnWidthStatic
java.lang.Object
org.autogui.swing.table.GuiSwingTableModelCollection.PreferencesForTableColumnWidthStatic
- All Implemented Interfaces:
GuiSwingPrefsSupports.Preferences
,GuiSwingPrefsSupports.PreferencesByJsonEntry
- Enclosing class:
GuiSwingTableModelCollection
public static class GuiSwingTableModelCollection.PreferencesForTableColumnWidthStatic
extends Object
implements GuiSwingPrefsSupports.PreferencesByJsonEntry
preferences for width of non-context table columns, attached to a list
"$columnWidth": {"0":{ "width":w },... }
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyTo
(ObjectTableColumn column) getKey()
void
put
(int modelIndex, GuiSwingTableModelCollection.PreferencesForTableColumnWidth 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
-
modelIndexToWidth
protected Map<Integer,GuiSwingTableModelCollection.PreferencesForTableColumnWidth> modelIndexToWidth
-
-
Constructor Details
-
PreferencesForTableColumnWidthStatic
public PreferencesForTableColumnWidthStatic()
-
-
Method Details
-
getKey
- Specified by:
getKey
in interfaceGuiSwingPrefsSupports.PreferencesByJsonEntry
-
getModelIndexToWidthDirect
public Map<Integer,GuiSwingTableModelCollection.PreferencesForTableColumnWidth> getModelIndexToWidthDirect()- Returns:
- direct reference to the map (actually a LinkedHashMap)
- Since:
- 1.7
-
put
-
applyTo
-
toJson
- Specified by:
toJson
in interfaceGuiSwingPrefsSupports.PreferencesByJsonEntry
-
setJson
- Specified by:
setJson
in interfaceGuiSwingPrefsSupports.PreferencesByJsonEntry
-