com.webobjects.eogeneration
Class EOTreeController
java.lang.Object
com.webobjects.eoapplication.EOController
com.webobjects.eoapplication.EOComponentController
com.webobjects.eogeneration.EOWidgetController
com.webobjects.eogeneration.EOAssociationController
com.webobjects.eogeneration.EODefaultActionTrigger
com.webobjects.eogeneration.EOTreeController
- All Implemented Interfaces:
- EOAction.Enabling, EOAssociationConnector, EOEditable, EventListener, MouseListener, NSDisposable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, TreeSelectionListener
- public class EOTreeController
- extends EODefaultActionTrigger
- implements TreeSelectionListener
Methods inherited from class com.webobjects.eogeneration.EOAssociationController |
association, connectionWasBroken, connectionWasEstablished, controllerDisplayGroup, displayGroup, displayGroupProviderMethodName, dispose, disposeAssociations, disposeIfTransient, editability, enabledDisplayGroup, enabledDisplayGroupProviderMethodName, enabledKey, isEditable, prefersContinuousChangeNotification, setAssociation, setDisplayGroup, setDisplayGroupProviderMethodName, setEditability, setEnabledDisplayGroup, setEnabledDisplayGroupProviderMethodName, setEnabledKey, setPrefersContinuousChangeNotification, setSuppressesAssociation, supercontrollerEditabilityDidChange, suppressesAssociation, takeResponsibilityForEditabilityOfAssociation, takeResposibilityForConnectionOfAssociation, toString |
Methods inherited from class com.webobjects.eogeneration.EOWidgetController |
generateComponent, highlightsLabel, labelComponent, labelComponentAlignment, labelComponentPosition, labelComponentWidth, minimumWidgetSize, newLabelComponent, setAlignmentForWidget, setHighlightsLabel, setLabelComponent, setLabelComponentAlignment, setLabelComponentPosition, setLabelComponentWidth, setMinimumWidgetSize, setUsesLabelComponent, setWidget, setWidgetAlignment, toolTipComponent, usesLabelComponent, widget, widgetAlignment |
Methods inherited from class com.webobjects.eoapplication.EOComponentController |
activateFirstFocusComponent, addComponentOfSubcontroller, alignsComponents, canBeTransient, canResizeHorizontally, canResizeVertically, component, componentDidBecomeInvisible, componentDidBecomeVisible, defaultComponentSize, ensureMinimumComponentSizeWithoutSubcontrollers, ensureMinimumSubcontrollerAreaSize, firstFocusComponent, handleTakeValueForUnboundKey, hideInSupercontroller, hideSubcontroller, icon, insets, integrationComponent, integrationComponentDidBecomeInvisible, integrationComponentDidBecomeVisible, isComponentPrepared, isRootComponentController, isVisible, label, lastFocusComponent, makeInvisible, makeVisible, minimumComponentSize, minimumComponentSizeWithoutSubcontrollers, minimumIntegrationComponentSize, minimumSubcontrollerAreaSize, prefersIconOnly, prepareComponent, removeComponentOfSubcontroller, removeTransientSubcontroller, setAlignsComponents, setCanResizeHorizontally, setCanResizeVertically, setComponent, setDefaultComponentSize, setFirstFocusComponent, setIcon, setInsets, setLabel, setLastFocusComponent, setPrefersIconOnly, setSubcontrollerArea, setToolTip, setUsesHorizontalLayout, setVisible, showInSupercontroller, showSubcontroller, subcontrollerArea, subcontrollerMinimumSizeDidChange, subcontrollerWasAdded, subcontrollerWasRemoved, toolTip, usesHorizontalLayout |
Methods inherited from class com.webobjects.eoapplication.EOController |
actionNames, actions, actionWithName, additionalActions, additionalKeyValuePairs, addSubcontroller, breakConnection, breakConnectionToSubcontrollers, canAccessFieldsDirectly, canPerformActionNamed, controllerEnumeration, controllersInEnumeration, controllersWithKeyValuePair, controllersWithKeyValuePairs, controllerWithKeyValuePair, controllerWithKeyValuePairs, defaultActions, disableActionNamed, disposableRegistry, enableActionNamed, enabledActions, establishConnection, establishConnectionToSupercontrollers, handleQueryWithUnboundKey, hierarchicalControllerForKey, hierarchicalValueForKey, invokeMethod, isActionNamedEnabled, isAncestorOfController, isConnected, isSupercontrollerOfController, isTransientExplicitlyForbidden, prepareForNewTask, removeFromSupercontroller, removeSubcontroller, resetActions, setAdditionalActions, setAdditionalKeyValuePair, setAdditionalKeyValuePairs, setConnected, setSupercontroller, setTransientExplicitlyForbidden, setTypeName, subcontrollers, supercontroller, supercontroller, takeValueForKey, takeValueForKeyPath, typeName, unableToSetNullForKey, valueForKey, valueForKeyPath |
EOTreeController
public EOTreeController()
EOTreeController
public EOTreeController(EOXMLUnarchiver unarchiver)
allowsDiscontiguousSelection
public boolean allowsDiscontiguousSelection()
allowsMultipleSelection
public boolean allowsMultipleSelection()
childrenKey
public String childrenKey()
expandedIconKey
public String expandedIconKey()
iconKey
public String iconKey()
isLeafKey
public String isLeafKey()
isRootVisible
public boolean isRootVisible()
mouseListenerViewInWidget
protected JComponent mouseListenerViewInWidget()
- Overrides:
mouseListenerViewInWidget
in class EODefaultActionTrigger
newAssociation
protected EOAssociation newAssociation(JComponent widget,
EODisplayGroup displayGroup,
String enabledKey,
EODisplayGroup enabledDisplayGroup)
- Specified by:
newAssociation
in class EOAssociationController
newWidget
protected JComponent newWidget()
- Specified by:
newWidget
in class EOWidgetController
parentKey
public String parentKey()
preferredLabelComponentPosition
protected int preferredLabelComponentPosition()
- Overrides:
preferredLabelComponentPosition
in class EOWidgetController
preferredUsesLabelComponent
protected boolean preferredUsesLabelComponent()
- Overrides:
preferredUsesLabelComponent
in class EOWidgetController
preferredWidgetAutosizingMask
protected int preferredWidgetAutosizingMask()
- Overrides:
preferredWidgetAutosizingMask
in class EOWidgetController
rootKey
public String rootKey()
selectedObjectPaths
public NSArray selectedObjectPaths()
selectedObjects
public NSArray selectedObjects()
selectionDidChange
protected void selectionDidChange(NSArray addedObjects,
NSArray removedObjects)
setAllowsDiscontiguousSelection
public void setAllowsDiscontiguousSelection(boolean flag)
setAllowsMultipleSelection
public void setAllowsMultipleSelection(boolean flag)
setChildrenKey
public void setChildrenKey(String string)
setExpandedIconKey
public void setExpandedIconKey(String string)
setIconKey
public void setIconKey(String string)
setIsLeafKey
public void setIsLeafKey(String string)
setParentKey
public void setParentKey(String string)
setRootKey
public void setRootKey(String string)
setRootVisible
public void setRootVisible(boolean flag)
setSelectedObject
public void setSelectedObject(Object newSelectedObject)
setSelectedObjectWithNumericPath
public void setSelectedObjectWithNumericPath(NSArray newSelectedNumericPath)
setSelectedObjectWithObjectPath
public void setSelectedObjectWithObjectPath(NSArray newSelectedObjectPath)
setSelectedObjectWithParentKey
public void setSelectedObjectWithParentKey(Object newSelectedObject)
setSelectedObjects
public void setSelectedObjects(NSArray newSelectedObjects)
setSelectedObjectsWithNumericPaths
public void setSelectedObjectsWithNumericPaths(NSArray newSelectedNumericPaths)
setSelectedObjectsWithObjectPaths
public void setSelectedObjectsWithObjectPaths(NSArray newSelectedObjectPaths)
setSelectedObjectsWithParentKey
public void setSelectedObjectsWithParentKey(NSArray newSelectedObjects)
setValueKey
public void setValueKey(String string)
startListeningToWidget
protected void startListeningToWidget()
- Overrides:
startListeningToWidget
in class EODefaultActionTrigger
stopListeningToWidget
protected void stopListeningToWidget()
- Overrides:
stopListeningToWidget
in class EODefaultActionTrigger
tree
public JTree tree()
valueChanged
public void valueChanged(TreeSelectionEvent event)
- Specified by:
valueChanged
in interface TreeSelectionListener
valueKey
public String valueKey()
Copyright © 2004 Apple Computer, Inc.