Field Summary |
public
| allowHideAll: Boolean |
| Controls whether all panels can be closed or at least one must always be open.
|
|
public static
| classInfo: Object |
| A static class information object
|
|
public
| expandMode: String |
| Controls whether only a single panel can be displayed at once or multiple panels
|
|
public
| initialPanelIndex: Number |
| The index of the panel that will be initialy displayed
|
|
public
| itemHeight: Number |
| The height of the tabs/tabbar
|
|
public
| orientation: String |
| Controls whether the panels are orientated and expand vrtically or horizontally
|
|
public
| styleClass: String |
| The name of the style class this instance will use.
|
|
|
| Fields inherited from class xp.system.UIControl__layout, allowDrop, autoLayout, bindingDefaultValue, bindingFormatter, bindingPath, bindingSource, bindingType, bindingValidator, border, causesValidation, classInfo, clickOnENTER, clickOnSPACE, container, context, data, disableAcceptButton, disableCancelButton, enableBGMouseEvents, enableDblClickEvent, enableKeyDownEvents, enableKeyEvents, enableKeyUpEvents, enableMouseWheelEvents, formatterOptions, horizontalAlignment, index, isBinding, itemId, logEnabled, parent, parentContainer, parentForm, percentageHeight, percentageWidth, styleClass, tabIndex, tabStop, tooltip, tree, verticalAlignment |
|
Property Summary |
public
| activePanel: Object (read-only)
|
| The currently displayed panel
|
|
public
| expandDir: String (read, write) |
| Controls the direction the in which the control expands when a tab is opened
|
|
|
| Properties inherited from class xp.system.UIControlalpha, autosize, background, backgroundVisible, bindings, borderBrush, borderRadius, borderShadow, borderStyle, borderThickness, bottom, dataSource, enableMouseEvents, focusManager, height, id, isEnabled, isFocused, isMouseOver, isPressed, isSelected, isValid, layout, left, margin, maxHeight, maxWidth, measuredHeight, measuredMinHeight, measuredMinWidth, measuredWidth, minHeight, minWidth, padding, readOnly, resources, right, styleName, top, triggers, visible, width, x, y |
|
Constructor |
public
| CollapsiblePanel (
)
|
| Constructor - This should not be called directly.
|
|
Method Summary |
public
| addTab (
params: Object
): Object |
| add a tab to the tabbar array
|
|
public
| collapsePanel (
index: Number
): Void |
| Collapse a panel identified by its index
|
|
public
| collapsePanelById (
Id: String
): Void |
| Collapse a panel identified by its Id
|
|
public
| expandPanel (
index: Number
): Void |
| Expand a panel specified by its index
|
|
public
| expandPanelById (
Id: String
): Void |
| Expands a panel
|
|
public
| getClass (
): Function |
| Returns a reference to the components static class
|
|
public
| hidePanel (
Id: String
) |
| Hides the panel and the tab so they are not visible
|
|
public
| internalMeasure (
): Void |
| The preferred size of the component
|
|
public static
| newInstance (
owner, instanceId, depth, initObj
) |
| Creates a new Instance of this class
|
|
public
| showPanel (
Id: String
) |
|
|
|
|
| Methods inherited from class xp.system.UIControladdBinding, addBindings, addEventListener, addPropertyTrigger, applyStyle, beginDeferUpdate, canUpdate, centerContent, checkState, containsFocus, destroy, destroyObject, drawFocus, endDeferUpdate, findFocusFromObject, findFocusInChildren, getBinding, getBounds, getCenter, getClass, getFocus, getFocusManager, getFocusRect, getLocation, getPropertyValue, getSize, getStateName, getTrigger, globalToLocalPoint, invalidate, invalidateLayout, invalidateSize, invalidateSizeAndLayout, invalidChild, isChild, isMouseDirectlyOver, isParent, localToGlobalPoint, localToLocalPoint, measure, mouseWheel, move, onChildFocus, onKillFocus, onSetFocus, processEnterKey, processEscapeKey, processTabKey, redraw, refresh, removeEventListener, routeEvent, setBounds, setFocus, setLocation, setPropertyValue, setSize, setValueChanged, update, validate |
|
|