org.rococoa.cocoa.appkit.categories
Interface NSButtonCellExtensions

All Known Implementing Classes:
NSButtonCell, NSMenuItemCell, NSPopUpButtonCell

public interface NSButtonCellExtensions

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 interface NSButtonCellExtensions._static_
           
 
Method Summary
 NSColor backgroundColor()
           
 int gradientType()
           
 boolean imageDimsWhenDisabled()
           
 void mouseEntered(NSEvent event)
           
 void mouseExited(NSEvent event)
           
 void setBackgroundColor(NSColor color)
           
 void setGradientType(int type)
          Original signature : -(void)setGradientType:(NSGradientType)
 void setImageDimsWhenDisabled(boolean flag)
          Radio buttons and switches use (imageDimsWhenDisabled == NO) so only their text is dimmed.
 void setShowsBorderOnlyWhileMouseInside(boolean show)
           
 boolean showsBorderOnlyWhileMouseInside()
           
 

Method Detail

gradientType

int gradientType()
See Also:
org.rococoa.cocoa.appkit.AppKitLibrary#NSGradientType

setGradientType

void setGradientType(int type)
Original signature : -(void)setGradientType:(NSGradientType)

Parameters:
type - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSGradientType

setImageDimsWhenDisabled

void setImageDimsWhenDisabled(boolean flag)
Radio buttons and switches use (imageDimsWhenDisabled == NO) so only their text is dimmed.
Original signature : -(void)setImageDimsWhenDisabled:(BOOL)


imageDimsWhenDisabled

boolean imageDimsWhenDisabled()

setShowsBorderOnlyWhileMouseInside

void setShowsBorderOnlyWhileMouseInside(boolean show)

showsBorderOnlyWhileMouseInside

boolean showsBorderOnlyWhileMouseInside()

mouseEntered

void mouseEntered(NSEvent event)

mouseExited

void mouseExited(NSEvent event)

backgroundColor

NSColor backgroundColor()

setBackgroundColor

void setBackgroundColor(NSColor color)