org.rococoa.cocoa.appkit
Class NSParagraphStyle

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.appkit.NSParagraphStyle
All Implemented Interfaces:
NSCoding, NSCopying, NSMutableCopying, NSObject, ObjCObject
Direct Known Subclasses:
NSMutableParagraphStyle

public abstract class NSParagraphStyle
extends NSObject
implements ObjCObject, NSCopying, NSMutableCopying, NSCoding

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class NSParagraphStyle._class_
           
static class NSParagraphStyle._flags_struct
           
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying
NSCopying._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSMutableCopying
NSMutableCopying._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
NSCoding._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Constructor Summary
NSParagraphStyle()
           
 
Method Summary
abstract  NSObject alignment()
          Original signature : -(id)alignment
native declaration : NSParagraphStyle.h:112
static NSParagraphStyle alloc()
           
abstract  NSObject baseWritingDirection()
          Original signature : -(id)baseWritingDirection
native declaration : NSParagraphStyle.h:127
static NSParagraphStyle defaultParagraphStyle()
          Original signature : +(NSParagraphStyle*)defaultParagraphStyle
native declaration : NSParagraphStyle.h:104
abstract  org.rococoa.cocoa.CGFloat defaultTabInterval()
          Tabs after the last specified in tabStops are placed at integral multiples of this distance (if positive).
static NSObject defaultWritingDirectionForLanguage(NSString languageName)
          languageName is in ISO lang region format
Original signature : +(id)defaultWritingDirectionForLanguage:(NSString*)
native declaration : NSParagraphStyle.h:107
abstract  org.rococoa.cocoa.CGFloat firstLineHeadIndent()
          Distance from margin to edge appropriate for text direction
Original signature : -(CGFloat)firstLineHeadIndent
native declaration : NSParagraphStyle.h:118
static NSParagraphStyle._class_ getNSClass()
           
abstract  NSInteger headerLevel()
          Specifies whether the paragraph is to be treated as a header for purposes of HTML generation.
abstract  org.rococoa.cocoa.CGFloat headIndent()
          Distance from margin to front edge of paragraph
Original signature : -(CGFloat)headIndent
native declaration : NSParagraphStyle.h:116
abstract  float hyphenationFactor()
          Specifies the threshold for hyphenation.
abstract  int lineBreakMode()
          Original signature : -(NSLineBreakMode)lineBreakMode
native declaration : NSParagraphStyle.h:124
abstract  org.rococoa.cocoa.CGFloat lineHeightMultiple()
          Natural line height is multiplied by this factor (if positive) before being constrained by minimum and maximum line height.
abstract  org.rococoa.cocoa.CGFloat lineSpacing()
          "Leading": distance between the bottom of one line fragment and top of next (applied between lines in the same container).
abstract  org.rococoa.cocoa.CGFloat maximumLineHeight()
          0 implies no maximum.
abstract  org.rococoa.cocoa.CGFloat minimumLineHeight()
          Line height is the distance from bottom of descenders to top of ascenders; basically the line fragment height.
static NSParagraphStyle new_()
           
abstract  org.rococoa.cocoa.CGFloat paragraphSpacing()
          Distance between the bottom of this paragraph and top of next (or the beginning of its paragraphSpacingBefore, if any).
abstract  org.rococoa.cocoa.CGFloat paragraphSpacingBefore()
          Distance between the bottom of the previous paragraph (or the end of its paragraphSpacing, if any) and the top of this paragraph.
abstract  NSArray tabStops()
          Distance from margin to tab stops
Original signature : -(NSArray*)tabStops
native declaration : NSParagraphStyle.h:119
abstract  org.rococoa.cocoa.CGFloat tailIndent()
          Distance from margin to back edge of paragraph; if negative or 0, from other margin
Original signature : -(CGFloat)tailIndent
native declaration : NSParagraphStyle.h:117
abstract  NSArray textBlocks()
          Array to specify the text blocks containing the paragraph, nested from outermost to innermost.
abstract  NSArray textLists()
          Array to specify the text lists containing the paragraph, nested from outermost to innermost.
abstract  float tighteningFactorForTruncation()
          Specifies the threshold for using tightening as an alternative to truncation.
 
