java.lang.Object
org.autogui.swing.GuiSwingViewEnumComboBox
- All Implemented Interfaces:
GuiSwingElement
,GuiSwingView
a swing view for
GuiReprValueEnumComboBox
swing-value
GuiSwingViewEnumComboBox.PropertyEnumComboBox.getSwingViewValue()
:
the selected Enum
member.
updating is caused by JComboBox.setSelectedItem(Object)
->
item-listener: GuiSwingViewEnumComboBox.PropertyEnumComboBox.itemStateChanged(ItemEvent)
history-value
supported.string-transfer
GuiSwingViewEnumComboBox.EnumTransferHandler
.
reading Enum.name()
or Enum.ordinal()
, and writing Enum.name()
.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
Nested classes/interfaces inherited from interface org.autogui.swing.GuiSwingView
GuiSwingView.ContextRefreshAction, GuiSwingView.SettingsWindowClient, GuiSwingView.SpecifierManager, GuiSwingView.SpecifierManagerDefault, GuiSwingView.ToStringCopyAction, GuiSwingView.ValuePane<ValueType>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateView
(GuiMappingContext context, Supplier<GuiReprValue.ObjectSpecifier> parentSpecifier) static Object[]
getEnumConstants
(GuiMappingContext context) 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.GuiSwingView
isComponentResizable
-
Constructor Details
-
GuiSwingViewEnumComboBox
public GuiSwingViewEnumComboBox()
-
-
Method Details
-
createView
public JComponent createView(GuiMappingContext context, Supplier<GuiReprValue.ObjectSpecifier> parentSpecifier) - Specified by:
createView
in interfaceGuiSwingView
-
getEnumConstants
-