java.lang.Object
org.autogui.swing.GuiSwingViewNumberSpinner
- All Implemented Interfaces:
GuiSwingElement,GuiSwingView
a swing view for
GuiReprValueNumberSpinner
swing-value
GuiSwingViewNumberSpinner.PropertyNumberSpinner.getSwingViewValue():
spinner-model's value as Number, but the value type is actually Object because
it includes GuiReprValueNumberSpinner.Infinity.
updating is caused by
(JSpinner.setValue(Object) -> change-listener,
focus-lost or action-performed) -> taskRunner ->
GuiSwingViewNumberSpinner.PropertyNumberSpinner.updateNumber(List)
history-value
supported.string-transfer
GuiSwingViewNumberSpinner.NumberTransferHandler.
formatted by formatter of GuiSwingViewNumberSpinner.PropertyNumberSpinner.getEditorField()
which is actually a GuiSwingViewNumberSpinner.TypedNumberFormatter with format returned
by GuiReprValueNumberSpinner.NumberType.getFormat()
preference
{
"maximum" : String,
"minimum" : String,
"stepSize" : String,
"format" : String
}
$settingWindow : GuiSwingPrefsSupports.WindowPreferencesUpdater-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classNested classes/interfaces inherited from interface org.autogui.swing.GuiSwingView
GuiSwingView.ContextRefreshAction, GuiSwingView.SettingsWindowClient, GuiSwingView.SpecifierManager, GuiSwingView.SpecifierManagerDefault, GuiSwingView.ToStringCopyAction, GuiSwingView.ValuePane<ValueType> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateView(GuiMappingContext context, Supplier<GuiReprValue.ObjectSpecifier> parentSpecifier) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.autogui.swing.GuiSwingView
isComponentResizable
-
Field Details
-
NUMBER_SETTING_WINDOW_PREFS_KEY
- See Also:
-
-
Constructor Details
-
GuiSwingViewNumberSpinner
public GuiSwingViewNumberSpinner()
-
-
Method Details
-
createView
public JComponent createView(GuiMappingContext context, Supplier<GuiReprValue.ObjectSpecifier> parentSpecifier) - Specified by:
createViewin interfaceGuiSwingView
-