All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----com.apple.alpha.core.NativeObject | +----com.apple.alpha.app.Responder | +----com.apple.alpha.app.View | +----com.apple.alpha.app.Text
NSText
.
[[NSText
alloc] init]
.
- initWithCoder:
on a newly allocated object.
- initWithFrame:
on a newly allocated object.
- alignCenter:
Objective-C instance method.
- alignLeft:
Objective-C instance method.
- alignment
Objective-C instance method.
- alignRight:
Objective-C instance method.
- backgroundColor
Objective-C instance method.
- changeFont:
Objective-C instance method.
- changeSpelling:
Objective-C instance method
defined by the ChangeSpelling
interface
(known as the NSChangeSpelling
Objective-C protocol).
- checkSpelling:
Objective-C instance method.
- copy:
Objective-C instance method.
- copyFont:
Objective-C instance method.
- copyRuler:
Objective-C instance method.
- cut:
Objective-C instance method.
- delegate
Objective-C instance method.
- delete:
Objective-C instance method.
- drawsBackground
Objective-C instance method.
- font
Objective-C instance method.
- ignoreSpelling:
Objective-C instance method
defined by the IgnoreMisspelledWords
interface
(known as the NSIgnoreMisspelledWords
Objective-C protocol).
- importsGraphics
Objective-C instance method.
- isEditable
Objective-C instance method.
- isFieldEditor
Objective-C instance method.
- isHorizontallyResizable
Objective-C instance method.
- isRichText
Objective-C instance method.
- isRulerVisible
Objective-C instance method.
- isSelectable
Objective-C instance method.
- isVerticallyResizable
Objective-C instance method.
- maxSize
Objective-C instance method.
- minSize
Objective-C instance method.
- paste:
Objective-C instance method.
- pasteFont:
Objective-C instance method.
- pasteRuler:
Objective-C instance method.
- readRTFDFromFile:
Objective-C instance method.
- replaceCharactersInRange:withRTF:
Objective-C instance method.
- replaceCharactersInRange:withRTFD:
Objective-C instance method.
- replaceCharactersInRange:withString:
Objective-C instance method.
- RTFDFromRange:
Objective-C instance method.
- RTFFromRange:
Objective-C instance method.
- scrollRangeToVisible:
Objective-C instance method.
- selectAll:
Objective-C instance method.
- selectedRange
Objective-C instance method.
- setAlignment:
Objective-C instance method.
- setBackgroundColor:
Objective-C instance method.
- setDelegate:
Objective-C instance method.
- setDrawsBackground:
Objective-C instance method.
- setEditable:
Objective-C instance method.
- setFieldEditor:
Objective-C instance method.
- setFont:
Objective-C instance method.
- setFont:range:
Objective-C instance method.
- setHorizontallyResizable:
Objective-C instance method.
- setImportsGraphics:
Objective-C instance method.
- setMaxSize:
Objective-C instance method.
- setMinSize:
Objective-C instance method.
- setRichText:
Objective-C instance method.
- setSelectable:
Objective-C instance method.
- setSelectedRange:
Objective-C instance method.
- setString:
Objective-C instance method.
- setTextColor:
Objective-C instance method.
- setTextColor:range:
Objective-C instance method.
- setUsesFontPanel:
Objective-C instance method.
- setVerticallyResizable:
Objective-C instance method.
- showGuessPanel:
Objective-C instance method.
- sizeToFit
Objective-C instance method.
- string
Objective-C instance method.
- subscript:
Objective-C instance method.
- superscript:
Objective-C instance method.
- textColor
Objective-C instance method.
- toggleRuler:
Objective-C instance method.
- underline:
Objective-C instance method.
- unscript:
Objective-C instance method.
- usesFontPanel
Objective-C instance method.
- writeRTFDToFile:atomically:
Objective-C instance method.
public static final String TextDidBeginEditingNotification
public static final String TextDidEndEditingNotification
public static final String TextDidChangeNotification
public static final int LeftTextAlignment
public static final int RightTextAlignment
public static final int CenterTextAlignment
public static final int JustifiedTextAlignment
public static final int NaturalTextAlignment
protected Text(boolean shouldAllocate, int objcObject)
public Text()
[[NSText
alloc] init]
.
public Text(Coder aDecoder)
- initWithCoder:
on a newly allocated object.
public Text(Rect frameRect)
- initWithFrame:
on a newly allocated object.
public native String string()
- string
Objective-C instance method.
public native void setString(String string)
- setString:
Objective-C instance method.
public native void replaceCharactersInRangeWithString(Range range, String aString)
- replaceCharactersInRange:withString:
Objective-C instance method.
public native void replaceCharactersInRangeWithRTF(Range range, Data rtfData)
- replaceCharactersInRange:withRTF:
Objective-C instance method.
public native void replaceCharactersInRangeWithRTFD(Range range, Data rtfdData)
- replaceCharactersInRange:withRTFD:
Objective-C instance method.
public native Data RTFFromRange(Range range)
- RTFFromRange:
Objective-C instance method.
public native Data RTFDFromRange(Range range)
- RTFDFromRange:
Objective-C instance method.
public native boolean writeRTFDToFile(String path, boolean flag)
- writeRTFDToFile:atomically:
Objective-C instance method.
public native boolean readRTFDFromFile(String path)
- readRTFDFromFile:
Objective-C instance method.
public native Object delegate()
- delegate
Objective-C instance method.
public native void setDelegate(Object anObject)
- setDelegate:
Objective-C instance method.
public native boolean isEditable()
- isEditable
Objective-C instance method.
public native void setEditable(boolean flag)
- setEditable:
Objective-C instance method.
public native boolean isSelectable()
- isSelectable
Objective-C instance method.
public native void setSelectable(boolean flag)
- setSelectable:
Objective-C instance method.
public native boolean isRichText()
- isRichText
Objective-C instance method.
public native void setRichText(boolean flag)
- setRichText:
Objective-C instance method.
public native boolean importsGraphics()
- importsGraphics
Objective-C instance method.
public native void setImportsGraphics(boolean flag)
- setImportsGraphics:
Objective-C instance method.
public native void setBackgroundColor(Color color)
- setBackgroundColor:
Objective-C instance method.
public native Color backgroundColor()
- backgroundColor
Objective-C instance method.
public native void setDrawsBackground(boolean flag)
- setDrawsBackground:
Objective-C instance method.
public native boolean drawsBackground()
- drawsBackground
Objective-C instance method.
public native void setFont(Font obj)
- setFont:
Objective-C instance method.
public native Font font()
- font
Objective-C instance method.
public native void setTextColor(Color color)
- setTextColor:
Objective-C instance method.
public native Color textColor()
- textColor
Objective-C instance method.
public native int alignment()
- alignment
Objective-C instance method.
public native void setAlignment(int mode)
- setAlignment:
Objective-C instance method.
public native void setFieldEditor(boolean flag)
- setFieldEditor:
Objective-C instance method.
public native boolean isFieldEditor()
- isFieldEditor
Objective-C instance method.
public native void setTextColorInRange(Color color, Range range)
- setTextColor:range:
Objective-C instance method.
public native void setFontInRange(Font font, Range range)
- setFont:range:
Objective-C instance method.
public native boolean usesFontPanel()
- usesFontPanel
Objective-C instance method.
public native void setUsesFontPanel(boolean flag)
- setUsesFontPanel:
Objective-C instance method.
public native Size maxSize()
- maxSize
Objective-C instance method.
public native void setMaxSize(Size newMaxSize)
- setMaxSize:
Objective-C instance method.
public native Size minSize()
- minSize
Objective-C instance method.
public native void setMinSize(Size newMinSize)
- setMinSize:
Objective-C instance method.
public native boolean isHorizontallyResizable()
- isHorizontallyResizable
Objective-C instance method.
public native void setHorizontallyResizable(boolean flag)
- setHorizontallyResizable:
Objective-C instance method.
public native boolean isVerticallyResizable()
- isVerticallyResizable
Objective-C instance method.
public native void setVerticallyResizable(boolean flag)
- setVerticallyResizable:
Objective-C instance method.
public native void sizeToFit()
- sizeToFit
Objective-C instance method.
public native void copy(Object sender)
- copy:
Objective-C instance method.
public native void copyFont(Object sender)
- copyFont:
Objective-C instance method.
public native void copyRuler(Object sender)
- copyRuler:
Objective-C instance method.
public native void cut(Object sender)
- cut:
Objective-C instance method.
public native void delete(Object sender)
- delete:
Objective-C instance method.
public native void paste(Object sender)
- paste:
Objective-C instance method.
public native void pasteFont(Object sender)
- pasteFont:
Objective-C instance method.
public native void pasteRuler(Object sender)
- pasteRuler:
Objective-C instance method.
public native void selectAll(Object sender)
- selectAll:
Objective-C instance method.
public native void changeFont(Object sender)
- changeFont:
Objective-C instance method.
public native void alignLeft(Object sender)
- alignLeft:
Objective-C instance method.
public native void alignRight(Object sender)
- alignRight:
Objective-C instance method.
public native void alignCenter(Object sender)
- alignCenter:
Objective-C instance method.
public native void subscript(Object sender)
- subscript:
Objective-C instance method.
public native void superscript(Object sender)
- superscript:
Objective-C instance method.
public native void underline(Object sender)
- underline:
Objective-C instance method.
public native void unscript(Object sender)
- unscript:
Objective-C instance method.
public native void showGuessPanel(Object sender)
- showGuessPanel:
Objective-C instance method.
public native void checkSpelling(Object sender)
- checkSpelling:
Objective-C instance method.
public native void toggleRuler(Object sender)
- toggleRuler:
Objective-C instance method.
public native boolean isRulerVisible()
- isRulerVisible
Objective-C instance method.
public native Range selectedRange()
- selectedRange
Objective-C instance method.
public native void setSelectedRange(Range range)
- setSelectedRange:
Objective-C instance method.
public native void scrollRangeToVisible(Range range)
- scrollRangeToVisible:
Objective-C instance method.
public native void changeSpelling(Object sender)
- changeSpelling:
Objective-C instance method
defined by the ChangeSpelling
interface
(known as the NSChangeSpelling
Objective-C protocol).
public native void ignoreSpelling(Object sender)
- ignoreSpelling:
Objective-C instance method
defined by the IgnoreMisspelledWords
interface
(known as the NSIgnoreMisspelledWords
Objective-C protocol).
All Packages Class Hierarchy This Package Previous Next Index