Package overit.geocall.basic.ui.control
Class StringHelper
java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.ui.Component
overit.geocall.basic.ui.control.StringHelper
- All Implemented Interfaces:
Serializable,overit.geocall.marks.MethodExposer,overit.geocall.marks.NameExposer,Identified,Tool
Component publishing a xml file resource containing a list of useful strings.
The xml file to be passed as an attribute FILE must contain a list of tags of the form
<p name="the name of the string" type="the type" default="a default value" tbr="2023W1" > <![CDATA[
the helping description of the string
]]> </p>
Only the name is mandatory. The other attributes are optional.
Moreover, the name is draggable over inputs or textareas over the page.
- See Also:
-
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
Fields 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 TypeMethodDescriptionprotected voidaddIntro(org.apache.ecs.ElementContainer ec) protected voidaddIntro(org.apache.ecs.ElementContainer ec, boolean addHR) Adds an intro section.protected voidAdds a property entry.org.apache.ecs.ElementAbstract method that must be extended and returns the html code of the ComponentvoidSets an xml file.voidSets a XMLTree.Methods 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
-
Constructor Details
-
StringHelper
public StringHelper()
-
-
Method Details
-
setFILE
Sets an xml file.- Parameters:
s- Path of the xml file to set.
-
setXml
Sets a XMLTree.- Parameters:
x- The XMLTree to set.
-
getHtml
Description copied from class:ComponentAbstract method that must be extended and returns the html code of the Component -
addIntro
protected void addIntro(org.apache.ecs.ElementContainer ec) -
addIntro
protected void addIntro(org.apache.ecs.ElementContainer ec, boolean addHR) Adds an intro section.- Parameters:
ec- ElementContainer to which the intro is added.addHR- if true, a horizontal line is added at the bottom.
-
addRow
Adds a property entry.- Parameters:
dl- Element the new row is added to.x- XMLTree containing the info to be added.
-