Package org.robovm.apple.uikit
Class UISimpleTextPrintFormatter
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.uikit.UIPrintFormatter
-
- org.robovm.apple.uikit.UISimpleTextPrintFormatter
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class UISimpleTextPrintFormatter extends UIPrintFormatter
- Since:
- Available in iOS 4.2 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UISimpleTextPrintFormatter.UISimpleTextPrintFormatterPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.uikit.UIPrintFormatter
UIPrintFormatter.UIPrintFormatterPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description UISimpleTextPrintFormatter()
UISimpleTextPrintFormatter(java.lang.String text)
UISimpleTextPrintFormatter(NSAttributedString attributedText)
protected
UISimpleTextPrintFormatter(NSObject.Handle h, long handle)
protected
UISimpleTextPrintFormatter(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NSAttributedString
getAttributedText()
UIColor
getColor()
UIFont
getFont()
java.lang.String
getText()
NSTextAlignment
getTextAlignment()
protected long
init(java.lang.String text)
protected long
init(NSAttributedString attributedText)
void
setAttributedText(NSAttributedString v)
void
setColor(UIColor v)
void
setFont(UIFont v)
void
setText(java.lang.String v)
void
setTextAlignment(NSTextAlignment v)
-
Methods inherited from class org.robovm.apple.uikit.UIPrintFormatter
draw, getContentInsets, getMaximumContentHeight, getMaximumContentWidth, getPageCount, getPerPageContentInsets, getPrintPageRenderer, getRectForPage, getStartPage, removeFromPrintPageRenderer, setContentInsets, setMaximumContentHeight, setMaximumContentWidth, setPerPageContentInsets, setStartPage
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
UISimpleTextPrintFormatter
public UISimpleTextPrintFormatter()
-
UISimpleTextPrintFormatter
protected UISimpleTextPrintFormatter(NSObject.Handle h, long handle)
-
UISimpleTextPrintFormatter
protected UISimpleTextPrintFormatter(NSObject.SkipInit skipInit)
-
UISimpleTextPrintFormatter
public UISimpleTextPrintFormatter(java.lang.String text)
-
UISimpleTextPrintFormatter
public UISimpleTextPrintFormatter(NSAttributedString attributedText)
- Since:
- Available in iOS 7.0 and later.
-
-
Method Detail
-
getText
public java.lang.String getText()
-
setText
public void setText(java.lang.String v)
-
getAttributedText
public NSAttributedString getAttributedText()
- Since:
- Available in iOS 7.0 and later.
-
setAttributedText
public void setAttributedText(NSAttributedString v)
- Since:
- Available in iOS 7.0 and later.
-
getFont
public UIFont getFont()
-
setFont
public void setFont(UIFont v)
-
getColor
public UIColor getColor()
-
setColor
public void setColor(UIColor v)
-
getTextAlignment
public NSTextAlignment getTextAlignment()
-
setTextAlignment
public void setTextAlignment(NSTextAlignment v)
-
init
protected long init(java.lang.String text)
-
init
protected long init(NSAttributedString attributedText)
- Since:
- Available in iOS 7.0 and later.
-
-