Class TextSection<V>
java.lang.Object
com.amalgamasimulation.desktop.ui.editor.sections.internal.Section
com.amalgamasimulation.desktop.ui.editor.sections.TextSection<V>
- All Implemented Interfaces:
ILabelSection,ISection,ITextSection<V>
- Direct Known Subclasses:
AutoCompleteSection,ContainerTextSection
public class TextSection<V>
extends com.amalgamasimulation.desktop.ui.editor.sections.internal.Section
implements ITextSection<V>, ILabelSection
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<InternalButton> protected com.amalgamasimulation.desktop.ui.editor.internal.InternalLabelprotected com.amalgamasimulation.desktop.ui.editor.internal.InternalText<V> protected AbstractTextDataBinding<V> Fields 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) voidtextProperties(TextProperties textProperties) 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 -
internalText
-
buttons
-
textDataBinding
-
-
Constructor Details
-
TextSection
public TextSection()
-
-
Method Details
-
isSkipCalculatingWidth
public boolean isSkipCalculatingWidth()- Specified by:
isSkipCalculatingWidthin interfaceILabelSection
-
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
-
labelProperties
- Specified by:
labelPropertiesin interfaceILabelSection
-
textProperties
-
addButton
-
createButton
-
addButton
-
getRealLabelWidth
public int getRealLabelWidth()- Specified by:
getRealLabelWidthin interfaceILabelSection
-
setLabelWidth
public void setLabelWidth(int labelWidth) - Specified by:
setLabelWidthin interfaceILabelSection
-