org.rococoa.cocoa.appkit
Class NSDockTile

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

public abstract class NSDockTile
extends NSObject
implements ObjCObject

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 NSDockTile._class_
           
static class NSDockTile._dFlags_struct
           
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Constructor Summary
NSDockTile()
           
 
Method Summary
static NSDockTile alloc()
           
abstract  NSString badgeLabel()
          Original signature : -(NSString*)badgeLabel
native declaration : NSDockTile.h:56
abstract  NSView contentView()
          Original signature : -(NSView*)contentView
native declaration : NSDockTile.h:42
abstract  void display()
          cause the dock tile to be redrawn.
static NSDockTile._class_ getNSClass()
           
static NSDockTile new_()
           
abstract  NSObject owner()
          -owner will return NSApp for the application dock tile, or the NSWindow for a mini window dock tile.
abstract  void setBadgeLabel(NSString string)
          Badge the dock icon with a localized string.
abstract  void setContentView(NSView view)
          set the content view to view.
abstract  void setShowsApplicationBadge(boolean flag)
          setShowsApplicationBadge: sets whether or not the dock tile should be badged with the application icon.
abstract  boolean showsApplicationBadge()
          Original signature : -(BOOL)showsApplicationBadge
native declaration : NSDockTile.h:51
abstract  NSSize.ByValue size()
          get the size of the dock tile, in screen coordinates
Original signature : -(NSSize)size
native declaration : NSDockTile.h:37
 
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.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

NSDockTile

public NSDockTile()
Method Detail

size

public abstract NSSize.ByValue size()
get the size of the dock tile, in screen coordinates
Original signature : -(NSSize)size
native declaration : NSDockTile.h:37


setContentView

public abstract void setContentView(NSView view)
set the content view to view. view should be height and width resizable. In order to initiate drawing in view, you must call -[NSDockTile display].
Original signature : -(void)setContentView:(NSView*)
native declaration : NSDockTile.h:41


contentView

public abstract NSView contentView()
Original signature : -(NSView*)contentView
native declaration : NSDockTile.h:42


display

public abstract void display()
cause the dock tile to be redrawn. The contentView and any subviews will be sent drawRect: messages.
Original signature : -(void)display
native declaration : NSDockTile.h:46


setShowsApplicationBadge

public abstract void setShowsApplicationBadge(boolean flag)
setShowsApplicationBadge: sets whether or not the dock tile should be badged with the application icon. Default is YES for NSWindow dock tiles, NO for the NSApplication dock tile.
Original signature : -(void)setShowsApplicationBadge:(BOOL)
native declaration : NSDockTile.h:50


showsApplicationBadge

public abstract boolean showsApplicationBadge()
Original signature : -(BOOL)showsApplicationBadge
native declaration : NSDockTile.h:51


setBadgeLabel

public abstract void setBadgeLabel(NSString string)
Badge the dock icon with a localized string. The badge appearance is system defined. This is often used to show an unread count in the application dock icon.
Original signature : -(void)setBadgeLabel:(NSString*)
native declaration : NSDockTile.h:55


badgeLabel

public abstract NSString badgeLabel()
Original signature : -(NSString*)badgeLabel
native declaration : NSDockTile.h:56


owner

public abstract NSObject owner()
-owner will return NSApp for the application dock tile, or the NSWindow for a mini window dock tile.
Original signature : -(id)owner
native declaration : NSDockTile.h:60


alloc

public static NSDockTile alloc()

new_

public static NSDockTile new_()

getNSClass

public static NSDockTile._class_ getNSClass()


Copyright © 2009. All Rights Reserved.