Methods inherited from class org.rococoa.cocoa.foundation.NSObject
as_NSObject_NSAccessibility, as_NSObject_NSAccessibilityAdditions, as_NSObject_NSApplicationScriptingDelegation, as_NSObject_NSArchiverCallback, as_NSObject_NSClassDescriptionPrimitives, as_NSObject_NSCoderMethods, as_NSObject_NSColorPanelResponderMethod, as_NSObject_NSComparisonMethods, as_NSObject_NSControlSubclassNotifications, as_NSObject_NSCopyLinkMoveHandler, as_NSObject_NSDelayedPerforming, as_NSObject_NSDeprecatedKeyValueCoding, as_NSObject_NSDeprecatedKeyValueObservingCustomization, as_NSObject_NSDeprecatedMethods, as_NSObject_NSDictionaryControllerKeyValuePair, as_NSObject_NSDistributedObjects, as_NSObject_NSDraggingDestination, as_NSObject_NSDraggingSource, as_NSObject_NSDraggingSourceDeprecated, as_NSObject_NSEditor, as_NSObject_NSEditorRegistration, as_NSObject_NSErrorRecoveryAttempting, as_NSObject_NSFileManagerFileOperationAdditions, as_NSObject_NSFontManagerDelegate, as_NSObject_NSFontManagerResponderMethod, as_NSObject_NSFontPanelValidationAdditions, as_NSObject_NSKeyValueBindingCreation, as_NSObject_NSKeyValueCoding, as_NSObject_NSKeyValueObserverNotification, as_NSObject_NSKeyValueObserverRegistration, as_NSObject_NSKeyValueObserving, as_NSObject_NSKeyValueObservingCustomization, as_NSObject_NSMenuValidation, as_NSObject_NSNibAwaking, as_NSObject_NSPasteboardOwner, as_NSObject_NSPlaceholders, as_NSObject_NSScriptClassDescription, as_NSObject_NSScripting, as_NSObject_NSScriptingComparisonMethods, as_NSObject_NSScriptKeyValueCoding, as_NSObject_NSScriptObjectSpecifiers, as_NSObject_NSThreadPerformAdditions, as_NSObject_NSURLClient, as_NSObject_NSURLConnectionDelegate, as_NSObject_NSURLDownloadDelegate, copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardingTargetForSelector, forwardInvocation, init, isKindOfClass, isKindOfClass, methodForSelector, methodSignatureForSelector, mutableCopy, release, retain, retainCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying
copyWithZone
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSMutableCopying
mutableCopyWithZone
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
encodeWithCoder, initWithCoder
 
Methods inherited from interface org.rococoa.ObjCObject
id
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone
 

Constructor Detail

NSParagraphStyle

public NSParagraphStyle()
Method Detail

defaultParagraphStyle

public static NSParagraphStyle defaultParagraphStyle()
Original signature : +(NSParagraphStyle*)defaultParagraphStyle
native declaration : NSParagraphStyle.h:104


defaultWritingDirectionForLanguage

public static NSObject defaultWritingDirectionForLanguage(NSString languageName)
languageName is in ISO lang region format
Original signature : +(id)defaultWritingDirectionForLanguage:(NSString*)
native declaration : NSParagraphStyle.h:107


lineSpacing

public abstract org.rococoa.cocoa.CGFloat lineSpacing()
"Leading": distance between the bottom of one line fragment and top of next (applied between lines in the same container). Can't be negative. This value is included in the line fragment heights in layout manager.
Original signature : -(CGFloat)lineSpacing
native declaration : NSParagraphStyle.h:110


paragraphSpacing

public abstract org.rococoa.cocoa.CGFloat paragraphSpacing()
Distance between the bottom of this paragraph and top of next (or the beginning of its paragraphSpacingBefore, if any).
Original signature : -(CGFloat)paragraphSpacing
native declaration : NSParagraphStyle.h:111


alignment

public abstract NSObject alignment()
Original signature : -(id)alignment
native declaration : NSParagraphStyle.h:112


headIndent

public abstract org.rococoa.cocoa.CGFloat headIndent()
Distance from margin to front edge of paragraph
Original signature : -(CGFloat)headIndent
native declaration : NSParagraphStyle.h:116


tailIndent

public abstract org.rococoa.cocoa.CGFloat tailIndent()
Distance from margin to back edge of paragraph; if negative or 0, from other margin
Original signature : -(CGFloat)tailIndent
native declaration : NSParagraphStyle.h:117


