Class Panel
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.Panel
- All Implemented Interfaces:
Serializable,overit.geocall.marks.MethodExposer,overit.geocall.marks.NameExposer,AjaxableComponent,Badgeable,Hideable,Identified,Tool,overit.geocall.ux.configurability.UIConfigurable,overit.geocall.ux.edm.ModelConfigurable
- Direct Known Subclasses:
ActivityTimeframeManagement,AddForecastActivity,AddGroupingConstraintPanel,AllocateTechnicians,CentralMobileWarehouseAssociation,CentralWarehouseAddresses,CopyActivityForecast,CopyForecastResourceDetail,CopyForecastShiftModel,CopyResourceForecast,CopyWorkloadAnalysis,CPanelNewOdlFromNotification,CrewShellsSelectionPanel,CrewShellsTypeSelectionPanel,DataCollectionNodeInfoPanel,DataCollectionOptionGroupOptions,EditActivityForecastHeader,EditCapacityPlanningScenario,EditForecastActivityPriorityPanel,EditForecastGroupingConstraintPanel,EditForecastResource,EditForecastShiftModel,EditForecastShiftModelDetail,EditMaterialAccountingPanel,EditResourceForecastHeader,EditResourceGroupingConstraint,EditRoughPlanning,EditSkillPanel,ForecastResourceDetailManagement,GenerateTransaction,ImportForecastResources,ImportOperationActivityPanel,InventoryPositionCoordMap,ManageCrewShellSkill,ManageForemanPanel,ManualCoordinates,MeterReadings,OperationCenterWorkCenters,PAgendaAffinityPreview,PanelBlockingWarnings,PanelCancelActivities,PanelCheckResult,PanelCreateBundle,PanelDataCollectionConverterSheetSubset,PanelDataCollectionConverterTemplateSubset,PanelDataCollectionGlobalExpression,PanelDataCollectionNodeAttachmentUploadFile,PanelDataCollectionNodeDownloadAttachmentUploadFile,PanelDataCollectionNodeMatrixBase,PanelDataCollectionNodeSelectionOption,PanelDataCollectionOptionsGroup,PanelDataCollectionOptionsGroupUploadModel,PanelDataCollectionRawModel,PanelDataCollectionSheetCoordMap,PanelDataCollectionSheetDetailCalculatedNodes,PanelDataCollectionTemplateGanttLegend,PanelDataCollectionTemplateReleaseSelection,PanelDataCollectionTemplateUpload,PanelDataCollectionTemplateUploadModel,PanelDataCollectionTemplateUploadPdfForm,PanelDataCollectionTemplateVisibilityRules,PanelDataCollectionTreeViewModel,PanelDataCollectionType,PanelEditDataCollectionTemplate,PanelEditDataCollectionTemplateStructureBase,PanelEditDataCollectionTemplateWOCreationRule,PanelEditMobileCardsRule,PanelEditMultistageGroup,PanelGapFillerResults,PanelManageTask,PanelMeterTemplate,PanelMultiSelectDataCollectionTemplate,PanelMultistageConfiguration,PanelMultistageDependencies,PanelMultistageGroupGanttLegend,PanelMultistageViolations,PanelNewDataCollectionSheet,PanelNewDataCollectionTemplate,PanelNewDataCollectionTemplateStructureRelease,PanelNewDataCollectionTemplateWOCreationRule,PanelNewMobileCardsRule,PanelNewMultistageGroup,PanelNewNotificationLight,PanelOutcomeReasonsDataCollectionTemplate,PanelReleaseProject,PanelRenameExport,PanelReopenTimesheets,PanelResourcesScheduling,PanelSelectBundle,PanelSelectBundleOperationOrdering,PanelSelectBundlingRule,PanelSelectCriticalActivityRule,PanelSelectDataCollectionOptionsGroup,PanelSelectDataCollectionOptionsTable,PanelSelectDataCollectionSheet,PanelSelectDataCollectionTemplate,PanelSelectForecastActivity,PanelSelectionActivityForecastHeader,PanelSelectionResourceForecastHeader,PanelSelectMultistageGroup,PanelSelectOutcomeReason,PanelSelectPermitType,PanelSelectResources,PanelSelectSerializedMaterial,PanelSelectUsersByKind,PanelTaskCategoryEventType,PanelTimesheetProfile,PanelTimesheetTaskCategory,PanelUpdateBundle,PanelViewCriticalActivityRules,PanelViewDataCollectionTemplateWOCreationRule,PAssociateStructure,PBulkOutcomeUpdate,PDataCollectionTemplateGanttUIConfiguration,overit.geocallapp.wfm.ui.container.PDecoderSelection,PDurationPreview,PEditActivityRelation,PEditMeter,PEditProjectDiary,PEditRange,PForecastActivityDetailGanttUIConfiguration,PGanttLegend,PGanttLegend,PGanttUIStateConfiguration,PInsertActivityRelation,PLegend,PMultiSelectCardTypes,PNewNotification,PNewWorkOrderNote,PProjectProfile,PProjectSelection,PSearchSchedulableBundles,PSearchUrgentActivities,PSelectCardIcon,PSelectProjectWOType,PSingleProjectDiaryHistory,PWorkOrderNote,RoughPlanningConfiguration,SearchFeatureRules,SearchSchedulingUsers,SelectionPanel,SelectionPanelForecastResource,SelectItemFilters,SelectWorkOrderFilters,overit.geocallapp.wfm.users.workshifts.common.ShiftsPanel,StockChange,WarehouseOperationCenterAssociation,WOOperationPredictionMaterials,WorkOrderOperationAffinity
The class that extends
It can be a panel that blocks the user interaction with the mask below (like for example an editing panel used to change some values) as well as a panel that allows the interaction (like for example a panel that contains a legend that explain something).
Container implements the user interface element that represents a portion of the page that
can be showed or hidden and pops-up, on demand, overlapping the user window. It can be a panel that blocks the user interaction with the mask below (like for example an editing panel used to change some values) as well as a panel that allows the interaction (like for example a panel that contains a legend that explain something).
- 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 charprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected Booleanprotected Objectprotected Stringprotected Stringprotected charprotected SetPredicateprotected StringFields 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, safeInlineServiceFields inherited from interface overit.geocall.ui.AjaxableComponent
FRAME_ID_PREFIX, NOTRANSITION, TRANSITION_BODY_MORPH, TRANSITION_BODY_RESIZE, TRANSITION_BORDER_RESIZE, TRANSITION_DOWN, TRANSITION_UP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEvery component can add a script to the StringBuilder, script executed when the component is created The method add the script that manages the visibility of the panelvoidchanged(overit.geocall.ux.servlet.processor.Change change) Method that implements theAjaxableComponentinterface.overit.geocall.ux.servlet.processor.ChangeMethod that implements theAjaxableComponentinterface.org.apache.ecs.ElementgetFrameHtml(overit.geocall.ux.servlet.processor.Change change, EntitySet es) Method that implements theAjaxableComponentinterface.org.apache.ecs.ElementReturns the html code of the Containerprotected org.apache.ecs.Elementvoidhide()It hides (make not visible, with the pop-up effect) the panelbooleanChecks if the panel is rendered for the user currently logged in the application, or not (seegetBoolean(visible,id,true))booleanonClose(HashGetter hg) It hides (make not visible, with the pop-up effect) the panelbooleanprotected static StringvoidDefines the horizontal alignment of the content of the panelvoidSets the height of the panel.voidSets the maximum height of the panel.voidSets the maximum width of the panel.voidSets the minimum height of the panelvoidSets the minimum width of the panelvoidDefines whether the panel blocks the user interaction with the page below, or notvoidDefines whether the user can move the panel (by dragging it from the edges), or notvoidDefines the possibility of closing the panel through a button that will appear, setting this attribute and only in the case where the panel has a title (setTitle()), in the upper right corner of the header of the panel.voidDefines the type of the panel.voidsetup()Setup the ComponentvoidDefines the vertical alignment of the content of the panelvoidsetVISIBLE(String s) Used to define if the panel is visible and must appear, or notvoidSets the width of the panel.voidshow()It shows (make visible with the pop-up effect) the panelvoidshow(Serializable obj) It shows (make visible with the pop-up effect) the panelvoidIt shows (make visible with the pop-up effect) the panelvoidIt shows (make visible with the pop-up effect) the panelvoidIt shows (make visible with the pop-up effect) the panelvoidIt shows (make visible with the pop-up effect) the panelvoidIt shows (make visible with the pop-up effect) the panelvoidIt shows (make visible with the pop-up effect) the panelvoidIt shows (make visible with the pop-up effect) the panelvoidDeprecated.use the more specific overload instead It shows (make visible with the pop-up effect) the panelvoidIt shows (make visible with the pop-up effect) the panelvoidIt shows (make visible with the pop-up effect) the panelvoidIt shows (make visible with the pop-up effect) the panelvoidIt shows (make visible with the pop-up effect) the panelprotected org.apache.ecs.ElementtitlePanel(EntitySet es) Methods 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, ajaxQuery, appendAttribute, buildDisplayScript, 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, makeBadgedIconMethods inherited from interface overit.geocall.ui.Hideable
getVISIBLE
-
Field Details
-
_visible
-
_appear
protected char _appear -
_type
-
_valign
protected char _valign -
_align
protected char _align -
_modal
protected boolean _modal -
_obj
-
_minWidth
-
_minHeight
-
_width
-
_height
-
_maxWidth
-
_maxHeight
-
_moveable
-
_titleClosable
-
-
Constructor Details
-
Panel
public Panel()
-
-
Method Details
-
perfectsDim
-
setMINWIDTH
Sets the minimum width of the panel- Parameters:
s- The minimum width, expressed in pixels or as a percentage of the browser window (introducing explicitly the % character)
-
setMINHEIGHT
Sets the minimum height of the panel- Parameters:
s- The minimum height, expressed in pixel or as a percentage of the browser window (introducing explicitly the % character)
-
setWIDTH
Sets the width of the panel. If the content of the panel occupies more space than the width defined, then the horizontal scrollbar will appear- Parameters:
s- The width, expressed in pixel or as a percentage of the browser window (introducing explicitly the % character)
-
setHEIGHT
Sets the height of the panel. If the content of the panel occupies more space than the height defined, then the vertical scrollbar will appear- Parameters:
s- The height, expressed in pixel or as a percentage of the browser window (introducing explicitly the % character)
-
setMAXWIDTH
Sets the maximum width of the panel. If the content of the panel occupies more space than the maximum width defined, then the horizontal scrollbar will appear- Parameters:
s- The maximum width, expressed in pixel or as a percentage of the browser window (introducing explicitly the % character)
-
setMAXHEIGHT
Sets the maximum height of the panel. If the content of the panel occupies more space than the maximum height defined, then the vertical scrollbar will appear- Parameters:
s- The maximum height, expressed in pixel or as a percentage of the browser window (introducing explicitly the % character)
-
setMOVEABLE
Defines whether the user can move the panel (by dragging it from the edges), or not- Parameters:
s- A string that represent a boolean value ("true" or "1" to obtain moveable panels, "false" or "0" otherwise).
If the string is not recognized as a boolean value, it will be used the default value, that is false
-
setTITLECLOSABLE
Defines the possibility of closing the panel through a button that will appear, setting this attribute and only in the case where the panel has a title (setTitle()), in the upper right corner of the header of the panel. The attribute it can be a string that represents a boolean (true to execute the standardonClose()method, false to not show the button), or the name of the desired event to trigger when the button is pressed- Parameters:
s- A string that represent a boolean value ("true" or "1", "false" or "0" otherwise).
If the string is not recognized as a boolean value, it will be used as the name of the event to trigger when the button is pressed
-
setMODAL
Defines whether the panel blocks the user interaction with the page below, or not- Parameters:
s- A string that represent a boolean value ("true" or "1" to blocks the interaction, "false" or "0" otherwise).
If the string is not recognized as a boolean value, it will be used the default value, that is true
-
setVISIBLE
Used to define if the panel is visible and must appear, or not- Specified by:
setVISIBLEin interfaceHideable- Parameters:
s- A string that represent a boolean value ("true" or "1", "false" or "0") or a function.
If the string is not recognized as a boolean value, it is considered as a user function with this meaning: if the user currently logged in the application has the function, the panel will be showed, otherwise it will not
-
setTYPE
Defines the type of the panel. A panel can be a "central panel" that appears and floats in the center of the page, or a "edge panel" that appears from one edge of the window and remain hooked to it.- Parameters:
type- A character that represents the type of the panel. The possible values are:
"c": central panel
"r": panel hooked to the right edge of the window
"l": panel hooked to the left edge of the window
"t": panel hooked on the top edge of the window
"b": panel hooked on the bottom edge of the window
-
setALIGN
Defines the horizontal alignment of the content of the panel- Parameters:
s- Possible values are "left" or "right"
-
setVALIGN
Defines the vertical alignment of the content of the panel- Parameters:
s- Possible values are "top" or "bottom"
-
show
Deprecated.use the more specific overload instead It shows (make visible with the pop-up effect) the panel- Parameters:
obj- Object saved as a global variable of the panel
-
show
public void show()It shows (make visible with the pop-up effect) the panel -
show
It shows (make visible with the pop-up effect) the panel- Parameters:
obj- serializable object saved as a global variable of the panel
-
show
It shows (make visible with the pop-up effect) the panel- Parameters:
i- integer value saved as a global variable of the panel
-
show
It shows (make visible with the pop-up effect) the panel- Parameters:
s- short value saved as a global variable of the panel
-
show
It shows (make visible with the pop-up effect) the panel- Parameters:
l- long value saved as a global variable of the panel
-
show
It shows (make visible with the pop-up effect) the panel- Parameters:
f- float value saved as a global variable of the panel
-
show
It shows (make visible with the pop-up effect) the panel- Parameters:
d- double value saved as a global variable of the panel
-
show
It shows (make visible with the pop-up effect) the panel- Parameters:
c- char value saved as a global variable of the panel
-
show
It shows (make visible with the pop-up effect) the panel- Parameters:
b- byte value saved as a global variable of the panel
-
show
It shows (make visible with the pop-up effect) the panel- Parameters:
b- boolean value saved as a global variable of the panel
-
show
It shows (make visible with the pop-up effect) the panel- Parameters:
s- string value saved as a global variable of the panel
-
show
It shows (make visible with the pop-up effect) the panel- Parameters:
component- Component instance saved as a global variable of the panel
-
show
It shows (make visible with the pop-up effect) the panel- Parameters:
dynO- DynO instance saved as a global variable of the panel
-
hide
public void hide()It hides (make not visible, with the pop-up effect) the panel -
isVisible
public boolean isVisible()Checks if the panel is rendered for the user currently logged in the application, or not (seegetBoolean(visible,id,true)) -
setup
public void setup()Description copied from class:ComponentSetup the Component -
onClose
It hides (make not visible, with the pop-up effect) the panel- Parameters:
hg- Not used- Returns:
- true
-
getHtml
Description copied from class:ContainerReturns the html code of the Container -
getFrameHtml
public org.apache.ecs.Element getFrameHtml(overit.geocall.ux.servlet.processor.Change change, EntitySet es) Method that implements theAjaxableComponentinterface. It defines the html part of the panel that changes when an Ajax interaction occurs- Specified by:
getFrameHtmlin interfaceAjaxableComponent- Parameters:
change- TheChangeobject that defines the specific morphing type for the paneles- TheEntitySetto which the element belongs- Returns:
- The html part of the panel that changes when an Ajax interaction occurs
-
titlePanel
-
getTitleDiv
protected org.apache.ecs.Element getTitleDiv() -
changed
public void changed(overit.geocall.ux.servlet.processor.Change change) Method that implements theAjaxableComponentinterface. It defines the morphing of the panel element that occurs when there is an Ajax interaction- Specified by:
changedin interfaceAjaxableComponent- Parameters:
change- TheChangeobject that defines the specific morphing type for the panel
-
getDefaultChange
public overit.geocall.ux.servlet.processor.Change getDefaultChange()Method that implements theAjaxableComponentinterface. It defines the defaultChangeobject for the panel- Specified by:
getDefaultChangein interfaceAjaxableComponent- Returns:
- The default
Changeobject that defines the default morphing type of the panel
-
buildSetupScript
Every component can add a script to the StringBuilder, script executed when the component is created The method add the script that manages the visibility of the panel- Overrides:
buildSetupScriptin classComponent- Parameters:
sb- The StringBuilder on which we want to add the script
-
onHide
- Parameters:
o- Not used- Returns:
- false
-