Package overit.geocall.basic.ui.control
Class Matrix
java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.ui.Component
overit.geocall.basic.ui.control.Matrix
- All Implemented Interfaces:
Serializable,overit.geocall.marks.MethodExposer,overit.geocall.marks.NameExposer,Identified,Tool
This element extends
Component and serves to graphically position
its child elements in a matrix manner.- See Also:
- GCApi:
- component
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.ui.Component
Component.Configurable, Component.ConfigurableAttribute, Component.ConfigurableAttributes, Component.FilterCriteria, Component.Registry -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected intprotected intprotected booleanprotected intprotected StringFields inherited from class overit.geocall.ui.Component
_basic, _childrenContainers, _currentId, _gridalign, _gridcols, _gridrows, _gridvalign, _iconElement, _id, _keylabel, _label, _layoutName, _name, _parentContainer, _registryName, _shortcut, _tabindex, _transformations, _valuesContainer, aliasField, BR, configHidden, configuredLabel, configuredLabelInLine, defaultHidden, ELEMENT_BR, ELEMENT_NULL, entityContainer, entityName, extendedField, fullHeight, important, labelInLine, layoutLabel, PIXEL_IMG, safeInlineService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.ecs.ElementAbstract method that must be extended and returns the html code of the ComponentvoidSets the hotizontal align of the elements inside the cellsvoidSets the dimensions of the border of the matrix.voidSets the number of columns of the matrix.voidSets the fullsize mode.voidsetPADDING(String s) Sets the padding of the cells.voidsetVALIGNS(String s) Sets the vertical align of the elements inside the cellsMethods inherited from class overit.geocall.ui.Component
adapt, ajaxQuery, appendAttribute, buildDisplayScript, buildSetupScript, calcKeyLabel, calcLabel, calcShortcut, canBeConfigured, changed, clearConfiguredProperties, componentIterator, componentSize, connect, containerIterator, createAjaxFrame, deprecate, fillSetupScript, generateFlexableFullHeightContainer, generateId, getBASIC, getBoolean, getBoolean, getChildrenComponents, getChildrenContainers, getDefaultLabel, getDefaultLayoutLabel, getEntityContainer, getEntityName, getFullHeight, getGridAlign, getGridCols, getGridRows, getGridVAlign, getHtmlLabel, getHtmlLabel, getIcon, getId, getIdentity, getint, getKEYLABEL, getLABEL, getLayoutLabel, getLayoutName, getNAME, getParentComponent, getParentContainer, getPublishedChildrenList, getRegistryName, getSHORTCUT, getTabIndex, getTeacher, getValuesContainer, getWindow, initChilds, isActivable, isActive, isAliasField, isConfigHidden, isDefaultHidden, isExtendedField, isImportant, isLabelInLine, onInit, setActivable, setActive, setAliasField, setBASIC, setConfigHidden, setDEFAULTHIDDEN, setEntityName, setExtendedField, setFULLHEIGHT, setGRIDALIGN, setGRIDCOLS, setGRIDROWS, setGRIDVALIGN, setICON, setIdentity, setIMPORTANT, setLabel, setLABEL, setLABELINLINE, setLAYOUTLABEL, setLAYOUTNAME, setNAME, setREGISTRYNAME, setTooltip, setup, setValuesContainer, stringForJs, tabIndexer
-
Field Details
-
_cols
protected int _cols -
_fullsize
protected boolean _fullsize -
_valigns
-
_aligns
-
_padding
protected int _padding -
_border
protected int _border
-
-
Constructor Details
-
Matrix
public Matrix()
-
-
Method Details
-
setFULLSIZE
Sets the fullsize mode.- Parameters:
s- Boolean to enable or disable the fullsize mode.
-
setCOLS
Sets the number of columns of the matrix.- Parameters:
s- Number of the columns of the matrix
-
setVALIGNS
Sets the vertical align of the elements inside the cells- Parameters:
s- Type of the vertical align. The allowed values are:'t': top;'m': middle;'b': bottom.
-
setALIGNS
Sets the hotizontal align of the elements inside the cells- Parameters:
s- Type of the horizontal align. The allowed values are:'l': left;'c': center;'r': middle.
-
setPADDING
Sets the padding of the cells.- Parameters:
s- The value of the padding. It is cast in integer.
-
setBORDER
Sets the dimensions of the border of the matrix.- Parameters:
s- The value of the edges. It is cast in integer.
-
getHtml
Description copied from class:ComponentAbstract method that must be extended and returns the html code of the Component
-