org.rococoa.cocoa.appkit
Class NSSplitView

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.NSSplitView
All Implemented Interfaces:
NSCoding, NSObject, ObjCObject

public abstract class NSSplitView
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 NSSplitView._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
NSSplitView()
           
 
Method Summary
abstract  void adjustSubviews()
          Set the frames of the split view's subviews so that they, plus the dividers, fill the split view.
static NSSplitView alloc()
           
abstract  NSString autosaveName()
          Original signature : -(NSString*)autosaveName
native declaration : NSSplitView.h:47
abstract  NSSplitViewDelegate delegate()
          Original signature : -(id)delegate
native declaration : NSSplitView.h:54
abstract  NSColor dividerColor()
          Return the color of the dividers that the split view is drawing between subviews.
abstract  int dividerStyle()
          Original signature : -(NSSplitViewDividerStyle)dividerStyle
native declaration : NSSplitView.h:42
abstract  org.rococoa.cocoa.CGFloat dividerThickness()
          Return the thickness of the dividers that the split view is drawing between subviews.
static NSSplitView._class_ getNSClass()
           
abstract  boolean isSubviewCollapsed(NSView subview)
          Return YES if the subview is in the collapsed state, NO otherwise.
abstract  boolean isVertical()
          Original signature : -(BOOL)isVertical
native declaration : NSSplitView.h:35
abstract  org.rococoa.cocoa.CGFloat maxPossiblePositionOfDividerAtIndex(NSInteger dividerIndex)
          Original signature : -(CGFloat)maxPossiblePositionOfDividerAtIndex:(NSInteger)
native declaration : NSSplitView.h:88
abstract  org.rococoa.cocoa.CGFloat minPossiblePositionOfDividerAtIndex(NSInteger dividerIndex)
          Get the minimum or maximum possible position of a divider.
static NSSplitView new_()
           
abstract  void setAutosaveName(NSString autosaveName)
          The name to use when autosaving the positions of dividers, and whether or not subviews are collapsed, to preferences.
abstract  void setDelegate(NSSplitViewDelegate delegate)
          Set or get the delegate of the split view.
abstract  void setDividerStyle(int dividerStyle)
          What kind of divider to use.
abstract  void setPosition_ofDividerAtIndex(org.rococoa.cocoa.CGFloat position, NSInteger dividerIndex)
          Set the position of a divider.
abstract  void setVertical(boolean flag)
          Set or get whether the long axes of a split view's dividers are oriented up-and-down (YES) or left-and-right (NO).
 
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

NSSplitView

public NSSplitView()
Method Detail

setVertical

public abstract void setVertical(boolean flag)
Set or get whether the long axes of a split view's dividers are oriented up-and-down (YES) or left-and-right (NO).
Original signature : -(void)setVertical:(BOOL)
native declaration : NSSplitView.h:34


isVertical

public abstract boolean isVertical()
Original signature : -(BOOL)isVertical
native declaration : NSSplitView.h:35


setDividerStyle

public abstract void setDividerStyle(int dividerStyle)
What kind of divider to use. NSSplitViewThickDividerStyle is the default.
Original signature : -(void)setDividerStyle:(NSSplitViewDividerStyle)
native declaration : NSSplitView.h:41

Parameters:
dividerStyle - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSSplitViewDividerStyle

dividerStyle

public abstract int dividerStyle()
Original signature : -(NSSplitViewDividerStyle)dividerStyle
native declaration : NSSplitView.h:42


setAutosaveName

public abstract void setAutosaveName(NSString autosaveName)
The name to use when autosaving the positions of dividers, and whether or not subviews are collapsed, to preferences. If this value is nil or the string is empty no autosaving is done.
Original signature : -(void)setAutosaveName:(NSString*)
native declaration : NSSplitView.h:46


autosaveName

public abstract NSString autosaveName()
Original signature : -(NSString*)autosaveName
native declaration : NSSplitView.h:47


setDelegate

