Class TaskBar
java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.ui.Component
overit.geocall.ui.Control
overit.geocall.basic.ui.Container
overit.geocall.basic.ui.container.TaskBar
- All Implemented Interfaces:
Serializable,overit.geocall.marks.MethodExposer,overit.geocall.marks.NameExposer,Badgeable,Identified,Tool,overit.geocall.ux.configurability.UIConfigurable,overit.geocall.ux.edm.ModelConfigurable
The class that extends
Container it implements the user interface elements that appear on the left of the page and
contains the logo, the information about the user currently logged in and the menu voices of the application- See Also:
- GCApi:
- component
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumLists the possible layouts of the TaskBarNested classes/interfaces inherited from class overit.geocall.ui.Component
Component.Configurable, Component.ConfigurableAttribute, Component.ConfigurableAttributes, Component.FilterCriteria, Component.Registry -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Stringprotected Stringprotected Stringprotected SafeInlineServiceprotected TaskBoxFavoritesMenuFields inherited from class overit.geocall.basic.ui.Container
_rofields, _rules, DALINK_NO, DALINK_YES, DATE_MAX, DATE_MIN, TIME_MAX, TIME_MIN, TYPE_ACTION, TYPE_BOOLEAN, TYPE_DATE, TYPE_DOUBLE, TYPE_DTZ, TYPE_EURO, TYPE_FILE, TYPE_FILES, TYPE_INTEGER, TYPE_LONG, TYPE_LONGARRAY, TYPE_MAP, TYPE_MAXDATE, TYPE_MAXTIME, TYPE_MEASURE, TYPE_MINDATE, TYPE_MINTIME, TYPE_NEWACTION, TYPE_STRING, TYPE_STRINGARRAY, TYPE_SUBSET, TYPE_SUBSETRANGE, TYPE_SUPPORT, TYPE_TIMERANGEFields 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidaddLogoForFoldableMenu(String logo, org.apache.ecs.html.Div td, String id) protected voidaddUnlicensedBadge(org.apache.ecs.ConcreteElement i, XMLTree node) voidajaxQuery(HttpServletRequest request, HttpServletResponse response) Method that must be extended to implements the Ajax interaction request / response logic for the Componentprotected SortableMenugetDropDownFavoritesMenu(List<XMLTree> favoriteNodes, Teacher t) Gets the drop down menu that will be used to customize the favorites user menu.protected SortableMenugetDropDownMenu(UIMenu menu, String position, Teacher t, String destination) Gets the drop down menu that will be used to customize the user UIMenu.org.apache.ecs.ElementReturns the html code of the TaskBarprotected org.apache.ecs.Elementprotected org.apache.ecs.Elementprotected org.apache.ecs.ElementGets theTaskBoxFavoritesMenuobject that is related to the favorites menu.protected org.apache.ecs.ElementbooleanbooleanbooleanonControlMenu(UIMessage uim) booleanbooleanbooleanbooleanbooleanvoidsetSpacer(boolean haveSpacer) Adds a spacer to the TaskBarprotected voidsetup()Setup the ComponentMethods inherited from class overit.geocall.basic.ui.Container
alert, applyRule, getBASIC, getBLANK, getRO, getROField, onClose, onOpen, onOpenChildContainer, onRestore, onRule, prepareName, rulesNewValues, setROField, setValues, setValuesMethods inherited from class overit.geocall.ui.Control
avoidNull, clean, getBadgeFormat, getBadgeValue, getCleaner, getConfigurableProperties, getDAValues, getDBLINK, getKEYLABEL, getLABEL, 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, appendAttribute, buildDisplayScript, buildSetupScript, calcKeyLabel, calcLabel, calcShortcut, canBeConfigured, changed, clearConfiguredProperties, componentIterator, componentSize, connect, containerIterator, createAjaxFrame, deprecate, fillSetupScript, generateFlexableFullHeightContainer, generateId, 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, 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, makeBadgedIcon
-
Field Details
-
_msgVuoiScollegartiDalSistema
-
_msgNuovoMessaggio
-
_msgNuoviMessaggi
-
_haveSpacer
protected boolean _haveSpacer -
taskBoxFavMenu
-
safeInlineService
-
-
Constructor Details
-
TaskBar
public TaskBar()
-
-
Method Details
-
setSpacer
public void setSpacer(boolean haveSpacer) Adds a spacer to the TaskBar- Parameters:
haveSpacer- true to add a spacer, false otherwise
-
setup
protected void setup()Description copied from class:ComponentSetup the Component -
addLogo
-
addLogoForFoldableMenu
-
getHtml
Returns the html code of the TaskBar -
getIdentityHtml
-
getIdentityExtension
protected org.apache.ecs.Element getIdentityExtension() -
getTopBarTabs
-
getTaskBoxFavMenu
Gets theTaskBoxFavoritesMenuobject that is related to the favorites menu.- Returns:
- the
TaskBoxFavoritesMenuobject that is related t the favorites menu.
-
getSearchBox
protected org.apache.ecs.Element getSearchBox() -
onControlMenu
-
onControlFavoritesMenu
-
onManageDragAndDropFavoritesMenu
-
onManageFavoritesMenuDiff
-
onManageDragAndDropMenu
-
onManageMenuDiff
-
onClearUserMenuDiffs
-
getTaskBoxComponent
-
ajaxQuery
Description copied from class:ComponentMethod that must be extended to implements the Ajax interaction request / response logic for the Component- Overrides:
ajaxQueryin classComponent- Parameters:
request-HttpServletRequestresponse-HttpServletResponse
-
getDropDownFavoritesMenu
Gets the drop down menu that will be used to customize the favorites user menu.- Parameters:
favoriteNodes- The list of the current favorites menu entries.t- TheTeacherobject used to translate labels and messages.- Returns:
- The drop down menu that will be used to customize the favorites user menu.
-
getDropDownMenu
Gets the drop down menu that will be used to customize the user UIMenu.- Parameters:
menu- The current UIMenu.position- The menu's position level for which shows up the drop down menu.t- TheTeacherobject used to translate labels and messages.destination- The container id to which the drop down menu events belong.- Returns:
- The drop down menu that will be used to customize the user UIMenu.
-
addUnlicensedBadge
-
onOpenCloseFavoritesBox
-