|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rococoa.cocoa.foundation.NSObject
org.rococoa.cocoa.appkit.NSCell
org.rococoa.cocoa.appkit.NSActionCell
org.rococoa.cocoa.appkit.NSSegmentedCell
public abstract class NSSegmentedCell
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 |
NSSegmentedCell._class_
|
static class |
NSSegmentedCell._seFlags_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.NSCoding |
---|
NSCoding._static_ |
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
---|
NSObject._static_ |
Constructor Summary | |
---|---|
NSSegmentedCell()
|
Method Summary | |
---|---|
static NSSegmentedCell |
alloc()
|
NSSegmentBackgroundStyle |
as_NSSegmentedCell_NSSegmentBackgroundStyle()
|
abstract void |
drawSegment_inFrame_withView(NSInteger segment,
NSRect.ByValue frame,
NSView controlView)
For custom content drawing. frame has been adjusted to content area Original signature : -(void)drawSegment:(NSInteger) inFrame:(NSRect) withView:(NSView*) native declaration : NSSegmentedCell.h:114 |
static NSSegmentedCell._class_ |
getNSClass()
|
abstract NSImage |
imageForSegment(NSInteger segment)
Original signature : -(NSImage*)imageForSegment:(NSInteger) native declaration : NSSegmentedCell.h:79 |
abstract NSObject |
imageScalingForSegment(NSInteger segment)
Original signature : -(id)imageScalingForSegment:(NSInteger) native declaration : NSSegmentedCell.h:84 |
abstract boolean |
isEnabledForSegment(NSInteger segment)
Original signature : -(BOOL)isEnabledForSegment:(NSInteger) native declaration : NSSegmentedCell.h:95 |
abstract boolean |
isSelectedForSegment(NSInteger segment)
Original signature : -(BOOL)isSelectedForSegment:(NSInteger) native declaration : NSSegmentedCell.h:92 |
abstract NSString |
labelForSegment(NSInteger segment)
Original signature : -(NSString*)labelForSegment:(NSInteger) native declaration : NSSegmentedCell.h:89 |
abstract void |
makeNextSegmentKey()
For keyboard UI. |
abstract void |
makePreviousSegmentKey()
Original signature : -(void)makePreviousSegmentKey native declaration : NSSegmentedCell.h:65 |
abstract NSMenu |
menuForSegment(NSInteger segment)
Original signature : -(NSMenu*)menuForSegment:(NSInteger) native declaration : NSSegmentedCell.h:98 |
static NSSegmentedCell |
new_()
|
abstract NSInteger |
segmentCount()
Original signature : -(NSInteger)segmentCount native declaration : NSSegmentedCell.h:51 |
abstract NSObject |
segmentStyle()
Original signature : -(id)segmentStyle native declaration : NSSegmentedCell.h:109 |
abstract NSInteger |
selectedSegment()
Original signature : -(NSInteger)selectedSegment native declaration : NSSegmentedCell.h:56 |
abstract boolean |
selectSegmentWithTag(NSInteger tag)
Original signature : -(BOOL)selectSegmentWithTag:(NSInteger) native declaration : NSSegmentedCell.h:59 |
abstract void |
setEnabled_forSegment(boolean enabled,
NSInteger segment)
Original signature : -(void)setEnabled:(BOOL) forSegment:(NSInteger) native declaration : NSSegmentedCell.h:94 |
abstract void |
setImage_forSegment(NSImage image,
NSInteger segment)
Original signature : -(void)setImage:(NSImage*) forSegment:(NSInteger) native declaration : NSSegmentedCell.h:78 |
abstract void |
setLabel_forSegment(NSString label,
NSInteger segment)
Original signature : -(void)setLabel:(NSString*) forSegment:(NSInteger) native declaration : NSSegmentedCell.h:88 |
abstract void |
setMenu_forSegment(NSMenu menu,
NSInteger segment)
Original signature : -(void)setMenu:(NSMenu*) forSegment:(NSInteger) native declaration : NSSegmentedCell.h:97 |
abstract void |
setSegmentCount(NSInteger count)
Number of segments Original signature : -(void)setSegmentCount:(NSInteger) native declaration : NSSegmentedCell.h:50 |
abstract void |
setSelected_forSegment(boolean selected,
NSInteger segment)
Original signature : -(void)setSelected:(BOOL) forSegment:(NSInteger) native declaration : NSSegmentedCell.h:91 |
abstract void |
setSelectedSegment(NSInteger selectedSegment)
Which button is active. |
abstract void |
setTag_forSegment(NSInteger tag,
NSInteger segment)
Original signature : -(void)setTag:(NSInteger) forSegment:(NSInteger) native declaration : NSSegmentedCell.h:103 |
abstract void |
setToolTip_forSegment(NSString toolTip,
NSInteger segment)
Original signature : -(void)setToolTip:(NSString*) forSegment:(NSInteger) native declaration : NSSegmentedCell.h:100 |
abstract void |
setTrackingMode(int trackingMode)
Original signature : -(void)setTrackingMode:(NSSegmentSwitchTracking) native declaration : NSSegmentedCell.h:67 |
abstract void |
setWidth_forSegment(org.rococoa.cocoa.CGFloat width,
NSInteger segment)
Width of 0 means autosize to fit Original signature : -(void)setWidth:(CGFloat) forSegment:(NSInteger) native declaration : NSSegmentedCell.h:75 |
abstract NSInteger |
tagForSegment(NSInteger segment)
Original signature : -(NSInteger)tagForSegment:(NSInteger) native declaration : NSSegmentedCell.h:104 |
abstract NSString |
toolTipForSegment(NSInteger segment)
Original signature : -(NSString*)toolTipForSegment:(NSInteger) native declaration : NSSegmentedCell.h:101 |
abstract int |
trackingMode()
Original signature : -(NSSegmentSwitchTracking)trackingMode native declaration : NSSegmentedCell.h:68 |
abstract org.rococoa.cocoa.CGFloat |
widthForSegment(NSInteger segment)
Original signature : -(CGFloat)widthForSegment:(NSInteger) native declaration : NSSegmentedCell.h:76 |
Methods inherited from class org.rococoa.cocoa.appkit.NSActionCell |
---|
action, setAction, setTag, setTarget, tag, target |
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.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 |
---|
public NSSegmentedCell()
Method Detail |
---|
public NSSegmentBackgroundStyle as_NSSegmentedCell_NSSegmentBackgroundStyle()
public abstract void setSegmentCount(NSInteger count)
-(void)setSegmentCount:(NSInteger)
public abstract NSInteger segmentCount()
-(NSInteger)segmentCount
public abstract void setSelectedSegment(NSInteger selectedSegment)
-(void)setSelectedSegment:(NSInteger)
public abstract NSInteger selectedSegment()
-(NSInteger)selectedSegment
public abstract boolean selectSegmentWithTag(NSInteger tag)
-(BOOL)selectSegmentWithTag:(NSInteger)
public abstract void makeNextSegmentKey()
-(void)makeNextSegmentKey
public abstract void makePreviousSegmentKey()
-(void)makePreviousSegmentKey
public abstract void setTrackingMode(int trackingMode)
-(void)setTrackingMode:(NSSegmentSwitchTracking)
trackingMode
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSSegmentSwitchTrackingpublic abstract int trackingMode()
-(NSSegmentSwitchTracking)trackingMode
public abstract void setWidth_forSegment(org.rococoa.cocoa.CGFloat width, NSInteger segment)
-(void)setWidth:(CGFloat) forSegment:(NSInteger)
public abstract org.rococoa.cocoa.CGFloat widthForSegment(NSInteger segment)
-(CGFloat)widthForSegment:(NSInteger)
public abstract void setImage_forSegment(NSImage image, NSInteger segment)
-(void)setImage:(NSImage*) forSegment:(NSInteger)
public abstract NSImage imageForSegment(NSInteger segment)
-(NSImage*)imageForSegment:(NSInteger)
public abstract NSObject imageScalingForSegment(NSInteger segment)
-(id)imageScalingForSegment:(NSInteger)
public abstract void setLabel_forSegment(NSString label, NSInteger segment)
-(void)setLabel:(NSString*) forSegment:(NSInteger)
public abstract NSString labelForSegment(NSInteger segment)
-(NSString*)labelForSegment:(NSInteger)
public abstract void setSelected_forSegment(boolean selected, NSInteger segment)
-(void)setSelected:(BOOL) forSegment:(NSInteger)
public abstract boolean isSelectedForSegment(NSInteger segment)
-(BOOL)isSelectedForSegment:(NSInteger)
public abstract void setEnabled_forSegment(boolean enabled, NSInteger segment)
-(void)setEnabled:(BOOL) forSegment:(NSInteger)
public abstract boolean isEnabledForSegment(NSInteger segment)
-(BOOL)isEnabledForSegment:(NSInteger)
public abstract void setMenu_forSegment(NSMenu menu, NSInteger segment)
-(void)setMenu:(NSMenu*) forSegment:(NSInteger)
public abstract NSMenu menuForSegment(NSInteger segment)
-(NSMenu*)menuForSegment:(NSInteger)
public abstract void setToolTip_forSegment(NSString toolTip, NSInteger segment)
-(void)setToolTip:(NSString*) forSegment:(NSInteger)
public abstract NSString toolTipForSegment(NSInteger segment)
-(NSString*)toolTipForSegment:(NSInteger)
public abstract void setTag_forSegment(NSInteger tag, NSInteger segment)
-(void)setTag:(NSInteger) forSegment:(NSInteger)
public abstract NSInteger tagForSegment(NSInteger segment)
-(NSInteger)tagForSegment:(NSInteger)
public abstract NSObject segmentStyle()
-(id)segmentStyle
public abstract void drawSegment_inFrame_withView(NSInteger segment, NSRect.ByValue frame, NSView controlView)
-(void)drawSegment:(NSInteger) inFrame:(NSRect) withView:(NSView*)
public static NSSegmentedCell alloc()
public static NSSegmentedCell new_()
public static NSSegmentedCell._class_ getNSClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |