org.rococoa.cocoa.appkit
Class NSSegmentedControl

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.NSControl
                  extended by org.rococoa.cocoa.appkit.NSSegmentedControl
All Implemented Interfaces:
NSCoding, NSObject, ObjCObject

public abstract class NSSegmentedControl
extends NSControl

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 NSSegmentedControl._class_
           
 
Nested classes/interfaces inherited from class org.rococoa.cocoa.appkit.NSControl
NSControl.__conFlags
 
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
NSSegmentedControl()
           
 
Method Summary
static NSSegmentedControl alloc()
           
static NSSegmentedControl._class_ getNSClass()
           
abstract  NSImage imageForSegment(NSInteger segment)
          Original signature : -(NSImage*)imageForSegment:(NSInteger)
native declaration : NSSegmentedControl.h:52
abstract  NSObject imageScalingForSegment(NSInteger segment)
          Original signature : -(id)imageScalingForSegment:(NSInteger)
native declaration : NSSegmentedControl.h:57
abstract  boolean isEnabledForSegment(NSInteger segment)
          Original signature : -(BOOL)isEnabledForSegment:(NSInteger)
native declaration : NSSegmentedControl.h:71
abstract  boolean isSelectedForSegment(NSInteger segment)
          Original signature : -(BOOL)isSelectedForSegment:(NSInteger)
native declaration : NSSegmentedControl.h:68
abstract  NSString labelForSegment(NSInteger segment)
          Original signature : -(NSString*)labelForSegment:(NSInteger)
native declaration : NSSegmentedControl.h:62
abstract  NSMenu menuForSegment(NSInteger segment)
          Original signature : -(NSMenu*)menuForSegment:(NSInteger)
native declaration : NSSegmentedControl.h:65
static NSSegmentedControl new_()
           
abstract  NSInteger segmentCount()
          Original signature : -(NSInteger)segmentCount
native declaration : NSSegmentedControl.h:39
abstract  NSInteger segmentStyle()
          Original signature : -(NSSegmentStyle)segmentStyle
native declaration : NSSegmentedControl.h:75
abstract  NSInteger selectedSegment()
          Original signature : -(NSInteger)selectedSegment
native declaration : NSSegmentedControl.h:42
abstract  boolean selectSegmentWithTag(NSInteger tag)
          Original signature : -(BOOL)selectSegmentWithTag:(NSInteger)
native declaration : NSSegmentedControl.h:45
abstract  void setEnabled_forSegment(boolean enabled, NSInteger segment)
          Original signature : -(void)setEnabled:(BOOL) forSegment:(NSInteger)
native declaration : NSSegmentedControl.h:70
abstract  void setImage_forSegment(NSImage image, NSInteger segment)
          Original signature : -(void)setImage:(NSImage*) forSegment:(NSInteger)
native declaration : NSSegmentedControl.h:51
abstract  void setLabel_forSegment(NSString label, NSInteger segment)
          Original signature : -(void)setLabel:(NSString*) forSegment:(NSInteger)
native declaration : NSSegmentedControl.h:61
abstract  void setMenu_forSegment(NSMenu menu, NSInteger segment)
          Original signature : -(void)setMenu:(NSMenu*) forSegment:(NSInteger)
native declaration : NSSegmentedControl.h:64
abstract  void setSegmentCount(NSInteger count)
          Original signature : -(void)setSegmentCount:(NSInteger)
native declaration : NSSegmentedControl.h:38
abstract  void setSegmentStyle(NSInteger segmentStyle)
          Original signature : -(void)setSegmentStyle:(NSSegmentStyle)
native declaration : NSSegmentedControl.h:74
abstract  void setSelected_forSegment(boolean selected, NSInteger segment)
          Original signature : -(void)setSelected:(BOOL) forSegment:(NSInteger)
native declaration : NSSegmentedControl.h:67
abstract  void setSelectedSegment(NSInteger selectedSegment)
          Original signature : -(void)setSelectedSegment:(NSInteger)
native declaration : NSSegmentedControl.h:41
abstract  void setWidth_forSegment(org.rococoa.cocoa.CGFloat width, NSInteger segment)
          Original signature : -(void)setWidth:(CGFloat) forSegment:(NSInteger)
native declaration : NSSegmentedControl.h:48
abstract  org.rococoa.cocoa.CGFloat widthForSegment(NSInteger segment)
          Original signature : -(CGFloat)widthForSegment:(NSInteger)
native declaration : NSSegmentedControl.h:49
 
Methods inherited from class org.rococoa.cocoa.appkit.NSControl
abortEditing, action, alignment, as_NSControl_NSKeyboardUI, baseWritingDirection, calcSize, cell, currentEditor, doubleValue, drawCell, drawCellInside, floatValue, font, formatter, ignoresMultiClick, integerValue, intValue, isContinuous, isEnabled, mouseDown, objectValue, selectCell, selectedCell, selectedTag, sendAction_to, sendActionOn, setAction, setCell, setContinuous, setDoubleValue, setEnabled, setFloatValue, setFont, setFormatter, setIgnoresMultiClick, setIntegerValue, setIntValue, setNeedsDisplay, setObjectValue, setStringValue, setTag, setTarget, sizeToFit, stringValue, tag, takeDoubleValueFrom, takeFloatValueFrom, takeIntegerValueFrom, takeIntValueFrom, takeObjectValueFrom, takeStringValueFrom, target, updateCell, updateCellInside, validateEditing
 
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, 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

