org.rococoa.cocoa.appkit
Class NSTabViewItem

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.appkit.NSTabViewItem
All Implemented Interfaces:
NSCoding, NSObject, ObjCObject

public abstract class NSTabViewItem
extends NSObject
implements ObjCObject, 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 NSTabViewItem.__tviFlags
           
static class NSTabViewItem._class_
           
 
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
NSTabViewItem()
           
 
Method Summary
static NSTabViewItem alloc()
           
abstract  NSColor color()
          Original signature : -(NSColor*)color
native declaration : NSTabViewItem.h:64
static NSTabViewItem createWithIdentifier(ObjCObject identifier)
          Factory method
abstract  void drawLabel_inRect(boolean shouldTruncateLabel, NSRect.ByValue labelRect)
          This method draws the tab label assuming a local coordinate system whose label axis runs along the x axis.
static NSTabViewItem._class_ getNSClass()
           
abstract  NSObject identifier()
          Original signature : -(id)identifier
native declaration : NSTabViewItem.h:60
abstract  NSObject initialFirstResponder()
          Original signature : -(id)initialFirstResponder
native declaration : NSTabViewItem.h:62
abstract  NSTabViewItem initWithIdentifier(ObjCObject identifier)
          Original signature : -(id)initWithIdentifier:(id)
native declaration : NSTabViewItem.h:56
abstract  NSString label()
          Original signature : -(NSString*)label
native declaration : NSTabViewItem.h:63
static NSTabViewItem new_()
           
abstract  void setColor(NSColor color)
          Original signature : -(void)setColor:(NSColor*)
native declaration : NSTabViewItem.h:72
abstract  void setIdentifier(ObjCObject identifier)
          Original signature : -(void)setIdentifier:(id)
native declaration : NSTabViewItem.h:70
abstract  void setInitialFirstResponder(NSView view)
          Original signature : -(void)setInitialFirstResponder:(NSView*)
native declaration : NSTabViewItem.h:74
abstract  void setLabel(NSString label)
          Original signature : -(void)setLabel:(NSString*)
native declaration : NSTabViewItem.h:71
abstract  void setToolTip(NSString toolTip)
          Original signature : -(void)setToolTip:(NSString*)
native declaration : NSTabViewItem.h:79
abstract  void setView(NSView view)
          Original signature : -(void)setView:(NSView*)
native declaration : NSTabViewItem.h:73
abstract  NSSize.ByValue sizeOfLabel(boolean computeMin)
          This method returns the minimum or nominal size of the tab label.
abstract  int tabState()
          Original signature : -(NSTabState)tabState
native declaration : NSTabViewItem.h:65
abstract  NSTabView tabView()
          Original signature : -(NSTabView*)tabView
native declaration : NSTabViewItem.h:66
abstract  NSString toolTip()
          The following methods provide support for tooltips on the tabs a tab view.
abstract  NSObject view()
          Original signature : -(id)view
native declaration : NSTabViewItem.h:61
 
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.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

NSTabViewItem

public NSTabViewItem()
Method Detail

initWithIdentifier

public abstract NSTabViewItem initWithIdentifier(ObjCObject identifier)
Original signature : -(id)initWithIdentifier:(id)
native declaration : NSTabViewItem.h:56


createWithIdentifier

public static NSTabViewItem createWithIdentifier(ObjCObject identifier)
Factory method

See Also:
initWithIdentifier(org.rococoa.ObjCObject)

identifier

public abstract NSObject identifier()
Original signature : -(id)identifier
native declaration : NSTabViewItem.h:60


view

public abstract NSObject view()
Original signature : -(id)view
native declaration : NSTabViewItem.h:61


initialFirstResponder

public abstract NSObject initialFirstResponder()
Original signature : -(id)initialFirstResponder
native declaration : NSTabViewItem.h:62


label

public abstract NSString label()
Original signature : -(NSString*)label
native declaration : NSTabViewItem.h:63


color

public abstract NSColor color()
Original signature : -(NSColor*)color
native declaration : NSTabViewItem.h:64


tabState

public abstract int tabState()
Original signature : -(NSTabState)tabState
native declaration : NSTabViewItem.h:65


tabView

public abstract NSTabView tabView()
Original signature : -(NSTabView*)tabView
native declaration : NSTabViewItem.h:66


setIdentifier

public abstract void setIdentifier(ObjCObject identifier)
Original signature : -(void)setIdentifier:(id)
native declaration : NSTabViewItem.h:70


setLabel

public abstract void setLabel(NSString label)
Original signature : -(void)setLabel:(NSString*)
native declaration : NSTabViewItem.h:71


setColor

public abstract void setColor(NSColor color)
Original signature : -(void)setColor:(NSColor*)
native declaration : NSTabViewItem.h:72


setView

public abstract void setView(NSView view)
Original signature : -(void)setView:(NSView*)
native declaration : NSTabViewItem.h:73


setInitialFirstResponder

public abstract void setInitialFirstResponder(NSView view)
Original signature : -(void)setInitialFirstResponder:(NSView*)
native declaration : NSTabViewItem.h:74


toolTip

public abstract NSString toolTip()
The following methods provide support for tooltips on the tabs a tab view. The default behavior is to use the label as a tooltip if the label is truncated due to insufficient space; this automatic tooltip is never returned by the toolTip method. If you explicitly set a non-nil tooltip, this default behavior is suppressed, and the given tooltip will be used whether or not the label is truncated.
Original signature : -(NSString*)toolTip
native declaration : NSTabViewItem.h:78


setToolTip

public abstract void setToolTip(NSString toolTip)
Original signature : -(void)setToolTip:(NSString*)
native declaration : NSTabViewItem.h:79


drawLabel_inRect

public abstract void drawLabel_inRect(boolean shouldTruncateLabel,
                                      NSRect.ByValue labelRect)
This method draws the tab label assuming a local coordinate system whose label axis runs along the x axis. Assume the label axis runs along the length of the label (perpendicular to the direction of the tab). 'labelRect' is the area in between the curved end caps. 'shouldTruncateLabel' is a hint that the label should be truncated. ie. if shouldTruncateLabel is YES, then labelRect.size < ceil([sizeOfLabel:NO])
Original signature : -(void)drawLabel:(BOOL) inRect:(NSRect)
native declaration : NSTabViewItem.h:85


sizeOfLabel

public abstract NSSize.ByValue sizeOfLabel(boolean computeMin)
This method returns the minimum or nominal size of the tab label. The width of the label is measured along the label axis, and height is measured in the direction parallel to the tab direction. 'computeMin' indicates whether you should return the minimum or nominal label size. The returned value is used to compute the range of legal sizes for the tab label.
Original signature : -(NSSize)sizeOfLabel:(BOOL)
native declaration : NSTabViewItem.h:89


alloc

public static NSTabViewItem alloc()

new_

public static NSTabViewItem new_()

getNSClass

public static NSTabViewItem._class_ getNSClass()


Copyright © 2009. All Rights Reserved.