Package overit.geocall.basic.ui.control
Class Row
java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.ui.Component
overit.geocall.ui.Control
overit.geocall.basic.ui.control.Row
- All Implemented Interfaces:
Serializable,overit.geocall.marks.MethodExposer,overit.geocall.marks.NameExposer,Badgeable,Hideable,Identified,Tool,overit.geocall.ux.configurability.UIConfigurable,overit.geocall.ux.edm.ModelConfigurable
This class implements
This component defines a row in which to insert different types of graphic components.
Using this component it's possible to manage and position the graphic elements inside it with the desired alignment (vertical and / or horizontal).
Control and implements Hideable.This component defines a row in which to insert different types of graphic components.
Using this component it's possible to manage and position the graphic elements inside it with the desired alignment (vertical and / or horizontal).
- 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 charprotected Stringprotected booleanprotected Stringprotected Stringprotected charprotected SetPredicateFields inherited from class overit.geocall.ui.Control
_blank, _cleaner, _dblink, _enabled, _ro, _title, altEventIconsList, altIcon, ariaDescription, ariaLabel, badge, badgeformat, FILTER_PREFIXES, LABEL_ATTRIBUTE, LABEL_IN_LINE_ATTRIBUTE, STATE_BLANK, STATE_NORMAL, STATE_RO, STATE_ROBLANKFields 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.ElementGets the basic structucre of the component, which is aTable, used to display its internalControlobjects.org.apache.ecs.ElementMethod that creates a button that launches the event associeted to the row.org.apache.ecs.ElementAbstract method that must be extended and returns the html code of the ComponentbooleanChecks the visibility of the componentvoidSets the horizontal align of the row's components.voidSets one or more events associated to the input field.voidvoidvoidSets the message that appears when the user tries to submit a value that is not valid.voidSets one (or more) parameter for the events associated to the row (seesetEVENT()).voidSets the vertical align of the row's components.voidsetVISIBLE(String s) Sets the visibility of the componentMethods inherited from class overit.geocall.ui.Control
avoidNull, clean, getBadgeFormat, getBadgeValue, getBLANK, getCleaner, getConfigurableProperties, getDAValues, getDBLINK, getKEYLABEL, getLABEL, getRO, getState, getTITLE, getValues, getWM, isEnabled, isEnabledBasedOnFunction, isFunctionEnabled, isImportant, isRoBasedOnFunction, nameWithNoFilterPrefix, setALTEVENTICON, setALTICON, setARIADESCRIPTION, setARIALABEL, setBADGEFORMAT, setBADGEVALUE, setBLANK, setCLEANER, setConfiguredProperty, setDBLINK, setENABLED, setFUNCTION, setModelProperties, setRO, setTitle, setTITLEMethods 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, getLayoutLabel, getLayoutName, getNAME, getParentComponent, getParentContainer, getPublishedChildrenList, getRegistryName, getSHORTCUT, getTabIndex, getTeacher, getValuesContainer, getWindow, initChilds, isActivable, isActive, isAliasField, isConfigHidden, isDefaultHidden, isExtendedField, 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, tabIndexerMethods inherited from class overit.geocall.platform.ui.UINode
addChild, addChildText, getChildren, getNodeId, getParent, getRoot, getSchema, setNodeId, setParent, setSchemaMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface overit.geocall.ui.Badgeable
badgeFormat, makeBadgedIconMethods inherited from interface overit.geocall.ui.Hideable
getVISIBLE
-
Field Details
-
_visible
-
_fullsize
protected boolean _fullsize -
_align
protected char _align -
_valign
protected char _valign -
_event
-
_param
-
_msg
-
-
Constructor Details
-
Row
public Row()
-
-
Method Details
-
setVISIBLE
Description copied from interface:HideableSets the visibility of the component- Specified by:
setVISIBLEin interfaceHideable- Parameters:
s- String used to defines the visibility of the component
-
isVisible
public boolean isVisible()Description copied from interface:HideableChecks the visibility of the component -
setEVENT
Sets one or more events associated to the input field.
By setting an event, a button will be created inside the field, clicking on which the event will be triggered. Each button will have a default icon.
If the input field is in readonly state, also every event button of the field is readonly (not clickable).- Parameters:
s- AListAttributeof strings (separated by the character | ) each of which represents the name of an event associated to the field
-
setMSG
Sets the message that appears when the user tries to submit a value that is not valid. It is used in classes that extend Input- Parameters:
s- The string that contains the message
-
setPARAM
Sets one (or more) parameter for the events associated to the row (seesetEVENT()).
For the association event - parameter, it counts the position in which the attributes appear. If the parameters are fewer than the events, the last parameter of the list is associated with all the remaining events.- Parameters:
s- AListAttributeof strings (separated by the character | ) each of which represents the param attribute of an event associated to the field
-
setFULLSIZE
-
setALIGN
Sets the horizontal align of the row's components.- Parameters:
s- The align to set.
-
setVALIGN
Sets the vertical align of the row's components.- Parameters:
s- The align to set.
-
getHtml
Description copied from class:ComponentAbstract method that must be extended and returns the html code of the Component -
getEventButton
public org.apache.ecs.Element getEventButton()Method that creates a button that launches the event associeted to the row. If the row is read-only, the event is not added to the button. Otherwise the event that button will launch will be the one associeted via the methodsetEVENT()with parameters and message set via the methodssetPARAM()andsetMSG().- Returns:
- Return the
Buttonelement with the event associeted.
-
getBasicHtml
Gets the basic structucre of the component, which is aTable, used to display its internalControlobjects.- Parameters:
es- TheEntitySetto which elements belong.- Returns:
- The basic html structucre of the component.
-
setMsg
-