public class ExamplePickerTree extends WTree
| Modifier and Type | Class and Description |
|---|---|
class |
ExamplePickerTree.ExampleMenuList
The data object used by the WTree.
|
static class |
ExamplePickerTree.MenuTreeModel
The Model for this WTree.
|
WTree.ExpandMode, WTree.SelectMode, WTree.Type, WTree.WTreeComponentModelAbstractInput.InputModelAbstractWComponent.WComponentRefDEFAULT_APPLICATION_ID, DEFAULT_INTERNAL_ID, DEFAULT_NO_ID, ID_CONTEXT_SEPERATOR, ID_FRAMEWORK_ASSIGNED_SEPERATOR, ID_VALIDATION_PATTERN| Constructor and Description |
|---|
ExamplePickerTree()
Create the example selection tree.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addExamples(String groupName,
ExampleData[] entries)
Add a set of examples to the WTree.
|
ExampleData |
getSelectedExampleData()
Get the example which is selected in the tree.
|
ExamplePickerTree.MenuTreeModel |
getTreeModel() |
protected void |
preparePaintComponent(Request request)
Set the tree model on first use.
|
addPrevExpandedCurrent, afterPaint, beforeHandleRequest, checkExpandedCustomNodes, clearItemIdMaps, clearPrevExpandedRows, doHandleRequest, getAllItemIdIndexMap, getComponentModel, getCustomIdNodeMap, getCustomTree, getExpandedItemIdIndexMap, getExpandedRows, getExpandMode, getItemIdPrefix, getItemImageUrl, getMargin, getOpenAction, getOpenRequestItemId, getOrCreateComponentModel, getPrevExpandedRows, getRequestValue, getRowIndexForCustomItemId, getSelectedRows, getSelectMode, getShuffleAction, getTargetId, getType, getValue, getValueAsString, hasOpenRequest, initialiseComponentModel, isEmpty, isOpenItemRequest, isPresent, isShuffle, isShuffleRequest, newComponentModel, setCustomTree, setCustomTree, setExpandedRows, setExpandMode, setMargin, setOpenAction, setSelectedRows, setSelectMode, setShuffle, setShuffleAction, setTreeModel, setType, toStringaddValidator, createMandatoryDiagnostic, doHandleChanged, getActionCommand, getActionObject, getActionOnChange, getDefaultSubmitButton, getDiagnostics, getValidators, handleRequest, isChangedInLastRequest, isCurrentAjaxTrigger, isDisabled, isMandatory, isReadOnly, setActionObject, setActionOnChange, setChangedInLastRequest, setDefaultSubmitButton, setDisabled, setMandatory, setMandatory, setReadOnly, showErrorIndicatorsForComponent, showIndicatorsForComponent, showWarningIndicatorsForComponent, validateComponentaddBeanToScratchMap, doUpdateBeanValue, getBean, getBeanFromScratchMap, getBeanId, getBeanProperty, getBeanProvider, getBeanScratchMap, getBeanValue, getData, isBeanInScratchMap, isChanged, isSearchAncestors, isUseRequestScopeScratchMap, removeBeanFromScratchMap, resetData, setBean, setBeanId, setBeanProperty, setBeanProvider, setData, setSearchAncestors, updateBeanValueaddHtmlClass, addHtmlClass, addNotify, assertAddSupported, beforePaint, createErrorDiagnostic, createErrorDiagnostic, forward, getAccessibleText, getAttribute, getBaseUrl, getDefaultModel, getEnvironment, getHeaders, getHtmlClass, getHtmlClasses, getId, getIdName, getInternalId, getLabel, getName, getParent, getScratchMap, getTabIndex, getTag, getTemplate, getTemplateMarkUp, getToolTip, hasNoComponentModel, hasTabIndex, invokeLater, invokeLaters, isDebugStructure, isDefaultState, isFlagSet, isHidden, isInitialised, isLocked, isTracking, isTrackingEnabled, isValidate, isVisible, paint, paintComponent, preparePaint, removeAttribute, removeComponentModel, removeHtmlClass, removeHtmlClass, removeNotify, replaceWComponent, reset, serviceRequest, setAccessibleText, setAttribute, setEnvironment, setFlag, setFocussed, setHidden, setHtmlClass, setHtmlClass, setIdName, setInitialised, setLocked, setTag, setToolTip, setTrackingEnabled, setValidate, setVisible, showErrorIndicators, showWarningIndicators, tidyUpUIContext, tidyUpUIContextForTree, validate, writeReplaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddHtmlClass, addHtmlClass, forward, getAccessibleText, getAttribute, getBaseUrl, getEnvironment, getHeaders, getHtmlClass, getHtmlClasses, getId, getIdName, getInternalId, getLabel, getName, getParent, getTabIndex, getTag, getToolTip, handleRequest, hasTabIndex, invokeLater, isDefaultState, isHidden, isInitialised, isLocked, isTracking, isTrackingEnabled, isValidate, isVisible, paint, preparePaint, removeAttribute, removeHtmlClass, removeHtmlClass, reset, serviceRequest, setAccessibleText, setAttribute, setEnvironment, setFocussed, setHtmlClass, setHtmlClass, setIdName, setInitialised, setLocked, setTag, setToolTip, setTrackingEnabled, setValidate, setVisible, showErrorIndicators, showWarningIndicators, tidyUpUIContextForTree, validateisSearchAncestors, setBeangetBeanId, setBeanId, setBeanProvidergetBean, getBeanProperty, getBeanValue, setBeanPropertypublic ExamplePickerTree.MenuTreeModel getTreeModel()
getTreeModel in class WTreepublic void addExamples(String groupName, ExampleData[] entries)
groupName - The name of the example group.entries - An array of examples in this group.public final ExampleData getSelectedExampleData()
protected void preparePaintComponent(Request request)
preparePaintComponent in class WTreerequest - The request.Copyright © 2024. All rights reserved.