public abstract void setDelegate(NSSplitViewDelegate delegate)
Set or get the delegate of the split view. The delegate will be sent NSSplitViewDelegate messages to which it responds.
Original signature : -(void)setDelegate:(id)
native declaration : NSSplitView.h:53


delegate

public abstract NSSplitViewDelegate delegate()
Original signature : -(id)delegate
native declaration : NSSplitView.h:54


dividerColor

public abstract NSColor dividerColor()
Return the color of the dividers that the split view is drawing between subviews. The default implementation of this method returns [NSColor clearColor] for the thick divider style. It will also return [NSColor clearColor] for the thin divider style when the split view is in a textured window. All other thin dividers are drawn with a color that looks good between two white panes. You can override this method to change the color of dividers.
Original signature : -(NSColor*)dividerColor
native declaration : NSSplitView.h:64


dividerThickness

public abstract org.rococoa.cocoa.CGFloat dividerThickness()
Return the thickness of the dividers that the split view is drawing between subviews. The default implementation returns a value that depends on the divider style. You can override this method to change the size of dividers.
Original signature : -(CGFloat)dividerThickness
native declaration : NSSplitView.h:70


adjustSubviews

public abstract void adjustSubviews()
Set the frames of the split view's subviews so that they, plus the dividers, fill the split view. The default implementation of this method resizes all of the subviews proportionally so that the ratio of heights (in the horizontal split view case) or widths (in the vertical split view case) doesn't change, even though the absolute sizes of the subviews do change. This message should be sent to split views from which subviews have been added or removed, to reestablish the consistency of subview placement.
Original signature : -(void)adjustSubviews
native declaration : NSSplitView.h:74


isSubviewCollapsed

public abstract boolean isSubviewCollapsed(NSView subview)
Return YES if the subview is in the collapsed state, NO otherwise.
Original signature : -(BOOL)isSubviewCollapsed:(NSView*)
native declaration : NSSplitView.h:78


minPossiblePositionOfDividerAtIndex

public abstract org.rococoa.cocoa.CGFloat minPossiblePositionOfDividerAtIndex(NSInteger dividerIndex)
Get the minimum or maximum possible position of a divider. The position is "possible" in that it is dictated by the bounds of this view and the current position of other dividers. ("Allowable" positions are those that result from letting the delegate apply constraints to the possible positions.) You can invoke these methods to determine the range of values that can be usefully passed to -setPosition:ofDividerAtIndex:. You can also invoke them from delegate methods like -splitView:constrainSplitPosition:ofSubviewAt: to implement relatively complex behaviors that depend on the current state of the split view. The results of invoking these methods when -adjustSubviews has not been invoked recently enough for the subview frames to be valid are undefined.
Original signature : -(CGFloat)minPossiblePositionOfDividerAtIndex:(NSInteger)
native declaration : NSSplitView.h:87


maxPossiblePositionOfDividerAtIndex

public abstract org.rococoa.cocoa.CGFloat maxPossiblePositionOfDividerAtIndex(NSInteger dividerIndex)
Original signature : -(CGFloat)maxPossiblePositionOfDividerAtIndex:(NSInteger)
native declaration : NSSplitView.h:88


setPosition_ofDividerAtIndex

public abstract void setPosition_ofDividerAtIndex(org.rococoa.cocoa.CGFloat position,
                                                  NSInteger dividerIndex)
Set the position of a divider. The default implementation of this method behaves as if the user were attempting to drag the divider to the proposed position, so the constraints imposed by the delegate are applied and one of the views adjacent to the divider may be collapsed. This method is not invoked by NSSplitView itself, so there's probably not much point in overriding it.
Original signature : -(void)setPosition:(CGFloat) ofDividerAtIndex:(NSInteger)
native declaration : NSSplitView.h:92


alloc

public static NSSplitView alloc()

new_

public static NSSplitView new_()

getNSClass

public static NSSplitView._class_ getNSClass()


Copyright © 2009. All Rights Reserved.