org.rococoa.cocoa.appkit
Class NSTabView

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

public abstract class NSTabView
extends NSView

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 NSTabView.__NSTabViewDelegateRespondTo
           
static class NSTabView.__NSTabViewFlags
           
static class NSTabView._class_
           
 
Nested classes/interfaces inherited from class org.rococoa.cocoa.appkit.NSView
NSView.__VFlags2
 
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
NSTabView()
           
 
Method Summary
abstract  void addTabViewItem(NSTabViewItem tabViewItem)
          Add tab at the end.
static NSTabView alloc()
           
abstract  boolean allowsTruncatedLabels()
          Original signature : -(BOOL)allowsTruncatedLabels
native declaration : NSTabView.h:94
abstract  NSObject contentRect()
          Return the rect available for a "page".
abstract  NSObject controlSize()
          Original signature : -(id)controlSize
native declaration : NSTabView.h:98
abstract  NSObject controlTint()
          Original signature : -(id)controlTint
native declaration : NSTabView.h:97
abstract  NSTabViewDelegate delegate()
          Original signature : -(id)delegate
native declaration : NSTabView.h:118
abstract  boolean drawsBackground()
          only relevant for borderless tab view type
Original signature : -(BOOL)drawsBackground
native declaration : NSTabView.h:96
abstract  NSFont font()
          returns font used for all tab labels.
static NSTabView._class_ getNSClass()
           
abstract  NSInteger indexOfTabViewItem(NSTabViewItem tabViewItem)
          NSNotFound if not found
Original signature : -(NSInteger)indexOfTabViewItem:(NSTabViewItem*)
native declaration : NSTabView.h:131
abstract  NSInteger indexOfTabViewItemWithIdentifier(ObjCObject identifier)
          NSNotFound if not found
Original signature : -(NSInteger)indexOfTabViewItemWithIdentifier:(id)
native declaration : NSTabView.h:133
abstract  void insertTabViewItem_atIndex(NSTabViewItem tabViewItem, NSInteger index)
          May raise an NSRangeException
Original signature : -(void)insertTabViewItem:(NSTabViewItem*) atIndex:(NSInteger)
native declaration : NSTabView.h:112
abstract  NSObject minimumSize()
          returns the minimum size of the tab view
Original signature : -(id)minimumSize
native declaration : NSTabView.h:95
static NSTabView new_()
           
abstract  NSInteger numberOfTabViewItems()
          Original signature : -(NSInteger)numberOfTabViewItems
native declaration : NSTabView.h:130
abstract  void removeTabViewItem(NSTabViewItem tabViewItem)
          tabViewItem must be an existing tabViewItem
Original signature : -(void)removeTabViewItem:(NSTabViewItem*)
native declaration : NSTabView.h:113
abstract  NSTabViewItem selectedTabViewItem()
          return nil if none are selected
Original signature : -(NSTabViewItem*)selectedTabViewItem
native declaration : NSTabView.h:90
abstract  void selectFirstTabViewItem(ObjCObject sender)
          Original signature : -(void)selectFirstTabViewItem:(id)
native declaration : NSTabView.h:83
abstract  void selectLastTabViewItem(ObjCObject sender)
          Original signature : -(void)selectLastTabViewItem:(id)
native declaration : NSTabView.h:84
abstract  void selectNextTabViewItem(ObjCObject sender)
          Original signature : -(void)selectNextTabViewItem:(id)
native declaration : NSTabView.h:85
abstract  void selectPreviousTabViewItem(ObjCObject sender)
          Original signature : -(void)selectPreviousTabViewItem:(id)
native declaration : NSTabView.h:86
abstract  void selectTabViewItem(NSTabViewItem tabViewItem)
          Original signature : -(void)selectTabViewItem:(NSTabViewItem*)
native declaration : NSTabView.h:76
abstract  void selectTabViewItemAtIndex(NSInteger index)
          May raise an NSRangeException
Original signature : -(void)selectTabViewItemAtIndex:(NSInteger)
native declaration : NSTabView.h:77
abstract  void selectTabViewItemWithIdentifier(ObjCObject identifier)
          May raise an NSRangeException if identifier not found
Original signature : -(void)selectTabViewItemWithIdentifier:(id)
native declaration : NSTabView.h:78
abstract  void setAllowsTruncatedLabels(boolean allowTruncatedLabels)
          Original signature : -(void)setAllowsTruncatedLabels:(BOOL)
native declaration : NSTabView.h:104
abstract  void setDelegate(NSTabViewDelegate anObject)
          Original signature : -(void)setDelegate:(id)
native declaration : NSTabView.h:117
abstract  void setDrawsBackground(boolean flag)
          only relevant for borderless tab view type
