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, NSDisposable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, MouseListener, EventListener, 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)
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
setChildrenKey
public void setChildrenKey(String string)
childrenKey
public String childrenKey()
setParentKey
public void setParentKey(String string)
parentKey
public String parentKey()
setIsLeafKey
public void setIsLeafKey(String string)
isLeafKey
public String isLeafKey()
setRootKey
public void setRootKey(String string)
rootKey
public String rootKey()
setValueKey
public void setValueKey(String string)
valueKey
public String valueKey()
setIconKey
public void setIconKey(String string)
iconKey
public String iconKey()
setExpandedIconKey
public void setExpandedIconKey(String string)
expandedIconKey
public String expandedIconKey()
setRootVisible
public void setRootVisible(boolean flag)
isRootVisible
public boolean isRootVisible()
setAllowsMultipleSelection
public void setAllowsMultipleSelection(boolean flag)
allowsMultipleSelection
public boolean allowsMultipleSelection()
setAllowsDiscontiguousSelection
public void setAllowsDiscontiguousSelection(boolean flag)
allowsDiscontiguousSelection
public boolean allowsDiscontiguousSelection()
selectedObjects
public NSArray selectedObjects()
selectedObjectPaths
public NSArray selectedObjectPaths()
setSelectedObjectWithNumericPath
public void setSelectedObjectWithNumericPath(NSArray newSelectedNumericPath)
setSelectedObjectsWithNumericPaths
public void setSelectedObjectsWithNumericPaths(NSArray newSelectedNumericPaths)
setSelectedObjectWithObjectPath
public void setSelectedObjectWithObjectPath(NSArray newSelectedObjectPath)
setSelectedObjectsWithObjectPaths
public void setSelectedObjectsWithObjectPaths(NSArray newSelectedObjectPaths)
setSelectedObject
public void setSelectedObject(Object newSelectedObject)
setSelectedObjects
public void setSelectedObjects(NSArray newSelectedObjects)
setSelectedObjectWithParentKey
public void setSelectedObjectWithParentKey(Object newSelectedObject)
setSelectedObjectsWithParentKey
public void setSelectedObjectsWithParentKey(NSArray newSelectedObjects)
selectionDidChange
protected void selectionDidChange(NSArray addedObjects,
NSArray removedObjects)
newWidget
protected JComponent newWidget()
- Specified by:
newWidget
in class EOWidgetController
startListeningToWidget
protected void startListeningToWidget()
- Overrides:
startListeningToWidget
in class EODefaultActionTrigger
stopListeningToWidget
protected void stopListeningToWidget()
- Overrides:
stopListeningToWidget
in class EODefaultActionTrigger
tree
public JTree tree()
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
valueChanged
public void valueChanged(TreeSelectionEvent event)
- Specified by:
valueChanged
in interface TreeSelectionListener
Copyright © 2000-2008 Apple Inc.