NSSegmentedControl

public NSSegmentedControl()
Method Detail

setSegmentCount

public abstract void setSegmentCount(NSInteger count)
Original signature : -(void)setSegmentCount:(NSInteger)
native declaration : NSSegmentedControl.h:38


segmentCount

public abstract NSInteger segmentCount()
Original signature : -(NSInteger)segmentCount
native declaration : NSSegmentedControl.h:39


setSelectedSegment

public abstract void setSelectedSegment(NSInteger selectedSegment)
Original signature : -(void)setSelectedSegment:(NSInteger)
native declaration : NSSegmentedControl.h:41


selectedSegment

public abstract NSInteger selectedSegment()
Original signature : -(NSInteger)selectedSegment
native declaration : NSSegmentedControl.h:42


selectSegmentWithTag

public abstract boolean selectSegmentWithTag(NSInteger tag)
Original signature : -(BOOL)selectSegmentWithTag:(NSInteger)
native declaration : NSSegmentedControl.h:45


setWidth_forSegment

public abstract void setWidth_forSegment(org.rococoa.cocoa.CGFloat width,
                                         NSInteger segment)
Original signature : -(void)setWidth:(CGFloat) forSegment:(NSInteger)
native declaration : NSSegmentedControl.h:48


widthForSegment

public abstract org.rococoa.cocoa.CGFloat widthForSegment(NSInteger segment)
Original signature : -(CGFloat)widthForSegment:(NSInteger)
native declaration : NSSegmentedControl.h:49


setImage_forSegment

public abstract void setImage_forSegment(NSImage image,
                                         NSInteger segment)
Original signature : -(void)setImage:(NSImage*) forSegment:(NSInteger)
native declaration : NSSegmentedControl.h:51


imageForSegment

public abstract NSImage imageForSegment(NSInteger segment)
Original signature : -(NSImage*)imageForSegment:(NSInteger)
native declaration : NSSegmentedControl.h:52


imageScalingForSegment

public abstract NSObject imageScalingForSegment(NSInteger segment)
Original signature : -(id)imageScalingForSegment:(NSInteger)
native declaration : NSSegmentedControl.h:57


setLabel_forSegment

public abstract void setLabel_forSegment(NSString label,
                                         NSInteger segment)
Original signature : -(void)setLabel:(NSString*) forSegment:(NSInteger)
native declaration : NSSegmentedControl.h:61


labelForSegment

public abstract NSString labelForSegment(NSInteger segment)
Original signature : -(NSString*)labelForSegment:(NSInteger)
native declaration : NSSegmentedControl.h:62


setMenu_forSegment

public abstract void setMenu_forSegment(NSMenu menu,
                                        NSInteger segment)
Original signature : -(void)setMenu:(NSMenu*) forSegment:(NSInteger)
native declaration : NSSegmentedControl.h:64


menuForSegment

public abstract NSMenu menuForSegment(NSInteger segment)
Original signature : -(NSMenu*)menuForSegment:(NSInteger)
native declaration : NSSegmentedControl.h:65


setSelected_forSegment

public abstract void setSelected_forSegment(boolean selected,
                                            NSInteger segment)
Original signature : -(void)setSelected:(BOOL) forSegment:(NSInteger)
native declaration : NSSegmentedControl.h:67


isSelectedForSegment

public abstract boolean isSelectedForSegment(NSInteger segment)
Original signature : -(BOOL)isSelectedForSegment:(NSInteger)
native declaration : NSSegmentedControl.h:68


setEnabled_forSegment

public abstract void setEnabled_forSegment(boolean enabled,
                                           NSInteger segment)
Original signature : -(void)setEnabled:(BOOL) forSegment:(NSInteger)
native declaration : NSSegmentedControl.h:70


isEnabledForSegment

public abstract boolean isEnabledForSegment(NSInteger segment)
Original signature : -(BOOL)isEnabledForSegment:(NSInteger)
native declaration : NSSegmentedControl.h:71


setSegmentStyle

public abstract void setSegmentStyle(NSInteger segmentStyle)
Original signature : -(void)setSegmentStyle:(NSSegmentStyle)
native declaration : NSSegmentedControl.h:74


segmentStyle

public abstract NSInteger segmentStyle()
Original signature : -(NSSegmentStyle)segmentStyle
native declaration : NSSegmentedControl.h:75


alloc

public static NSSegmentedControl alloc()

new_

public static NSSegmentedControl new_()

getNSClass

public static NSSegmentedControl._class_ getNSClass()


Copyright © 2009. All Rights Reserved.