Original signature : -(void)setDrawsBackground:(BOOL)
native declaration : NSTabView.h:105
abstract  void setFont(NSFont font)
          Original signature : -(void)setFont:(NSFont*)
native declaration : NSTabView.h:102
abstract  void setTabViewType(int tabViewType)
          Original signature : -(void)setTabViewType:(NSTabViewType)
native declaration : NSTabView.h:103
abstract  NSTabViewItem tabViewItemAtIndex(NSInteger index)
          May raise an NSRangeException
Original signature : -(NSTabViewItem*)tabViewItemAtIndex:(NSInteger)
native declaration : NSTabView.h:132
abstract  NSArray tabViewItems()
          Original signature : -(NSArray*)tabViewItems
native declaration : NSTabView.h:93
abstract  int tabViewType()
          Original signature : -(NSTabViewType)tabViewType
native declaration : NSTabView.h:92
abstract  void takeSelectedTabViewItemFromSender(ObjCObject sender)
          May raise an NSRangeException
Original signature : -(void)takeSelectedTabViewItemFromSender:(id)
native declaration : NSTabView.h:79
 
Methods inherited from class org.rococoa.cocoa.appkit.NSView
addSubview, ancestorSharedWithView, as_NSView_NSClipViewSuperview, as_NSView_NSRulerMarkerClientViewDelegation, as_NSView_NSViewEnclosingMenuItem, createWithFrame, getRectsBeingDrawn_count, getRectsBeingDrawn_count, initWithFrame, isDescendantOf, isHidden, isHiddenOrHasHiddenAncestor, needsToDrawRect, opaqueAncestor, setHidden, setSubviews, subviews, superview, viewDidHide, viewDidUnhide, wantsDefaultClipping, window
 
Methods inherited from class org.rococoa.cocoa.appkit.NSResponder
acceptsFirstResponder, as_NSResponder_NSErrorPresentation, as_NSResponder_NSInterfaceStyle, as_NSResponder_NSKeyboardUI, as_NSResponder_NSStandardKeyBindingMethods, as_NSResponder_NSUndoSupport, becomeFirstResponder, beginGestureWithEvent, cursorUpdate, endGestureWithEvent, flagsChanged, flushBufferedKeyEvents, helpRequested, interpretKeyEvents, keyDown, keyUp, magnifyWithEvent, menu, mouseDown, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseUp, nextResponder, noResponderFor, otherMouseDown, otherMouseDragged, otherMouseUp, performKeyEquivalent, resignFirstResponder, rightMouseDown, rightMouseDragged, rightMouseUp, rotateWithEvent, scrollWheel, setMenu, setNextResponder, shouldBeTreatedAsInkEvent, showContextHelp, swipeWithEvent, tabletPoint, tabletProximity, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesMovedWithEvent, tryToPerform_with, validRequestorForSendType_returnType
 
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

NSTabView

public NSTabView()
Method Detail

selectTabViewItem

public abstract void selectTabViewItem(NSTabViewItem tabViewItem)
Original signature : -(void)selectTabViewItem:(NSTabViewItem*)
native declaration : NSTabView.h:76


selectTabViewItemAtIndex

public abstract void selectTabViewItemAtIndex(NSInteger index)
May raise an NSRangeException
Original signature : -(void)selectTabViewItemAtIndex:(NSInteger)
native declaration : NSTabView.h:77


selectTabViewItemWithIdentifier

public abstract void selectTabViewItemWithIdentifier(ObjCObject identifier)
May raise an NSRangeException if identifier not found
Original signature : -(void)selectTabViewItemWithIdentifier:(id)
native declaration : NSTabView.h:78


takeSelectedTabViewItemFromSender

public abstract void takeSelectedTabViewItemFromSender(ObjCObject sender)
May raise an NSRangeException
Original signature : -(void)takeSelectedTabViewItemFromSender:(id)
native declaration : NSTabView.h:79


selectFirstTabViewItem

public abstract void selectFirstTabViewItem(ObjCObject sender)
Original signature : -(void)selectFirstTabViewItem:(id)
native declaration : NSTabView.h:83


selectLastTabViewItem

public abstract void selectLastTabViewItem(ObjCObject sender)
Original signature : -(void)selectLastTabViewItem:(id)
native declaration : NSTabView.h:84


selectNextTabViewItem

public abstract void selectNextTabViewItem(ObjCObject sender)
Original signature : -(void)selectNextTabViewItem:(id)
native declaration : NSTabView.h:85


selectPreviousTabViewItem

public abstract void selectPreviousTabViewItem(ObjCObject sender)
Original signature : -(void)selectPreviousTabViewItem:(id)
native declaration : NSTabView.h:86


