Class BooleanSection
java.lang.Object
com.amalgamasimulation.desktop.ui.editor.sections.internal.Section
com.amalgamasimulation.desktop.ui.editor.sections.BooleanSection
- All Implemented Interfaces:
ILabelSection,ISection
- Direct Known Subclasses:
ContainerBooleanSection
public class BooleanSection
extends com.amalgamasimulation.desktop.ui.editor.sections.internal.Section
implements ILabelSection
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AbstractBooleanDataBindingprotected List<InternalButton> protected CheckboxButtonprotected com.amalgamasimulation.desktop.ui.editor.internal.InternalLabelFields inherited from class com.amalgamasimulation.desktop.ui.editor.sections.internal.Section
compositeForSection, elements, eventBroker -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddButton(IButtonProperties buttonProperties) voidaddButton(IButtonProperties buttonProperties, int index) protected InternalButtoncreateButton(IButtonProperties buttonProperties) protected intintbooleanvoidlabelProperties(LabelProperties labelProperties) voidsetLabelWidth(int labelWidth) voidMethods inherited from class com.amalgamasimulation.desktop.ui.editor.sections.internal.Section
createSection, getCompositeSection, isEnable, isVisible, moveBelow, needHorizontalIndent, setEnable, setEventBroker, setParent, setVisible, updateSection, updateVisibleMethods 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
isEnable, isVisible, updateSection, updateVisible
-
Field Details
-
internalLabel
protected com.amalgamasimulation.desktop.ui.editor.internal.InternalLabel internalLabel -
checkbox
-
buttons
-
booleanDataBinding
-
-
Constructor Details
-
BooleanSection
public BooleanSection()
-
-
Method Details
-
getDataBinding
-
updateEnable
public void updateEnable()- Specified by:
updateEnablein interfaceISection- Overrides:
updateEnablein classcom.amalgamasimulation.desktop.ui.editor.sections.internal.Section
-
getCountColumns
protected int getCountColumns()- Overrides:
getCountColumnsin classcom.amalgamasimulation.desktop.ui.editor.sections.internal.Section
-
addButton
-
addButton
-
createButton
-
isSkipCalculatingWidth
public boolean isSkipCalculatingWidth()- Specified by:
isSkipCalculatingWidthin interfaceILabelSection
-
labelProperties
- Specified by:
labelPropertiesin interfaceILabelSection
-
getRealLabelWidth
public int getRealLabelWidth()- Specified by:
getRealLabelWidthin interfaceILabelSection
-
setLabelWidth
public void setLabelWidth(int labelWidth) - Specified by:
setLabelWidthin interfaceILabelSection
-