Package overit.geocall.basic.ui.control
Class Image
java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.ui.Component
overit.geocall.basic.ui.control.Image
- All Implemented Interfaces:
Serializable,overit.geocall.marks.MethodExposer,overit.geocall.marks.NameExposer,Identified,Tool
This class, that extends
Component, is used to add an <img> HTML element inside a page- 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 Stringprotected Stringprotected intprotected intFields 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 ComponentgetTITLE()Returns the string that appears as a tooltip when the mouse remains over the imagevoidsetALTICON(String alt) Sets the alt's attribute string for the image that is associated to component.voidSets the height of the imagevoidSets the source of the imagevoidSets the tooltip that appears when the mouse remains over the image.voidSets the tooltip that appears when the mouse remains over the image.voidSets the width of the imageMethods 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
-
_image
-
_title
-
width
protected int width -
height
protected int height -
altIcon
-
-
Constructor Details
-
Image
public Image()
-
-
Method Details
-
setIMAGE
Sets the source of the image- Parameters:
s- The string containing the source of the image
-
setTITLE
Sets the tooltip that appears when the mouse remains over the image. Using this method the string will be translated by theTeacher- Parameters:
s- The string that will appear as tooltip for the image
-
setALTICON
Sets the alt's attribute string for the image that is associated to component.- Parameters:
alt- A String that represents the alt attribute associated to the image associated to the component.
-
getTITLE
Returns the string that appears as a tooltip when the mouse remains over the image- Returns:
- The string that will appear as tooltip for the image
-
setWIDTH
Sets the width of the image- Parameters:
s- The width of the image, expressed in pixels
-
setHEIGHT
Sets the height of the image- Parameters:
s- The height of the image, expressed in pixels
-
getHtml
Description copied from class:ComponentAbstract method that must be extended and returns the html code of the Component -
setTitle
Sets the tooltip that appears when the mouse remains over the image. Using this method the string will not be translated- Parameters:
s- The string that will appear as tooltip for the image
-