selectedTabViewItem

public abstract NSTabViewItem selectedTabViewItem()
return nil if none are selected
Original signature : -(NSTabViewItem*)selectedTabViewItem
native declaration : NSTabView.h:90


font

public abstract NSFont font()
returns font used for all tab labels.
Original signature : -(NSFont*)font
native declaration : NSTabView.h:91


tabViewType

public abstract int tabViewType()
Original signature : -(NSTabViewType)tabViewType
native declaration : NSTabView.h:92


tabViewItems

public abstract NSArray tabViewItems()
Original signature : -(NSArray*)tabViewItems
native declaration : NSTabView.h:93


allowsTruncatedLabels

public abstract boolean allowsTruncatedLabels()
Original signature : -(BOOL)allowsTruncatedLabels
native declaration : NSTabView.h:94


minimumSize

public abstract NSObject minimumSize()
returns the minimum size of the tab view
Original signature : -(id)minimumSize
native declaration : NSTabView.h:95


drawsBackground

public abstract boolean drawsBackground()
only relevant for borderless tab view type
Original signature : -(BOOL)drawsBackground
native declaration : NSTabView.h:96


controlTint

public abstract NSObject controlTint()
Original signature : -(id)controlTint
native declaration : NSTabView.h:97


controlSize

public abstract NSObject controlSize()
Original signature : -(id)controlSize
native declaration : NSTabView.h:98


setFont

public abstract void setFont(NSFont font)
Original signature : -(void)setFont:(NSFont*)
native declaration : NSTabView.h:102


setTabViewType

public abstract void setTabViewType(int tabViewType)
Original signature : -(void)setTabViewType:(NSTabViewType)
native declaration : NSTabView.h:103

Parameters:
tabViewType - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSTabViewType

setAllowsTruncatedLabels

public abstract void setAllowsTruncatedLabels(boolean allowTruncatedLabels)
Original signature : -(void)setAllowsTruncatedLabels:(BOOL)
native declaration : NSTabView.h:104


setDrawsBackground

public abstract void setDrawsBackground(boolean flag)
only relevant for borderless tab view type
Original signature : -(void)setDrawsBackground:(BOOL)
native declaration : NSTabView.h:105


addTabViewItem

public abstract void addTabViewItem(NSTabViewItem tabViewItem)
Add tab at the end.
Original signature : -(void)addTabViewItem:(NSTabViewItem*)
native declaration : NSTabView.h:111


insertTabViewItem_atIndex

public abstract void insertTabViewItem_atIndex(NSTabViewItem tabViewItem,
                                               NSInteger index)
May raise an NSRangeException
Original signature : -(void)insertTabViewItem:(NSTabViewItem*) atIndex:(NSInteger)
native declaration : NSTabView.h:112


removeTabViewItem

public abstract void removeTabViewItem(NSTabViewItem tabViewItem)
tabViewItem must be an existing tabViewItem
Original signature : -(void)removeTabViewItem:(NSTabViewItem*)
native declaration : NSTabView.h:113


setDelegate

public abstract void setDelegate(NSTabViewDelegate anObject)
Original signature : -(void)setDelegate:(id)
native declaration : NSTabView.h:117


delegate

public abstract NSTabViewDelegate delegate()
Original signature : -(id)delegate
native declaration : NSTabView.h:118


contentRect

public abstract NSObject contentRect()
Return the rect available for a "page".
Original signature : -(id)contentRect
native declaration : NSTabView.h:126


numberOfTabViewItems

public abstract NSInteger numberOfTabViewItems()
Original signature : -(NSInteger)numberOfTabViewItems
native declaration : NSTabView.h:130


indexOfTabViewItem

public abstract NSInteger indexOfTabViewItem(NSTabViewItem tabViewItem)
NSNotFound if not found
Original signature : -(NSInteger)indexOfTabViewItem:(NSTabViewItem*)
native declaration : NSTabView.h:131


tabViewItemAtIndex

public abstract NSTabViewItem tabViewItemAtIndex(NSInteger index)
May raise an NSRangeException
Original signature : -(NSTabViewItem*)tabViewItemAtIndex:(NSInteger)
native declaration : NSTabView.h:132


indexOfTabViewItemWithIdentifier

public abstract NSInteger indexOfTabViewItemWithIdentifier(ObjCObject identifier)
NSNotFound if not found
Original signature : -(NSInteger)indexOfTabViewItemWithIdentifier:(id)
native declaration : NSTabView.h:133


alloc

public static NSTabView alloc()

new_

public static NSTabView new_()

getNSClass

public static NSTabView._class_ getNSClass()


Copyright © 2009. All Rights Reserved.