public interface Form extends Component, Component.BelongToFrame, Component.HasCaption, Component.HasIcon, ComponentContainer, Component.Editable, EditableChangeNotifier, HasContextHelp, ChildEditableController, HasValueSourceProvider, HasHtmlCaption, HasHtmlDescription
| Modifier and Type | Interface and Description |
|---|---|
static class |
Form.CaptionPosition
Caption alignment.
|
EditableChangeNotifier.EditableChangeEventHasContextHelp.ContextHelpIconClickEventComponent.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.OptionsStyleProvider, Component.Wrapper| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE, UNITS_PERCENTAGE, UNITS_PIXELS| Modifier and Type | Method and Description |
|---|---|
default void |
add(Component... childComponents)
Sequentially adds components to the first column.
|
void |
add(Component childComponent)
Adds a component to the first column.
|
void |
add(Component childComponent,
int column)
Adds a component to a columns with a given index.
|
void |
add(Component childComponent,
int column,
int row)
Adds a component to a columns with a given index to a given position.
|
Form.CaptionPosition |
getCaptionPosition() |
int |
getChildrenCaptionWidth() |
int |
getChildrenCaptionWidth(int column)
Returns fixed caption width for column with a given index.
|
int |
getColumns() |
Component |
getComponent(int column,
int row) |
java.util.Collection<Component> |
getComponents(int column) |
void |
setCaptionPosition(Form.CaptionPosition captionAlignment)
Sets alignment of component captions.
|
void |
setChildrenCaptionWidth(int width)
Sets fixed captions width for all columns.
|
void |
setChildrenCaptionWidth(int column,
int width)
Set fixed captions width for column with a given index.
|
void |
setColumns(int columns)
Sets the number of columns in the Form.
|
getFrame, setFramegetIcon, setIcon, setIconFromSetfocusFirstComponent, getComponent, getComponentNN, getComponents, getOwnComponent, getOwnComponents, getOwnComponentsStream, remove, remove, removeAlladdEditableChangeListener, removeEditableChangeListenergetContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabledisEditable, isEditableWithParent, setEditableaddStyleName, getAlignment, getHeight, getHeightSizeUnit, getHeightUnits, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, getWidthUnits, isEnabled, isEnabledItself, isEnabledRecursive, isResponsive, isVisible, isVisibleItself, isVisibleRecursive, removeStyleName, requestFocus, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapCompositiongetValueSourceProvider, setValueSourceProviderisCaptionAsHtml, setCaptionAsHtmlgetCaption, setCaptiongetDescription, setDescriptionisDescriptionAsHtml, setDescriptionAsHtmlstatic final java.lang.String NAME
void add(Component childComponent)
add in interface ComponentContainerchildComponent - a component to adddefault void add(Component... childComponents)
add in interface ComponentContainerchildComponents - components to addvoid add(Component childComponent, int column)
childComponent - a component to addcolumn - a columns indexvoid add(Component childComponent, int column, int row)
childComponent - a component to addcolumn - a columns indexrow - a row indexjava.util.Collection<Component> getComponents(int column)
column - a column indexComponent getComponent(int column, int row)
column - a columns indexrow - a row indexForm.CaptionPosition getCaptionPosition()
void setCaptionPosition(Form.CaptionPosition captionAlignment)
captionAlignment - component captions alignmentint getChildrenCaptionWidth()
void setChildrenCaptionWidth(int width)
width - fixed caption widthint getChildrenCaptionWidth(int column)
column - a column indexvoid setChildrenCaptionWidth(int column,
int width)
column - a column indexwidth - fixed caption width for column with a given indexint getColumns()
void setColumns(int columns)
columns - the new number of columns in the Form