org.rococoa.cocoa.appkit
Class NSTableColumn

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

public abstract class NSTableColumn
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 NSTableColumn.__colFlags
           
static class NSTableColumn._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
NSTableColumn()
           
 
Method Summary
static NSTableColumn alloc()
           
static NSTableColumn createWithIdentifier(ObjCObject identifier)
          Factory method
abstract  NSObject dataCell()
          Original signature : -(id)dataCell
native declaration : NSTableColumn.h:75
abstract  NSObject dataCellForRow(NSInteger row)
          Allows per-row customization of the cell used for this NSTableColumn.
static NSTableColumn._class_ getNSClass()
           
abstract  NSObject headerCell()
          Original signature : -(id)headerCell
native declaration : NSTableColumn.h:70
abstract  NSObject identifier()
          Original signature : -(id)identifier
native declaration : NSTableColumn.h:47
abstract  NSTableColumn initWithIdentifier(ObjCObject identifier)
          Designated initializer for NSTableColumns.
abstract  boolean isEditable()
          Original signature : -(BOOL)isEditable
native declaration : NSTableColumn.h:84
abstract  org.rococoa.cocoa.CGFloat maxWidth()
          Original signature : -(CGFloat)maxWidth
native declaration : NSTableColumn.h:65
abstract  org.rococoa.cocoa.CGFloat minWidth()
          Original signature : -(CGFloat)minWidth
native declaration : NSTableColumn.h:60
static NSTableColumn new_()
           
abstract  NSUInteger resizingMask()
          Original signature : -(NSUInteger)resizingMask
native declaration : NSTableColumn.h:96
abstract  void setDataCell(NSCell cell)
          Gets and sets the default cell used to draw the actual values in this NSTableColumn.
abstract  void setEditable(boolean flag)
          Gets and sets the editability state of this NSTableColumn.
abstract  void setHeaderCell(NSCell cell)
          Gets and sets the headerCell associated with this NSTableColumn.
abstract  void setIdentifier(ObjCObject identifier)
          Gets and sets the identifier associated with the NSTableColumn.
abstract  void setMaxWidth(org.rococoa.cocoa.CGFloat maxWidth)
          Gets and sets the maximum width of the NSTableColumn.
abstract  void setMinWidth(org.rococoa.cocoa.CGFloat minWidth)
          Gets and sets the minimum width of the NSTableColumn.
abstract  void setResizingMask(NSUInteger resizingMask)
          The resizing mask controls the resizability of a table column.
abstract  void setSortDescriptorPrototype(NSSortDescriptor sortDescriptor)
          A column is considered sortable if it has a sortDescriptorPrototype.
abstract  void setTableView(NSTableView tableView)
          Original signature : -(void)setTableView:(NSTableView*)
native declaration : NSTableColumn.h:49
abstract  void setWidth(org.rococoa.cocoa.CGFloat width)
          Gets and sets the current width of the NSTableColumn.
abstract  void sizeToFit()
          Original signature : -(void)sizeToFit
native declaration : NSTableColumn.h:86
abstract  NSSortDescriptor sortDescriptorPrototype()
          Original signature : -(NSSortDescriptor*)sortDescriptorPrototype
native declaration : NSTableColumn.h:91
abstract  NSTableView tableView()
          Original signature : -(NSTableView*)tableView
native declaration : NSTableColumn.h:50
abstract  org.rococoa.cocoa.CGFloat width()
          Original signature : -(CGFloat)width
native declaration : NSTableColumn.h:55
 
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

NSTableColumn

public NSTableColumn()
Method Detail

initWithIdentifier

public abstract NSTableColumn initWithIdentifier(ObjCObject identifier)
Designated initializer for NSTableColumns. Also see -setIdentifier: and -identifier.
Original signature : -(id)initWithIdentifier:(id)
native declaration : NSTableColumn.h:42


createWithIdentifier

public static NSTableColumn createWithIdentifier(ObjCObject identifier)
Factory method

See Also:
initWithIdentifier(org.rococoa.ObjCObject)

setIdentifier

public abstract void setIdentifier(ObjCObject identifier)
Gets and sets the identifier associated with the NSTableColumn. 'identifier' is a strong reference, and will be retained. If the NSTableColumn is encoded (ie: archived in a nib file), 'identifier' should support the NSCoding protocol.
Original signature : -(void)setIdentifier:(id)
native declaration : NSTableColumn.h:46


identifier

public abstract NSObject identifier()
Original signature : -(id)identifier
native declaration : NSTableColumn.h:47


setTableView

public abstract void setTableView(NSTableView tableView)
Original signature : -(void)setTableView:(NSTableView*)
native declaration : NSTableColumn.h:49


tableView

public abstract NSTableView tableView()
Original signature : -(NSTableView*)tableView
native declaration : NSTableColumn.h:50


setWidth

public abstract void setWidth(org.rococoa.cocoa.CGFloat width)
Gets and sets the current width of the NSTableColumn. The default for is 100.0. Calling setWidth: with a width that is less than the minWidth or larger than the maxWidth will automatically be constrained to minWidth or maxWidth as appropriate.
Original signature : -(void)setWidth:(CGFloat)
native declaration : NSTableColumn.h:54


width

public abstract org.rococoa.cocoa.CGFloat width()
Original signature : -(CGFloat)width
native declaration : NSTableColumn.h:55


setMinWidth

