Class ContainerSpinnerSection<T,V>
java.lang.Object
com.amalgamasimulation.desktop.ui.editor.sections.internal.Section
com.amalgamasimulation.desktop.ui.editor.sections.SpinnerSection<V>
com.amalgamasimulation.desktop.ui.editor.sections.ContainerSpinnerSection<T,V>
- All Implemented Interfaces:
ILabelSection,ISection,ISpinnerSection<V>
- Direct Known Subclasses:
EmfSpinnerSection
-
Field Summary
Fields inherited from class com.amalgamasimulation.desktop.ui.editor.sections.SpinnerSection
buttons, internalLabel, internalSpinner, spinnerDataBindingFields inherited from class com.amalgamasimulation.desktop.ui.editor.sections.internal.Section
compositeForSection, elements, eventBroker -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected InternalButtoncreateButton(IButtonProperties buttonProperties) voidvoidbooleanReturns whether the section is enabled for the current container object.booleanReturns whether the section is visible for the current container object.voidMakes the section callSection.updateSection()when the object in the container changes.voidMethods inherited from class com.amalgamasimulation.desktop.ui.editor.sections.SpinnerSection
addButton, addButton, getColumnCount, getMeasuredLabelWidth, isAlignmentSkipped, labelProperties, labelWidth, spinnerProperties, updateEnabledMethods inherited from class com.amalgamasimulation.desktop.ui.editor.sections.internal.Section
dispose, enabled, getCompositeSection, isPageEnabled, moveBelow, pageEnabled, setEventBroker, setParent, updateSection, updateVisible, visibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.amalgamasimulation.desktop.ui.editor.common.ISection
dispose, updateSection, updateVisible
-
Constructor Details
-
ContainerSpinnerSection
public ContainerSpinnerSection()
-
-
Method Details
-
getDataBinding
- Overrides:
getDataBindingin classSpinnerSection<V>
-
createSection
public void createSection()- Overrides:
createSectionin classcom.amalgamasimulation.desktop.ui.editor.sections.internal.Section
-
updateOnContainerChange
public void updateOnContainerChange()Makes the section callSection.updateSection()when the object in the container changes. -
createButton
- Overrides:
createButtonin classSpinnerSection<V>
-
isVisible
public boolean isVisible()Description copied from interface:ISectionReturns whether the section is visible for the current container object. -
isEnabled
public boolean isEnabled()Description copied from interface:ISectionReturns whether the section is enabled for the current container object. -
visible
-
enabled
-