com.webobjects.eogeneration.client
Class EOStaticIconController
java.lang.Object
|
+--com.webobjects.eoapplication.EOController
|
+--com.webobjects.eoapplication.EOComponentController
|
+--com.webobjects.eogeneration.client.EOStaticIconController
- All Implemented Interfaces:
- EOAction.Enabling, NSDisposable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions
- public class EOStaticIconController
- extends EOComponentController
Method Summary |
boolean |
canBeTransient()
Returns whether the controller can be transient. |
protected void |
generateComponent()
Invoked when it's necessary to create the receiver's component,
including setting up the subcontroller area. |
void |
setIcon(Icon icon)
Sets the receiver's icon. |
Methods inherited from class com.webobjects.eoapplication.EOComponentController |
addComponentOfSubcontroller, alignmentWidth, alignsComponents, canResizeHorizontally, canResizeVertically, component, componentDidBecomeInvisible, componentDidBecomeVisible, defaultComponentSize, dispose, 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, 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 |
EOStaticIconController
public EOStaticIconController()
EOStaticIconController
public EOStaticIconController(EOXMLUnarchiver unarchiver)
canBeTransient
public boolean canBeTransient()
- Description copied from class:
EOComponentController
- Returns whether the controller can be transient. By default, a component
controller is transient only if it's an instance of EOComponentController,
not an instance of a subclass.
- Overrides:
canBeTransient
in class EOComponentController
- Following copied from class:
com.webobjects.eoapplication.EOComponentController
- Returns:
true
if the receiver can be transient; false
otherwise
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
setIcon
public void setIcon(Icon icon)
- Description copied from class:
EOComponentController
- Sets the receiver's icon.
- Overrides:
setIcon
in class EOComponentController
- Following copied from class:
com.webobjects.eoapplication.EOComponentController
- Parameters:
icon
- the icon
Copyright © 2002 Apple Computer, Inc.