public abstract void setMinWidth(org.rococoa.cocoa.CGFloat minWidth)
Gets and sets the minimum width of the NSTableColumn. The default for is 10.0. If -[self width] is less than the 'minWidth' value when -setMinWidth: is called, the width will automatically be increased to the minWidth and [tableView tile] will be called.
Original signature : -(void)setMinWidth:(CGFloat)
native declaration : NSTableColumn.h:59


minWidth

public abstract org.rococoa.cocoa.CGFloat minWidth()
Original signature : -(CGFloat)minWidth
native declaration : NSTableColumn.h:60


setMaxWidth

public abstract void setMaxWidth(org.rococoa.cocoa.CGFloat maxWidth)
Gets and sets the maximum width of the NSTableColumn. The default for is MAXFLOAT on Leopard and higher. If -[self width] is greater than the 'maxWidth' value when -setMaxWidth: is called, the width will automatically be decreased to the maxWidth and [tableView tile] will be called.
Original signature : -(void)setMaxWidth:(CGFloat)
native declaration : NSTableColumn.h:64


maxWidth

public abstract org.rococoa.cocoa.CGFloat maxWidth()
Original signature : -(CGFloat)maxWidth
native declaration : NSTableColumn.h:65


setHeaderCell

public abstract void setHeaderCell(NSCell cell)
Gets and sets the headerCell associated with this NSTableColumn. 'cell' must be non nil, and should be a member of the NSTableHeaderCell class. The 'headerCell' is a strong reference, and will be retained.
Original signature : -(void)setHeaderCell:(NSCell*)
native declaration : NSTableColumn.h:69


headerCell

public abstract NSObject headerCell()
Original signature : -(id)headerCell
native declaration : NSTableColumn.h:70


setDataCell

public abstract void setDataCell(NSCell cell)
Gets and sets the default cell used to draw the actual values in this NSTableColumn. The default value is an NSTextFieldCell that has the following properties set, which are subject to change: setEditable:YES, setScrollable:YES, setDrawsBackground:NO, setFont:[NSFont systemFontOfSize:[NSFont systemFontSize]], setLineBreakMode:NSLineBreakByTruncatingTail, setBackgroundColor:[NSColor controlBackgroundColor]. The 'dataCell' is a strong reference, and will be retained.
Original signature : -(void)setDataCell:(NSCell*)
native declaration : NSTableColumn.h:74


dataCell

public abstract NSObject dataCell()
Original signature : -(id)dataCell
native declaration : NSTableColumn.h:75


dataCellForRow

public abstract NSObject dataCellForRow(NSInteger row)
Allows per-row customization of the cell used for this NSTableColumn. NSTableView will call -[tableColumn dataCellForRow:] when drawing 'row'. By default this just calls -dataCell. Subclassers can override -dataCellForRow: if they need to potentially use different cells for different rows. On Leopard and higher, the NSTableView delegate method -tableView:dataCellForTableColumn:row: can be used as a convience to avoid subclassing NSTableColumn. In both cases, the returned cell should properly implement -copyWithZone:, since NSTableView may make copies of the cells.
Original signature : -(id)dataCellForRow:(NSInteger)
native declaration : NSTableColumn.h:79


setEditable

public abstract void setEditable(boolean flag)
Gets and sets the editability state of this NSTableColumn. The default value is YES. When an NSTableView wants to start editing a dataCell, the following happens: 1. Check [tableColumn isEditable]. If that returns YES, check the (optional) delegate method with tableView:shouldEditTableColumn:row:. If that returns YES, check the [dataCell isEnabled] and [isEnabled isSelectable] states before attempting to edit.
Original signature : -(void)setEditable:(BOOL)
native declaration : NSTableColumn.h:83


isEditable

public abstract boolean isEditable()
Original signature : -(BOOL)isEditable
native declaration : NSTableColumn.h:84


sizeToFit

public abstract void sizeToFit()
Original signature : -(void)sizeToFit
native declaration : NSTableColumn.h:86


setSortDescriptorPrototype

public abstract void setSortDescriptorPrototype(NSSortDescriptor sortDescriptor)
A column is considered sortable if it has a sortDescriptorPrototype. This prototype defines several things about the columns sorting. he prototype's ascending value defines the default sorting direction. Its key defines an arbitrary attribute which helps clients identify what to sort, while the selector defines how to sort. Note that, it is not required that the key be the same as the identifier. However, the key must be unique from the key used by other columns. The sortDescriptor is archived.
Original signature : -(void)setSortDescriptorPrototype:(NSSortDescriptor*)
native declaration : NSTableColumn.h:90


sortDescriptorPrototype

public abstract NSSortDescriptor sortDescriptorPrototype()
Original signature : -(NSSortDescriptor*)sortDescriptorPrototype
native declaration : NSTableColumn.h:91


setResizingMask

public abstract void setResizingMask(NSUInteger resizingMask)
The resizing mask controls the resizability of a table column. Values can be combined together with a bitwise or. The default value is 'NSTableColumnUserResizingMask | NSTableColumnAutoresizingMask'. Compatability Note: This method replaces setResizable.
Original signature : -(void)setResizingMask:(NSUInteger)
native declaration : NSTableColumn.h:95


resizingMask

public abstract NSUInteger resizingMask()
Original signature : -(NSUInteger)resizingMask
native declaration : NSTableColumn.h:96


alloc

public static NSTableColumn alloc()

new_

public static NSTableColumn new_()

getNSClass

public static NSTableColumn._class_ getNSClass()


Copyright © 2009. All Rights Reserved.