firstLineHeadIndent

public abstract org.rococoa.cocoa.CGFloat firstLineHeadIndent()
Distance from margin to edge appropriate for text direction
Original signature : -(CGFloat)firstLineHeadIndent
native declaration : NSParagraphStyle.h:118


tabStops

public abstract NSArray tabStops()
Distance from margin to tab stops
Original signature : -(NSArray*)tabStops
native declaration : NSParagraphStyle.h:119


minimumLineHeight

public abstract org.rococoa.cocoa.CGFloat minimumLineHeight()
Line height is the distance from bottom of descenders to top of ascenders; basically the line fragment height. Does not include lineSpacing (which is added after this computation).
Original signature : -(CGFloat)minimumLineHeight
native declaration : NSParagraphStyle.h:121


maximumLineHeight

public abstract org.rococoa.cocoa.CGFloat maximumLineHeight()
0 implies no maximum.
Original signature : -(CGFloat)maximumLineHeight
native declaration : NSParagraphStyle.h:122


lineBreakMode

public abstract int lineBreakMode()
Original signature : -(NSLineBreakMode)lineBreakMode
native declaration : NSParagraphStyle.h:124


baseWritingDirection

public abstract NSObject baseWritingDirection()
Original signature : -(id)baseWritingDirection
native declaration : NSParagraphStyle.h:127


lineHeightMultiple

public abstract org.rococoa.cocoa.CGFloat lineHeightMultiple()
Natural line height is multiplied by this factor (if positive) before being constrained by minimum and maximum line height.
Original signature : -(CGFloat)lineHeightMultiple
native declaration : NSParagraphStyle.h:131


paragraphSpacingBefore

public abstract org.rococoa.cocoa.CGFloat paragraphSpacingBefore()
Distance between the bottom of the previous paragraph (or the end of its paragraphSpacing, if any) and the top of this paragraph.
Original signature : -(CGFloat)paragraphSpacingBefore
native declaration : NSParagraphStyle.h:132


defaultTabInterval

public abstract org.rococoa.cocoa.CGFloat defaultTabInterval()
Tabs after the last specified in tabStops are placed at integral multiples of this distance (if positive).
Original signature : -(CGFloat)defaultTabInterval
native declaration : NSParagraphStyle.h:133


textBlocks

public abstract NSArray textBlocks()
Array to specify the text blocks containing the paragraph, nested from outermost to innermost.
Original signature : -(NSArray*)textBlocks
native declaration : NSParagraphStyle.h:137


textLists

public abstract NSArray textLists()
Array to specify the text lists containing the paragraph, nested from outermost to innermost.
Original signature : -(NSArray*)textLists
native declaration : NSParagraphStyle.h:138


hyphenationFactor

public abstract float hyphenationFactor()
Specifies the threshold for hyphenation. Valid values lie between 0.0 and 1.0 inclusive. Hyphenation will be attempted when the ratio of the text width as broken without hyphenation to the width of the line fragment is less than the hyphenation factor. When this takes on its default value of 0.0, the layout manager's hyphenation factor is used instead. When both are 0.0, hyphenation is disabled.
Original signature : -(float)hyphenationFactor
native declaration : NSParagraphStyle.h:142


tighteningFactorForTruncation

public abstract float tighteningFactorForTruncation()
Specifies the threshold for using tightening as an alternative to truncation. When the line break mode specifies truncation, the text system will attempt to tighten inter-character spacing as an alternative to truncation, provided that the ratio of the text width to the line fragment width does not exceed 1.0 + tighteningFactorForTruncation. Otherwise the text will be truncated at a location determined by the line break mode. The default value is 0.05.
Original signature : -(float)tighteningFactorForTruncation
native declaration : NSParagraphStyle.h:146


headerLevel

public abstract NSInteger headerLevel()
Specifies whether the paragraph is to be treated as a header for purposes of HTML generation. Should be set to 0 (the default value) if the paragraph is not a header, or from 1 through 6 if the paragraph is to be treated as a header.
Original signature : -(NSInteger)headerLevel
native declaration : NSParagraphStyle.h:149


alloc

public static NSParagraphStyle alloc()

new_

public static NSParagraphStyle new_()

getNSClass

public static NSParagraphStyle._class_ getNSClass()


Copyright © 2009. All Rights Reserved.