com.webobjects.eogeneration.client
Class EOWidgetController
java.lang.Object
|
+--com.webobjects.eoapplication.EOController
|
+--com.webobjects.eoapplication.EOComponentController
|
+--com.webobjects.eogeneration.client.EOWidgetController
- All Implemented Interfaces:
- EOAction.Enabling, NSDisposable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions
- Direct Known Subclasses:
- EOAssociationController, EORangeWidgetController
- public abstract class EOWidgetController
- extends EOComponentController
Methods inherited from class com.webobjects.eoapplication.EOComponentController |
addComponentOfSubcontroller, alignmentWidth, alignsComponents, canBeTransient, canResizeHorizontally, canResizeVertically, component, componentDidBecomeInvisible, componentDidBecomeVisible, defaultComponentSize, ensureMinimumComponentSizeWithoutSubcontrollers, ensureMinimumSubcontrollerAreaSize, handleTakeValueForUnboundKey, hideInSupercontroller, hideSubcontroller, icon, integrationComponent, integrationComponentDidBecomeInvisible, integrationComponentDidBecomeVisible, isComponentPrepared, isRootComponentController, isVisible, label, makeInvisible, makeVisible, minimumComponentSize, minimumComponentSizeWithoutSubcontrollers, minimumIntegrationComponentSize, minimumSubcontrollerAreaSize, prefersIconOnly, prepareComponent, removeComponentOfSubcontroller, removeTransientSubcontroller, setAlignmentWidth, setAlignsComponents, setCanResizeHorizontally, setCanResizeVertically, setComponent, setDefaultComponentSize, setIcon, setLabel, setPrefersIconOnly, setSubcontrollerArea, setUsesHorizontalLayout, setVisible, showInSupercontroller, showSubcontroller, subcontrollerArea, subcontrollerMinimumSizeDidChange, subcontrollerWasAdded, subcontrollerWasRemoved, toString, usesHorizontalLayout |
Methods inherited from class com.webobjects.eoapplication.EOController |
actionNames, actions, actionWithName, addSubcontroller, breakConnection, breakConnectionToSubcontrollers, canAccessFieldsDirectly, canPerformActionNamed, connectionWasBroken, connectionWasEstablished, controllerEnumeration, controllersInEnumeration, controllersWithKeyValuePair, controllersWithKeyValuePairs, controllerWithKeyValuePair, controllerWithKeyValuePairs, defaultActions, disableActionNamed, disposableRegistry, disposeIfTransient, enableActionNamed, enabledActions, establishConnection, establishConnectionToSupercontrollers, handleQueryWithUnboundKey, hierarchicalControllerForKey, hierarchicalValueForKey, invokeMethod, isActionNamedEnabled, isAncestorOfController, isConnected, isSupercontrollerOfController, isTransientExplicitlyForbidden, prepareForNewTask, removeFromSupercontroller, removeSubcontroller, resetActions, setConnected, setSupercontroller, setTransientExplicitlyForbidden, setTypeName, subcontrollers, supercontroller, supercontroller, takeValueForKey, takeValueForKeyPath, typeName, unableToSetNullForKey, valueForKey, valueForKeyPath |
EOWidgetController
public EOWidgetController()
EOWidgetController
public EOWidgetController(EOXMLUnarchiver unarchiver)
dispose
public void dispose()
- Description copied from class:
EOComponentController
- Prepares the receiver so it is disposed when Java performs garbage collection.
- Overrides:
dispose
in class EOComponentController
generateComponent
protected void generateComponent()
- Description copied from class:
EOComponentController
- Invoked when it's necessary to create the receiver's component,
including setting up the subcontroller area. Subclass implementations
of this method usually invoke
setComponent
and if necessary
setSubcontrollerArea
. EOComponentController's default implementation
creates an empty EOView to hold subcontroller components.
- Overrides:
generateComponent
in class EOComponentController
highlightsLabel
public boolean highlightsLabel()
labelComponent
public JComponent labelComponent()
labelComponentAlignment
public int labelComponentAlignment()
labelComponentPosition
public int labelComponentPosition()
newLabelComponent
protected JComponent newLabelComponent(String label,
int minimumWidth,
boolean appendColon,
int alignment,
boolean highlightLabel)
newWidget
protected abstract JComponent newWidget()
preferredLabelComponentPosition
protected int preferredLabelComponentPosition()
preferredUsesLabelComponent
protected boolean preferredUsesLabelComponent()
preferredWidgetAutosizingMask
protected int preferredWidgetAutosizingMask()
setAlignmentForWidget
protected void setAlignmentForWidget(JComponent widget,
int alignment)
setHighlightsLabel
public void setHighlightsLabel(boolean flag)
setLabelComponent
public void setLabelComponent(JComponent labelComponent)
setLabelComponentAlignment
public void setLabelComponentAlignment(int alignment)
setLabelComponentPosition
public void setLabelComponentPosition(int position)
setUsesLabelComponent
public void setUsesLabelComponent(boolean flag)
setWidget
public void setWidget(JComponent widget)
setWidgetAlignment
public void setWidgetAlignment(int alignment)
startListeningToWidget
protected void startListeningToWidget()
stopListeningToWidget
protected void stopListeningToWidget()
usesLabelComponent
public boolean usesLabelComponent()
widget
public JComponent widget()
widgetAlignment
public int widgetAlignment()
Copyright © 2002 Apple Computer, Inc.