org.rococoa.cocoa.appkit
Class NSBox

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

public abstract class NSBox
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 NSBox.__bFlags
           
static class NSBox._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
NSBox()
           
 
Method Summary
static NSBox alloc()
           
 NSCustomBoxTypeProperties as_NSBox_NSCustomBoxTypeProperties()
           
 NSKeyboardUI as_NSBox_NSKeyboardUI()
           
abstract  NSRect.ByValue borderRect()
          Original signature : -(NSRect)borderRect
native declaration : NSBox.h:67
abstract  NSObject borderType()
          Original signature : -(id)borderType
native declaration : NSBox.h:57
abstract  int boxType()
          Original signature : -(NSBoxType)boxType
native declaration : NSBox.h:61
abstract  NSObject contentView()
          Original signature : -(id)contentView
native declaration : NSBox.h:74
abstract  NSSize.ByValue contentViewMargins()
          Original signature : -(NSSize)contentViewMargins
native declaration : NSBox.h:71
static NSBox._class_ getNSClass()
           
abstract  boolean isTransparent()
          Transparent boxes do not draw anything.
static NSBox new_()
           
abstract  void setBoxType(int boxType)
          Original signature : -(void)setBoxType:(NSBoxType)
native declaration : NSBox.h:60
abstract  void setContentView(NSView aView)
          Original signature : -(void)setContentView:(NSView*)
native declaration : NSBox.h:75
abstract  void setContentViewMargins(NSSize.ByValue offsetSize)
          Original signature : -(void)setContentViewMargins:(NSSize)
native declaration : NSBox.h:72
abstract  void setFrameFromContentFrame(NSRect.ByValue contentFrame)
          Original signature : -(void)setFrameFromContentFrame:(NSRect)
native declaration : NSBox.h:73
abstract  void setTitle(NSString aString)
          Original signature : -(void)setTitle:(NSString*)
native declaration : NSBox.h:64
abstract  void setTitleFont(NSFont fontObj)
          Original signature : -(void)setTitleFont:(NSFont*)
native declaration : NSBox.h:66
abstract  void setTitlePosition(int aPosition)
          Original signature : -(void)setTitlePosition:(NSTitlePosition)
native declaration : NSBox.h:62
abstract  void setTransparent(boolean flag)
          Original signature : -(void)setTransparent:(BOOL)
native declaration : NSBox.h:80
abstract  void sizeToFit()
          Original signature : -(void)sizeToFit
native declaration : NSBox.h:70
abstract  NSString title()
          Original signature : -(NSString*)title
native declaration : NSBox.h:63
abstract  NSObject titleCell()
          Original signature : -(id)titleCell
native declaration : NSBox.h:69
abstract  NSFont titleFont()
          Original signature : -(NSFont*)titleFont
native declaration : NSBox.h:65
abstract  int titlePosition()
          Original signature : -(NSTitlePosition)titlePosition
native declaration : NSBox.h:58
abstract  NSRect.ByValue titleRect()
          Original signature : -(NSRect)titleRect
native declaration : NSBox.h:68
 
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

NSBox

public NSBox()
Method Detail

as_NSBox_NSKeyboardUI

public NSKeyboardUI as_NSBox_NSKeyboardUI()

as_NSBox_NSCustomBoxTypeProperties

public NSCustomBoxTypeProperties as_NSBox_NSCustomBoxTypeProperties()

borderType

public abstract NSObject borderType()
Original signature : -(id)borderType
native declaration : NSBox.h:57


titlePosition

public abstract int titlePosition()
Original signature : -(NSTitlePosition)titlePosition
native declaration : NSBox.h:58


setBoxType

public abstract void setBoxType(int boxType)
Original signature : -(void)setBoxType:(NSBoxType)
native declaration : NSBox.h:60

Parameters:
boxType - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSBoxType

boxType

public abstract int boxType()
Original signature : -(NSBoxType)boxType
native declaration : NSBox.h:61


setTitlePosition

public abstract void setTitlePosition(int aPosition)
Original signature : -(void)setTitlePosition:(NSTitlePosition)
native declaration : NSBox.h:62

Parameters:
aPosition - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSTitlePosition

title

public abstract NSString title()
Original signature : -(NSString*)title
native declaration : NSBox.h:63


setTitle

public abstract void setTitle(NSString aString)
Original signature : -(void)setTitle:(NSString*)
native declaration : NSBox.h:64


titleFont

public abstract NSFont titleFont()
Original signature : -(NSFont*)titleFont
native declaration : NSBox.h:65


setTitleFont

public abstract void setTitleFont(NSFont fontObj)
Original signature : -(void)setTitleFont:(NSFont*)
native declaration : NSBox.h:66


borderRect

public abstract NSRect.ByValue borderRect()
Original signature : -(NSRect)borderRect
native declaration : NSBox.h:67


titleRect

public abstract NSRect.ByValue titleRect()
Original signature : -(NSRect)titleRect
native declaration : NSBox.h:68


titleCell

public abstract NSObject titleCell()
Original signature : -(id)titleCell
native declaration : NSBox.h:69


sizeToFit

public abstract void sizeToFit()
Original signature : -(void)sizeToFit
native declaration : NSBox.h:70


contentViewMargins

public abstract NSSize.ByValue contentViewMargins()
Original signature : -(NSSize)contentViewMargins
native declaration : NSBox.h:71


setContentViewMargins

public abstract void setContentViewMargins(NSSize.ByValue offsetSize)
Original signature : -(void)setContentViewMargins:(NSSize)
native declaration : NSBox.h:72


setFrameFromContentFrame

public abstract void setFrameFromContentFrame(NSRect.ByValue contentFrame)
Original signature : -(void)setFrameFromContentFrame:(NSRect)
native declaration : NSBox.h:73


contentView

public abstract NSObject contentView()
Original signature : -(id)contentView
native declaration : NSBox.h:74


setContentView

public abstract void setContentView(NSView aView)
Original signature : -(void)setContentView:(NSView*)
native declaration : NSBox.h:75


isTransparent

public abstract boolean isTransparent()
Transparent boxes do not draw anything. Subview drawing is unaffected. The 'transparent' property corresponds to the binding 'NSTransparentBinding'.
Original signature : -(BOOL)isTransparent
native declaration : NSBox.h:79


setTransparent

public abstract void setTransparent(boolean flag)
Original signature : -(void)setTransparent:(BOOL)
native declaration : NSBox.h:80


alloc

public static NSBox alloc()

new_

public static NSBox new_()

getNSClass

public static NSBox._class_ getNSClass()


Copyright © 2009. All Rights Reserved.