Package com.portal.bas.comp
Class PIAGroupTree
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JTree
com.portal.bas.comp.PIAGroupTree
- All Implemented Interfaces:
PAppComponent
,PAppFieldComponent
,PClientComponent
,PComponent
,PComponentAttribute
,PFieldBean
,PViewDataChangeListener
,ImageObserver
,MenuContainer
,Serializable
,Remote
,EventListener
,Accessible
,TreeSelectionListener
,Scrollable
- Direct Known Subclasses:
PAcctTree
public class PIAGroupTree
extends JTree
implements PAppFieldComponent, PComponentAttribute, TreeSelectionListener, Serializable
PIAGroupTree
is a Swing-compatible, Portal-aware
group tree control. setData
expects an object or
an array of objects that each have a field (specified by
setModelFieldSpecification()
) that contains
a group object. That group object should contain a collection
of objects that also have group fields. The Display
specification pertains to the object with the group field, not
the group itself.- Version:
- %revision%
- Author:
- Larry Lynch-Freshner
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class javax.swing.JTree
JTree.AccessibleJTree, JTree.DropLocation, JTree.DynamicUtilTreeNode, JTree.EmptySelectionModel, JTree.TreeModelHandler, JTree.TreeSelectionRedirector
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected PInfranetMessageFormat
protected PFieldDelegate
protected boolean
protected PIASelectionSupport
Fields inherited from class javax.swing.JTree
ANCHOR_SELECTION_PATH_PROPERTY, CELL_EDITOR_PROPERTY, CELL_RENDERER_PROPERTY, cellEditor, cellRenderer, editable, EDITABLE_PROPERTY, EXPANDS_SELECTED_PATHS_PROPERTY, INVOKES_STOP_CELL_EDITING_PROPERTY, invokesStopCellEditing, LARGE_MODEL_PROPERTY, largeModel, LEAD_SELECTION_PATH_PROPERTY, ROOT_VISIBLE_PROPERTY, rootVisible, ROW_HEIGHT_PROPERTY, rowHeight, SCROLLS_ON_EXPAND_PROPERTY, scrollsOnExpand, SELECTION_MODEL_PROPERTY, selectionModel, selectionRedirector, SHOWS_ROOT_HANDLES_PROPERTY, showsRootHandles, TOGGLE_CLICK_COUNT_PROPERTY, toggleClickCount, TREE_MODEL_PROPERTY, treeModel, treeModelListener, VISIBLE_ROW_COUNT_PROPERTY, visibleRowCount
Fields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Fields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an Portal-aware tree component.Creates an Portal-aware tree component that contains data in the given model. -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
clear()
Clears existing data from the component.Gets the associated class, if any, for this field.Retrieves the class name of this component's controller.Gets the data field description used by the component.Gets the display field format used by this component.getField()
Gets a field from a model.Gets the current help ID for this component.boolean
Retrieves the state of the lazy expand flag.Gets the data field description used by the component.Retrieves thePModelHandle
for this component.Gets a reference to the remote component for this object.Gets the base resource name used in resource look up.getTools()
Gets a list of actions supported by this component.boolean
Determines whether the component currently displays currency data.boolean
isDirty()
Determines if this component is currently in a DIRTY state.boolean
isError()
Used to determine if this component is currently in an error state.boolean
Determines if input tracking is enabled.boolean
isLight()
Determines if this component defersPModelHandle
knowledge to its parent container.boolean
Determines if this component is required in its current context.void
void
Resets the component value to the original value (that which was established by callingsetDefault()
).void
revertToPrimary
(int primary) Does nothing.void
setAssociatedClass
(String name) Sets the associated class, if any, for this group.void
setClean()
Used to reset the component to the CLEAN state.void
setCurrencyDisplay
(boolean b) Determines if this component currently displays currency data.void
Establishes the current value (or element count, depending on the given component) as the default value.void
setDisplayFieldDescription
(String fieldDisp) Sets the description of the field(s) in the data model that this component displays.void
setDisplayFieldFormat
(String fieldForm) Sets thejava.text.MessageFormat-type
format used to display data in this component.void
setError
(boolean b) Marks that this component contains erroneous data in the current context or unmarks the ERROR state, depending on the parameter.void
Sets the value of the field in a model.void
Sets the help ID for this component.void
setInputTracking
(boolean b) If theinputTracking
property is enabled, any changes made by the user to the component are tracked and the component is marked DIRTY.void
setLazyExpand
(boolean doLazy) Sets the state of the lazy expand flag.void
setModelFieldDescription
(String fieldDesc) Sets the description of the field in the data model that this component is interested in.void
setModelHandle
(PModelHandle data) Establishes thePModelHandle
for this component.void
setRequired
(boolean b) Marks this component as required in its current context.void
setResourceName
(String name) Sets the base resource name used in resource look up.void
setSupportLocaleBasedFormat
(boolean bSupported) Determines if the tree node labels are formatted uniformly based on the displayfielddescription set on the tree, or if they are formatted differently based on the locale info in each nodetogglePrimaryToSecondary
(int pri, int sec) Does nothing.void
Used to disassociate this component from its delegate (controller)void
Indicates that something has changed in the tree.void
OverridesPViewDataChangeListener
.Methods inherited from class javax.swing.JTree
addSelectionInterval, addSelectionPath, addSelectionPaths, addSelectionRow, addSelectionRows, addTreeExpansionListener, addTreeSelectionListener, addTreeWillExpandListener, cancelEditing, clearSelection, clearToggledPaths, collapsePath, collapseRow, convertValueToText, createTreeModel, createTreeModelListener, expandPath, expandRow, fireTreeCollapsed, fireTreeExpanded, fireTreeWillCollapse, fireTreeWillExpand, fireValueChanged, getAccessibleContext, getAnchorSelectionPath, getCellEditor, getCellRenderer, getClosestPathForLocation, getClosestRowForLocation, getDefaultTreeModel, getDescendantToggledPaths, getDragEnabled, getDropLocation, getDropMode, getEditingPath, getExpandedDescendants, getExpandsSelectedPaths, getInvokesStopCellEditing, getLastSelectedPathComponent, getLeadSelectionPath, getLeadSelectionRow, getMaxSelectionRow, getMinSelectionRow, getModel, getNextMatch, getPathBetweenRows, getPathBounds, getPathForLocation, getPathForRow, getPreferredScrollableViewportSize, getRowBounds, getRowCount, getRowForLocation, getRowForPath, getRowHeight, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getScrollsOnExpand, getSelectionCount, getSelectionModel, getSelectionPath, getSelectionPaths, getSelectionRows, getShowsRootHandles, getToggleClickCount, getToolTipText, getTreeExpansionListeners, getTreeSelectionListeners, getTreeWillExpandListeners, getUI, getUIClassID, getVisibleRowCount, hasBeenExpanded, isCollapsed, isCollapsed, isEditable, isEditing, isExpanded, isExpanded, isFixedRowHeight, isLargeModel, isPathEditable, isPathSelected, isRootVisible, isRowSelected, isSelectionEmpty, isVisible, makeVisible, paramString, removeDescendantSelectedPaths, removeDescendantToggledPaths, removeSelectionInterval, removeSelectionPath, removeSelectionPaths, removeSelectionRow, removeSelectionRows, removeTreeExpansionListener, removeTreeSelectionListener, removeTreeWillExpandListener, scrollPathToVisible, scrollRowToVisible, setAnchorSelectionPath, setCellEditor, setCellRenderer, setDragEnabled, setDropMode, setEditable, setExpandedState, setExpandsSelectedPaths, setInvokesStopCellEditing, setLargeModel, setLeadSelectionPath, setModel, setRootVisible, setRowHeight, setScrollsOnExpand, setSelectionInterval, setSelectionModel, setSelectionPath, setSelectionPaths, setSelectionRow, setSelectionRows, setShowsRootHandles, setToggleClickCount, setUI, setVisibleRowCount, startEditingAtPath, stopEditing, treeDidChange, updateUI
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Field Details
-
mLazy
protected boolean mLazy -
mSup
-
mFormat
-
mImpl
-
mbSupportLocaleBasedFormat
protected boolean mbSupportLocaleBasedFormat
-
-
Constructor Details
-
PIAGroupTree
public PIAGroupTree()Creates an Portal-aware tree component. This constructor differentiates between design time and run time to ensure the correct methodology is used. -
PIAGroupTree
Creates an Portal-aware tree component that contains data in the given model.- Parameters:
m
- the default model to use
-
-
Method Details
-
setModelHandle
Establishes thePModelHandle
for this component.- Specified by:
setModelHandle
in interfacePComponent
- Parameters:
data
- the newPModelHandle
from which to extract information- Throws:
RemoteException
- thrown for errors
-
getModelHandle
Retrieves thePModelHandle
for this component.- Specified by:
getModelHandle
in interfacePComponent
- Returns:
- The
PModelHandle
associated with this component or null, if this is a lightweight component. - Throws:
RemoteException
- thrown for errors
-
isLight
Determines if this component defersPModelHandle
knowledge to its parent container. If so, the parent container passes thePModelHandle
to this component on the server side (by way of the controller), which saves a client/server round trip for data exchange.If specific processing is required, when
PModelHandle
is called subclass this component and override this method. Otherwise,setModelHandle()
will not be called.- Specified by:
isLight
in interfacePComponent
- Returns:
- True if this component defers knowledge, false otherwise.
- Throws:
RemoteException
- thrown for errors
-
getControllerClassName
Retrieves the class name of this component's controller.- Specified by:
getControllerClassName
in interfacePComponent
- Returns:
- A
String
with the value "com.portal.bas.comp.PIAGroupTreeBeanImpl". - Throws:
RemoteException
- thrown for errors
-
getTools
Gets a list of actions supported by this component. When subclassed, the overriding class should call its super class version, then add its actions to the returned list. This preserves actions supplied by base classes. The default, supplied here, includes help for this component.- Specified by:
getTools
in interfacePClientComponent
- Returns:
- A
Vector
that containsAction
objects.
-
setResourceName
Sets the base resource name used in resource look up. Basically, the resource name is this base, followed by a dot, followed by the local name (label).- Specified by:
setResourceName
in interfacePClientComponent
- Parameters:
name
- the new base resource name
-
getResourceName
Gets the base resource name used in resource look up.- Specified by:
getResourceName
in interfacePClientComponent
- Returns:
- A
String
with the base resource name.
-
getRemoteComponent
Gets a reference to the remote component for this object. The remote component is used to interface with this component's controller.- Specified by:
getRemoteComponent
in interfacePAppComponent
- Returns:
- A
Remote
component.
-
setModelFieldDescription
Sets the description of the field in the data model that this component is interested in.- Specified by:
setModelFieldDescription
in interfacePFieldBean
- Parameters:
fieldDesc
- a string that describes the field used by this component- Throws:
RemoteException
- thrown for errors
-
getModelFieldDescription
Gets the data field description used by the component.- Specified by:
getModelFieldDescription
in interfacePFieldBean
- Returns:
- A
String
description of the field used by this component. - Throws:
RemoteException
- thrown for errors
-
setDisplayFieldDescription
Sets the description of the field(s) in the data model that this component displays.- Specified by:
setDisplayFieldDescription
in interfacePFieldBean
- Parameters:
fieldDisp
- aString
that describes the field displayed by this component- Throws:
RemoteException
- thrown for errors
-
getDisplayFieldDescription
Gets the data field description used by the component.- Specified by:
getDisplayFieldDescription
in interfacePFieldBean
- Returns:
- A
String
description of the field used by this component. - Throws:
RemoteException
- thrown for errors
-
setDisplayFieldFormat
Sets thejava.text.MessageFormat-type
format used to display data in this component. This is typically (but not necessarily) directly tied to theDisplayFieldDescription
. For example, theDisplayFieldDescription
might be "FldNameinfo[any].FldFirstName, FldNameinfo[any].FldLastName" and theDisplayFieldFormat
for that might be "{1}, {0}" to display the last name followed by a comma and then the first name.- Specified by:
setDisplayFieldFormat
in interfacePAppFieldComponent
- Parameters:
fieldForm
- the format used to display the data- Throws:
RemoteException
- thrown for errors
-
getDisplayFieldFormat
Gets the display field format used by this component.- Specified by:
getDisplayFieldFormat
in interfacePAppFieldComponent
- Returns:
- A
String
representation of the display field format. - Throws:
RemoteException
- thrown for errors
-
setAssociatedClass
Sets the associated class, if any, for this group.- Specified by:
setAssociatedClass
in interfacePFieldBean
- Parameters:
name
- the class name- Throws:
RemoteException
- thrown for errors
-
getAssociatedClass
Gets the associated class, if any, for this field.- Specified by:
getAssociatedClass
in interfacePFieldBean
- Returns:
- A
String
with the associated class name. - Throws:
RemoteException
- thrown for errors
-
setField
Sets the value of the field in a model.- Specified by:
setField
in interfacePFieldBean
- Parameters:
data
- the value to set- Throws:
RemoteException
- thrown for errors
-
getField
Gets a field from a model.- Specified by:
getField
in interfacePFieldBean
- Returns:
- The field value.
- Throws:
RemoteException
- thrown if an error occurs
-
setHelpID
Sets the help ID for this component.- Specified by:
setHelpID
in interfacePAppFieldComponent
- Parameters:
id
- the new help ID
-
getHelpID
Gets the current help ID for this component.- Specified by:
getHelpID
in interfacePAppFieldComponent
- Returns:
- A
String
help ID.
-
resetToDefault
public void resetToDefault()Resets the component value to the original value (that which was established by callingsetDefault()
). If no default value exists, the component data is cleared.This method is currently not implemented.
- Specified by:
resetToDefault
in interfacePComponentAttribute
-
clear
public void clear()Clears existing data from the component.This method is currently not implemented.
- Specified by:
clear
in interfacePComponentAttribute
-
isRequired
public boolean isRequired()Determines if this component is required in its current context. This is currently a visual indicator only: there is no policy to enforce that required fields get filled in.- Specified by:
isRequired
in interfacePComponentAttribute
- Returns:
- True if this field is required, false if it is not required.
-
setRequired
public void setRequired(boolean b) Marks this component as required in its current context. This is currently a visual indicator only: there is no policy to enforce that required fields get filled in.- Specified by:
setRequired
in interfacePComponentAttribute
- Parameters:
b
- if true, puts the component in REQUIRED state
-
isError
public boolean isError()Used to determine if this component is currently in an error state.- Specified by:
isError
in interfacePComponentAttribute
- Returns:
- The error state of this component.
-
setError
public void setError(boolean b) Marks that this component contains erroneous data in the current context or unmarks the ERROR state, depending on the parameter.- Specified by:
setError
in interfacePComponentAttribute
- Parameters:
b
- if true, puts the component in ERROR state
-
setInputTracking
public void setInputTracking(boolean b) If theinputTracking
property is enabled, any changes made by the user to the component are tracked and the component is marked DIRTY. If the user modifies the data and returns it to its default or original state, the component is marked CLEAN or not DIRTY.- Specified by:
setInputTracking
in interfacePComponentAttribute
- Parameters:
b
- the state of theinputTracking
property
-
isInputTracking
public boolean isInputTracking()Determines if input tracking is enabled.- Specified by:
isInputTracking
in interfacePComponentAttribute
- Returns:
- True if input tracking is enabled; false otherwise.
-
setClean
public void setClean()Used to reset the component to the CLEAN state. If the component was in a DIRTY or ERROR state, this method removes those attributes. A required component is still marked REQUIRED after a call to this method.- Specified by:
setClean
in interfacePComponentAttribute
-
isDirty
public boolean isDirty()Determines if this component is currently in a DIRTY state.- Specified by:
isDirty
in interfacePComponentAttribute
- Returns:
- True if the user has modified the data represented by this component, false otherwise. It also returns false if input tracking is off.
-
setDefault
public void setDefault()Establishes the current value (or element count, depending on the given component) as the default value. Any modifications after this method is called results in a DIRTY component.This method is currently not implemented.
- Specified by:
setDefault
in interfacePComponentAttribute
-
isCurrencyDisplay
public boolean isCurrencyDisplay()Determines whether the component currently displays currency data. This method always returns false, because this widget displaysString
data.- Specified by:
isCurrencyDisplay
in interfacePComponentAttribute
- Returns:
- True if the widget currently displays currency data; false otherwise.
- Since:
- Release 6.2
-
setCurrencyDisplay
public void setCurrencyDisplay(boolean b) Determines if this component currently displays currency data. Widgets that display currency data are capable of automatically toggling their data between a primary and secondary Portal currency type.Because this widget displays
String, the value passed in is always false.
- Specified by:
setCurrencyDisplay
in interfacePComponentAttribute
- Parameters:
b
- if true, indicates that the widget currently displays currency data- Since:
- Release 6.2
-
togglePrimaryToSecondary
Does nothing.- Specified by:
togglePrimaryToSecondary
in interfacePComponentAttribute
- Specified by:
togglePrimaryToSecondary
in interfacePFieldBean
- Parameters:
pri
- the primary currency IDsec
- the secondary currency ID- Returns:
null
.- Throws:
RemoteException
-
revertToPrimary
Does nothing.- Specified by:
revertToPrimary
in interfacePComponentAttribute
- Specified by:
revertToPrimary
in interfacePFieldBean
- Parameters:
primary
- the primary currency ID- Throws:
RemoteException
-
setLazyExpand
public void setLazyExpand(boolean doLazy) Sets the state of the lazy expand flag.- Parameters:
doLazy
- the new value of this flag
-
getLazyExpand
public boolean getLazyExpand()Retrieves the state of the lazy expand flag.- Returns:
- True, if the lazy expand flag is enabled; false otherwise.
-
valueChanged
Indicates that something has changed in the tree.- Specified by:
valueChanged
in interfaceTreeSelectionListener
- Parameters:
e
- the new event that contains the data change
-
addIASelectionListener
-
removeIASelectionListener
-
viewDataChange
OverridesPViewDataChangeListener
. This method is no longer called by the controller itself. To ensure backward compatibility, it is called after the model is set, by any operation that causes a change in the display data. The client code should call the appropriateget
methods on the controller to get the data, as the() PViewDataChangeEvent
parameter is no longer used.- Specified by:
viewDataChange
in interfacePViewDataChangeListener
- Parameters:
event
- thePViewDataChangeEvent
event that describes the change. No longer used. By default, the value passed in is always set to null.- Throws:
RemoteException
- thrown for errors
-
setSupportLocaleBasedFormat
public void setSupportLocaleBasedFormat(boolean bSupported) Determines if the tree node labels are formatted uniformly based on the displayfielddescription set on the tree, or if they are formatted differently based on the locale info in each node- Parameters:
bSupported
- set to true to support node-based formatting
-
unregister
Used to disassociate this component from its delegate (controller)- Specified by:
unregister
in interfacePClientComponent
- Throws:
RemoteException
-