All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.TextField

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

public class TextField
extends Control
This class wraps the Objective-C class NSTextField.


Constructor Index

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

Method Index

 o acceptsFirstResponder()
A wrapper for the - acceptsFirstResponder Objective-C instance method.
 o allowsEditingTextAttributes()
A wrapper for the - allowsEditingTextAttributes Objective-C instance method.
 o backgroundColor()
A wrapper for the - backgroundColor Objective-C instance method.
 o delegate()
A wrapper for the - delegate Objective-C instance method.
 o drawsBackground()
A wrapper for the - drawsBackground Objective-C instance method.
 o errorAction()
A wrapper for the - errorAction Objective-C instance method.
 o importsGraphics()
A wrapper for the - importsGraphics Objective-C instance method.
 o isBezeled()
A wrapper for the - isBezeled Objective-C instance method.
 o isBordered()
A wrapper for the - isBordered Objective-C instance method.
 o isEditable()
A wrapper for the - isEditable Objective-C instance method.
 o isSelectable()
A wrapper for the - isSelectable Objective-C instance method.
 o nextText()
A wrapper for the - nextText Objective-C instance method.
 o previousText()
A wrapper for the - previousText Objective-C instance method.
 o selectText(Object)
A wrapper for the - selectText: Objective-C instance method.
 o setAllowsEditingTextAttributes(boolean)
A wrapper for the - setAllowsEditingTextAttributes: Objective-C instance method.
 o setBackgroundColor(Color)
A wrapper for the - setBackgroundColor: Objective-C instance method.
 o setBezeled(boolean)
A wrapper for the - setBezeled: Objective-C instance method.
 o setBordered(boolean)
A wrapper for the - setBordered: Objective-C instance method.
 o setDelegate(Object)
A wrapper for the - setDelegate: Objective-C instance method.
 o setDrawsBackground(boolean)
A wrapper for the - setDrawsBackground: Objective-C instance method.
 o setEditable(boolean)
A wrapper for the - setEditable: Objective-C instance method.
 o setErrorAction(Selector)
A wrapper for the - setErrorAction: Objective-C instance method.
 o setImportsGraphics(boolean)
A wrapper for the - setImportsGraphics: Objective-C instance method.
 o setNextText(Object)
A wrapper for the - setNextText: Objective-C instance method.
 o setPreviousText(Object)
A wrapper for the - setPreviousText: Objective-C instance method.
 o setSelectable(boolean)
A wrapper for the - setSelectable: Objective-C instance method.
 o setTextColor(Color)
A wrapper for the - setTextColor: Objective-C instance method.
 o setTitleWithMnemonic(String)
A wrapper for the - setTitleWithMnemonic: Objective-C instance method.
 o textColor()
A wrapper for the - textColor Objective-C instance method.
 o textDidBeginEditing(Notification)
A wrapper for the - textDidBeginEditing: Objective-C instance method.
 o textDidChange(Notification)
A wrapper for the - textDidChange: Objective-C instance method.
 o textDidEndEditing(Notification)
A wrapper for the - textDidEndEditing: Objective-C instance method.
 o textShouldBeginEditing(Text)
A wrapper for the - textShouldBeginEditing: Objective-C instance method.
 o textShouldEndEditing(Text)
A wrapper for the - textShouldEndEditing: Objective-C instance method.

Constructors

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

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

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

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

Methods

 o setBackgroundColor
 public native void setBackgroundColor(Color color)
A wrapper for the - setBackgroundColor: Objective-C instance method.

 o backgroundColor
 public native Color backgroundColor()
A wrapper for the - backgroundColor Objective-C instance method.

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

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

 o setTextColor
 public native void setTextColor(Color color)
A wrapper for the - setTextColor: Objective-C instance method.

 o textColor
 public native Color textColor()
A wrapper for the - textColor Objective-C instance method.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

 o textShouldBeginEditing
 public native boolean textShouldBeginEditing(Text textObject)
A wrapper for the - textShouldBeginEditing: Objective-C instance method.

 o textShouldEndEditing
 public native boolean textShouldEndEditing(Text textObject)
A wrapper for the - textShouldEndEditing: Objective-C instance method.

 o textDidBeginEditing
 public native void textDidBeginEditing(Notification notification)
A wrapper for the - textDidBeginEditing: Objective-C instance method.

 o textDidEndEditing
 public native void textDidEndEditing(Notification notification)
A wrapper for the - textDidEndEditing: Objective-C instance method.

 o textDidChange
 public native void textDidChange(Notification notification)
A wrapper for the - textDidChange: Objective-C instance method.

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

Overrides:
acceptsFirstResponder in class Responder
 o setTitleWithMnemonic
 public native void setTitleWithMnemonic(String stringWithAmpersand)
A wrapper for the - setTitleWithMnemonic: Objective-C instance method.

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

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

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

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


All Packages  Class Hierarchy  This Package  Previous  Next  Index