com.webobjects.eogeneration
Class EOStaticLabelController
java.lang.Object
com.webobjects.eoapplication.EOController
com.webobjects.eoapplication.EOComponentController
com.webobjects.eogeneration.EOStaticLabelController
- All Implemented Interfaces:
- EOAction.Enabling, NSDisposable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions
- Direct Known Subclasses:
- EODisplayStatisticsController
public class EOStaticLabelController
- extends EOComponentController
Methods inherited from class com.webobjects.eoapplication.EOComponentController |
activateFirstFocusComponent, addComponentOfSubcontroller, alignsComponents, canResizeHorizontally, canResizeVertically, component, componentDidBecomeInvisible, componentDidBecomeVisible, defaultComponentSize, dispose, 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, setLastFocusComponent, setPrefersIconOnly, setSubcontrollerArea, setToolTip, setUsesHorizontalLayout, setVisible, showInSupercontroller, showSubcontroller, subcontrollerArea, subcontrollerMinimumSizeDidChange, subcontrollerWasAdded, subcontrollerWasRemoved, toolTip, toolTipComponent, toString, usesHorizontalLayout |
Methods inherited from class com.webobjects.eoapplication.EOController |
actionNames, actions, actionWithName, additionalActions, additionalKeyValuePairs, 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, setAdditionalActions, setAdditionalKeyValuePair, setAdditionalKeyValuePairs, setConnected, setSupercontroller, setTransientExplicitlyForbidden, setTypeName, subcontrollers, supercontroller, supercontroller, takeValueForKey, takeValueForKeyPath, typeName, unableToSetNullForKey, valueForKey, valueForKeyPath |
EOStaticLabelController
public EOStaticLabelController()
EOStaticLabelController
public EOStaticLabelController(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
- Returns:
true
if the receiver can be transient; false
otherwise
setAlignment
public void setAlignment(int alignment)
alignment
public int alignment()
setColor
public void setColor(Color color)
color
public Color color()
setFont
public void setFont(Font font)
font
public Font font()
setLabel
public void setLabel(String string)
- Description copied from class:
EOComponentController
- Sets the receiver's label.
- Overrides:
setLabel
in class EOComponentController
- Parameters:
string
- the label
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.
The layout mechanisms used to integrate the components of controllers
expect that the component is generated with the minimum size possible.
- Overrides:
generateComponent
in class EOComponentController
Copyright © 2000-2008 Apple Inc.