All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.Control

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.app.Responder
                   |
                   +----com.apple.alpha.app.View
                           |
                           +----com.apple.alpha.app.Control

public class Control
extends View
This class wraps the Objective-C class NSControl.


Variable Index

 o ControlTextDidBeginEditingNotification
 o ControlTextDidChangeNotification
 o ControlTextDidEndEditingNotification

Constructor Index

 o Control()
This default constructor is equivalent to Objective-C's [[NSControl alloc] init].
 o Control(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o Control(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.
 o Control(Rect)
This constructor has the same effect as calling - initWithFrame: on a newly allocated object.

Method Index

 o abortEditing()
A wrapper for the - abortEditing Objective-C instance method.
 o action()
A wrapper for the - action Objective-C instance method.
 o alignment()
A wrapper for the - alignment Objective-C instance method.
 o attributedStringValue()
A wrapper for the - attributedStringValue Objective-C instance method.
 o calcSize()
A wrapper for the - calcSize Objective-C instance method.
 o cell()
A wrapper for the - cell Objective-C instance method.
 o currentEditor()
A wrapper for the - currentEditor Objective-C instance method.
 o doubleValue()
A wrapper for the - doubleValue Objective-C instance method.
 o drawCell(Cell)
A wrapper for the - drawCell: Objective-C instance method.
 o drawCellInside(Cell)
A wrapper for the - drawCellInside: Objective-C instance method.
 o floatValue()
A wrapper for the - floatValue Objective-C instance method.
 o font()
A wrapper for the - font Objective-C instance method.
 o ignoresMultiClick()
A wrapper for the - ignoresMultiClick Objective-C instance method.
 o intValue()
A wrapper for the - intValue Objective-C instance method.
 o isContinuous()
A wrapper for the - isContinuous Objective-C instance method.
 o isEnabled()
A wrapper for the - isEnabled Objective-C instance method.
 o mouseDown(Event)
A wrapper for the - mouseDown: Objective-C instance method.
 o objectValue()
A wrapper for the - objectValue Objective-C instance method.
 o performClick(Object)
A wrapper for the - performClick: Objective-C instance method.
 o refusesFirstResponder()
A wrapper for the - refusesFirstResponder Objective-C instance method.
 o selectCell(Cell)
A wrapper for the - selectCell: Objective-C instance method.
 o selectedCell()
A wrapper for the - selectedCell Objective-C instance method.
 o selectedTag()
A wrapper for the - selectedTag Objective-C instance method.
 o sendActionToTarget(Selector, Object)
A wrapper for the - sendAction:to: Objective-C instance method.
 o setAction(Selector)
A wrapper for the - setAction: Objective-C instance method.
 o setAlignment(int)
A wrapper for the - setAlignment: Objective-C instance method.
 o setAttributedStringValue(AttributedString)
A wrapper for the - setAttributedStringValue: Objective-C instance method.
 o setCell(Cell)
A wrapper for the - setCell: Objective-C instance method.
 o setContinuous(boolean)
A wrapper for the - setContinuous: Objective-C instance method.
 o setControlNeedsDisplay()
A wrapper for the - setNeedsDisplay Objective-C instance method.
 o setDoubleValue(double)
A wrapper for the - setDoubleValue: Objective-C instance method.
 o setEnabled(boolean)
A wrapper for the - setEnabled: Objective-C instance method.
 o setEventMaskForSendingAction(int)
A wrapper for the - sendActionOn: Objective-C instance method.
 o setFloatingPointFormat(boolean, int, int)
A wrapper for the - setFloatingPointFormat:left:right: Objective-C instance method.
 o setFloatValue(float)
A wrapper for the - setFloatValue: Objective-C instance method.
 o setFont(Font)
A wrapper for the - setFont: Objective-C instance method.
 o setIgnoresMultiClick(boolean)
A wrapper for the - setIgnoresMultiClick: Objective-C instance method.
 o setIntValue(int)
A wrapper for the - setIntValue: Objective-C instance method.
 o setObjectValue(Object)
A wrapper for the - setObjectValue: Objective-C instance method.
 o setRefusesFirstResponder(boolean)
A wrapper for the - setRefusesFirstResponder: Objective-C instance method.
 o setStringValue(String)
A wrapper for the - setStringValue: Objective-C instance method.
 o setTag(int)
A wrapper for the - setTag: Objective-C instance method.
 o setTarget(Object)
A wrapper for the - setTarget: Objective-C instance method.
 o sizeToFit()
A wrapper for the - sizeToFit Objective-C instance method.
 o stringValue()
A wrapper for the - stringValue Objective-C instance method.
 o tag()
A wrapper for the - tag Objective-C instance method.
 o takeDoubleValueFrom(Object)
A wrapper for the - takeDoubleValueFrom: Objective-C instance method.
 o takeFloatValueFrom(Object)
A wrapper for the - takeFloatValueFrom: Objective-C instance method.
 o takeIntValueFrom(Object)
A wrapper for the - takeIntValueFrom: Objective-C instance method.
 o takeObjectValueFrom(Object)
A wrapper for the - takeObjectValueFrom: Objective-C instance method.
 o takeStringValueFrom(Object)
A wrapper for the - takeStringValueFrom: Objective-C instance method.
 o target()
A wrapper for the - target Objective-C instance method.
 o updateCell(Cell)
A wrapper for the - updateCell: Objective-C instance method.
 o updateCellInside(Cell)
A wrapper for the - updateCellInside: Objective-C instance method.
 o validateEditing()
A wrapper for the - validateEditing Objective-C instance method.

Variables

 o ControlTextDidBeginEditingNotification
 public static final String ControlTextDidBeginEditingNotification
 o ControlTextDidEndEditingNotification
 public static final String ControlTextDidEndEditingNotification
 o ControlTextDidChangeNotification
 public static final String ControlTextDidChangeNotification

Constructors

 o Control
 protected Control(boolean shouldAllocate,
                   int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o Control
 public Control()
This default constructor is equivalent to Objective-C's [[NSControl alloc] init].

 o Control
 public Control(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

 o Control
 public Control(Rect frameRect)
This constructor has the same effect as calling - initWithFrame: on a newly allocated object.

Methods

 o sizeToFit
 public native void sizeToFit()
A wrapper for the - sizeToFit Objective-C instance method.

 o calcSize
 public native void calcSize()
A wrapper for the - calcSize Objective-C instance method.

 o cell
 public native Object cell()
A wrapper for the - cell Objective-C instance method.

 o setCell
 public native void setCell(Cell aCell)
A wrapper for the - setCell: Objective-C instance method.

 o selectedCell
 public native Object selectedCell()
A wrapper for the - selectedCell Objective-C instance method.

 o target
 public native Object target()
A wrapper for the - target Objective-C instance method.

 o setTarget
 public native void setTarget(Object anObject)
A wrapper for the - setTarget: Objective-C instance method.

 o action
 public native Selector action()
A wrapper for the - action Objective-C instance method.

 o setAction
 public native void setAction(Selector aSelector)
A wrapper for the - setAction: Objective-C instance method.

 o tag
 public native int tag()
A wrapper for the - tag Objective-C instance method.

Overrides:
tag in class View
 o setTag
 public native void setTag(int anInt)
A wrapper for the - setTag: Objective-C instance method.

 o selectedTag
 public native int selectedTag()
A wrapper for the - selectedTag Objective-C instance method.

 o setIgnoresMultiClick
 public native void setIgnoresMultiClick(boolean flag)
A wrapper for the - setIgnoresMultiClick: Objective-C instance method.

 o ignoresMultiClick
 public native boolean ignoresMultiClick()
A wrapper for the - ignoresMultiClick Objective-C instance method.

 o setEventMaskForSendingAction
 public native int setEventMaskForSendingAction(int mask)
A wrapper for the - sendActionOn: Objective-C instance method.

 o isContinuous
 public native boolean isContinuous()
A wrapper for the - isContinuous Objective-C instance method.

 o setContinuous
 public native void setContinuous(boolean flag)
A wrapper for the - setContinuous: Objective-C instance method.

 o isEnabled
 public native boolean isEnabled()
A wrapper for the - isEnabled Objective-C instance method.

 o setEnabled
 public native void setEnabled(boolean flag)
A wrapper for the - setEnabled: Objective-C instance method.

 o setFloatingPointFormat
 public native void setFloatingPointFormat(boolean autoRange,
                                           int leftDigits,
                                           int rightDigits)
A wrapper for the - setFloatingPointFormat:left:right: Objective-C instance method.

 o alignment
 public native int alignment()
A wrapper for the - alignment Objective-C instance method.

 o setAlignment
 public native void setAlignment(int mode)
A wrapper for the - setAlignment: Objective-C instance method.

 o font
 public native Font font()
A wrapper for the - font Objective-C instance method.

 o setFont
 public native void setFont(Font fontObj)
A wrapper for the - setFont: Objective-C instance method.

 o setObjectValue
 public native void setObjectValue(Object obj)
A wrapper for the - setObjectValue: Objective-C instance method.

 o setStringValue
 public native void setStringValue(String aString)
A wrapper for the - setStringValue: Objective-C instance method.

 o setIntValue
 public native void setIntValue(int anInt)
A wrapper for the - setIntValue: Objective-C instance method.

 o setFloatValue
 public native void setFloatValue(float aFloat)
A wrapper for the - setFloatValue: Objective-C instance method.

 o setDoubleValue
 public native void setDoubleValue(double aDouble)
A wrapper for the - setDoubleValue: Objective-C instance method.

 o objectValue
 public native Object objectValue()
A wrapper for the - objectValue Objective-C instance method.

 o stringValue
 public native String stringValue()
A wrapper for the - stringValue Objective-C instance method.

 o intValue
 public native int intValue()
A wrapper for the - intValue Objective-C instance method.

 o floatValue
 public native float floatValue()
A wrapper for the - floatValue Objective-C instance method.

 o doubleValue
 public native double doubleValue()
A wrapper for the - doubleValue Objective-C instance method.

 o setControlNeedsDisplay
 public native void setControlNeedsDisplay()
A wrapper for the - setNeedsDisplay Objective-C instance method.

 o updateCell
 public native void updateCell(Cell aCell)
A wrapper for the - updateCell: Objective-C instance method.

 o updateCellInside
 public native void updateCellInside(Cell aCell)
A wrapper for the - updateCellInside: Objective-C instance method.

 o drawCellInside
 public native void drawCellInside(Cell aCell)
A wrapper for the - drawCellInside: Objective-C instance method.

 o drawCell
 public native void drawCell(Cell aCell)
A wrapper for the - drawCell: Objective-C instance method.

 o selectCell
 public native void selectCell(Cell aCell)
A wrapper for the - selectCell: Objective-C instance method.

 o sendActionToTarget
 public native boolean sendActionToTarget(Selector theAction,
                                          Object theTarget)
A wrapper for the - sendAction:to: Objective-C instance method.

 o takeIntValueFrom
 public native void takeIntValueFrom(Object sender)
A wrapper for the - takeIntValueFrom: Objective-C instance method.

 o takeFloatValueFrom
 public native void takeFloatValueFrom(Object sender)
A wrapper for the - takeFloatValueFrom: Objective-C instance method.

 o takeDoubleValueFrom
 public native void takeDoubleValueFrom(Object sender)
A wrapper for the - takeDoubleValueFrom: Objective-C instance method.

 o takeStringValueFrom
 public native void takeStringValueFrom(Object sender)
A wrapper for the - takeStringValueFrom: Objective-C instance method.

 o takeObjectValueFrom
 public native void takeObjectValueFrom(Object sender)
A wrapper for the - takeObjectValueFrom: Objective-C instance method.

 o currentEditor
 public native Text currentEditor()
A wrapper for the - currentEditor Objective-C instance method.

 o abortEditing
 public native boolean abortEditing()
A wrapper for the - abortEditing Objective-C instance method.

 o validateEditing
 public native void validateEditing()
A wrapper for the - validateEditing Objective-C instance method.

 o mouseDown
 public native void mouseDown(Event theEvent)
A wrapper for the - mouseDown: Objective-C instance method.

Overrides:
mouseDown in class Responder
 o performClick
 public native void performClick(Object sender)
A wrapper for the - performClick: Objective-C instance method.

 o setRefusesFirstResponder
 public native void setRefusesFirstResponder(boolean flag)
A wrapper for the - setRefusesFirstResponder: Objective-C instance method.

 o refusesFirstResponder
 public native boolean refusesFirstResponder()
A wrapper for the - refusesFirstResponder Objective-C instance method.

 o attributedStringValue
 public native AttributedString attributedStringValue()
A wrapper for the - attributedStringValue Objective-C instance method.

 o setAttributedStringValue
 public native void setAttributedStringValue(AttributedString obj)
A wrapper for the - setAttributedStringValue: Objective-C instance method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index