Skip to main content

Tab Panel Properties

This section describes the properties available for a tab panel element in the page definition.

Effective Constraint

PropertyDescriptionExample
Constraint SourceThe location that is providing the constraint for this element.TEMPLATE_CONSTRAINT
Constraint TypeThe type of constraint for this element, i.e.
Bounds - The element is being position absolutely.
Flow - The element is flowing.
None - The element has no position constraint.
BOUNDS
heightThe height of the element in pixels.63
widthThe width of the element in pixels.281

Element Constraint

PropertyDescriptionExample
Constraint TypeThe type of constraint to apply to the element, i.e.
Bounds - The element should be absolutely positioned.
Flow - The element should flow.
None - No constraint for the element should be supplied here (although a constraint may be inferred from somewhere else, e.g. a template).
None

Events

PropertyDescriptionExample
Click EventIndicates what action to be raised when the specified event occurs.xxx

General

PropertyDescriptionExample
AlignmentControls the alignments of the contained elements or text within the element, selected from a drop down list.CENTRE
Allow Focus?Indicates whether the element will allow focus.true
Background ColourThe background colour for the element. It can be shown as the colour name for common colours, e.g. RED, or a hex code, e.g. #ff0000. It could also contain a conditional statement to determine which colour is to be used, e.g. #{notEmpty(view.currentlyInTrainingMode)&& view.currentlyInTrainingMode ? '#80FF80': 'WHITE' }.RED
Background Image URLIndicates the URL for background image to be displayed on the element.Mac1024x768/Pos/PosDialogHoverButton1024x768.gif
Border ColourIndicates the colour of border for the element. It can be shown as the colour name for common colours, e.g. RED, or a hex code, e.g. #ff0000. It could also contain a conditional statement to determine which colour is to be used, e.g. #{notEmpty(view.currentlyInTrainingMode)&& view.currentlyInTrainingMode ? '#80FF80': 'WHITE' }.#ff0000
Border SizeThe border size for the element, in pixels. Integer value, 0 means no border.1
Border StyleThe border style for the element. Styles are selected from a drop down list.Line
ClassnameAn optional classname that allows the capabilities of the element to be extended.com.enactor.coreUI.swing.pageElementHandlers.
SwingClockLabelElementHandler
ColourIndicates the foreground colour of the element. It can be shown as the colour name for common colours, e.g. RED, or a hex code, e.g. #ff0000. It could also contain a conditional statement to determine which colour is to be used, e.g. #{notEmpty(view.currentlyInTrainingMode)&& view.currentlyInTrainingMode ? '#80FF80': 'WHITE' }.WHITE
Enabled?Indicates whether the element is enabled.true
Enabled ExpressionAn expression that determines if the element is enabled. This will take precedence over the Enabled flag. It is entered via a pop up text window.#{size(addressList) > 0}
Focus OrderControls the order the element is tabbed into. Setting to -1 will prevent the element from accepting tab focus.-1
Font NameThe name of the font to use for the element. It is selected via a pop up window, from a drop down list of available fonts.Arial
Font SizeThe size of the font to use for the element. It is a numerical value entered via a pop up window.10
Font StyleThe style of the font to use for the element, e.g. bold, italic etc. Selected from list of available styles. The User can set more than one style on the element.[Bold,Underline]
Force Hidden?Indicates whether a component will be hidden despite other visibility checks.true
Hide IntersectingIndicates whether intersecting page elements will hidden when a panel is made visible. Applies to Panel-based elements.false
Horizontal ScrollbarsIndicates whether horizontal scroll bars are to be displayed.None
IdA unique (with the containing element) identifier for this element. It is entered via a pop up window.TAB_GENERAL
LabelA label displayed alongside the element.Clr
Message BaseIndicates the location of the messages file containing the required message.Pos/General/PosSwingViewMessages
Message IDThe message base used to resolve message Ids for the element. It can be either typed in directly, if known, or selected from a a drop down list. It can also contain an expression which determines when the message is to be output, e.g. Message ID #{notEmpty(view.transactionHandler.model.basket) && notEmpty(view.user) ? (view.transactionHandler.model.basket.total >= 0 ? 'TOTAL' : 'CREDIT_DUE') : ""}.TAB_GENERAL
Naming Container?If the element a naming container, i.e. when the ID for child elements is constructed, indicates whether the ID of this element will contribute towards it.true
Skip Page Validation?Indicates whether page validation will be skipped for this element.false
StyleThe style class for the element. It is entered using a pop up window.xxx
Style ClassA list of design time stylesheets, used to help the designer present a more realistic preview. It is entered using a pop up window.editContents
Transparent BackgroundIndicates whether background of element is transparent.false
Update TriggersA trigger ID that will cause this element to update, value entered via a pop up window.[applicationLogListBox]
Vertical ScrollbarsIndicates whether vertical horizontal scroll bars are to be displayed.None
Visibility ExpressionAn expression that determines if the element is visible, , according to privileges etc. This will take precedence over the Visible flag. It is entered via a pop up window.xxx
Visible?Indicates whether the element is visible.true

List Template Constraints

For all the 'Allow' properties below, the User can select either inherit (i.e. use the associated template values), true or false.

PropertyDescriptionExample
Allow Change Bounds?Indicates whether the bounds of the element can be changed.Inherit
Allow Creation?Indicates whether new child elements can be added to the element.Inherit
Allow Edit?Indicates whether the properties of the element can be modified.Inherit
Allow RemovalIndicates whether the properties of the element can be removed.Inherit
Allow Replacement?Indicates whether child elements that were contributed by the template can be replaced with other elements.Inherit

Template Constraints

For all the 'Allow' properties below, the User can select either inherit (i.e. use the associated template values), true or false.

PropertyDescriptionExample
Allow Bounds to Change?Indicates whether the bounds of the element can be changed.Inherit
Allow Edit?Indicates whether the properties of the element can be modified.Inherit
Allow Removal?Indicates whether the properties of the element can be removed.Inherit
Allow Replacement?Indicates whether child elements that were contributed by the template can be replaced with other elements.Inherit
Render ModeDefines the mode of rendering for the page definition and affects when an element is drawn. It is selected from a drop down list, i.e. At Initialisation, Whenever Rendered or Use Template.Whenever Rendered