All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.FontPanel

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.app.Responder
                   |
                   +----com.apple.alpha.app.Window
                           |
                           +----com.apple.alpha.app.Panel
                                   |
                                   +----com.apple.alpha.app.FontPanel

public class FontPanel
extends Panel
This class wraps the Objective-C class NSFontPanel.


Variable Index

 o CurrentField
 o PreviewButton
 o PreviewField
 o RevertButton
 o SetButton
 o SizeField
 o SizeTitle

Constructor Index

 o FontPanel()
This default constructor is equivalent to Objective-C's [[NSFontPanel alloc] init].
 o FontPanel(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o FontPanel(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.
 o FontPanel(Rect, int, int, boolean)
This constructor has the same effect as calling - initWithContentRect:styleMask:backing:defer: on a newly allocated object.
 o FontPanel(Rect, int, int, boolean, Screen)
This constructor has the same effect as calling - initWithContentRect:styleMask:backing:defer:screen: on a newly allocated object.

Method Index

 o accessoryView()
A wrapper for the - accessoryView Objective-C instance method.
 o isEnabled()
A wrapper for the - isEnabled Objective-C instance method.
 o panelConvertFont(Font)
A wrapper for the - panelConvertFont: Objective-C instance method.
 o setAccessoryView(View)
A wrapper for the - setAccessoryView: Objective-C instance method.
 o setEnabled(boolean)
A wrapper for the - setEnabled: Objective-C instance method.
 o setPanelFont(Font, boolean)
A wrapper for the - setPanelFont:isMultiple: Objective-C instance method.
 o sharedFontPanel()
A wrapper for the + sharedFontPanel Objective-C class method.
 o sharedFontPanelExists()
A wrapper for the + sharedFontPanelExists Objective-C class method.
 o worksWhenModal()
A wrapper for the - worksWhenModal Objective-C instance method.

Variables

 o PreviewButton
 public static final int PreviewButton
 o RevertButton
 public static final int RevertButton
 o SetButton
 public static final int SetButton
 o PreviewField
 public static final int PreviewField
 o SizeField
 public static final int SizeField
 o SizeTitle
 public static final int SizeTitle
 o CurrentField
 public static final int CurrentField

Constructors

 o FontPanel
 protected FontPanel(boolean shouldAllocate,
                     int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o FontPanel
 public FontPanel()
This default constructor is equivalent to Objective-C's [[NSFontPanel alloc] init].

 o FontPanel
 public FontPanel(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

 o FontPanel
 public FontPanel(Rect contentRect,
                  int aStyle,
                  int bufferingType,
                  boolean flag)
This constructor has the same effect as calling - initWithContentRect:styleMask:backing:defer: on a newly allocated object.

 o FontPanel
 public FontPanel(Rect contentRect,
                  int aStyle,
                  int bufferingType,
                  boolean flag,
                  Screen screen)
This constructor has the same effect as calling - initWithContentRect:styleMask:backing:defer:screen: on a newly allocated object.

Methods

 o sharedFontPanel
 public static native FontPanel sharedFontPanel()
A wrapper for the + sharedFontPanel Objective-C class method.

 o sharedFontPanelExists
 public static native boolean sharedFontPanelExists()
A wrapper for the + sharedFontPanelExists Objective-C class method.

 o accessoryView
 public native View accessoryView()
A wrapper for the - accessoryView Objective-C instance method.

 o setAccessoryView
 public native void setAccessoryView(View aView)
A wrapper for the - setAccessoryView: Objective-C instance method.

 o setPanelFont
 public native void setPanelFont(Font fontObj,
                                 boolean flag)
A wrapper for the - setPanelFont:isMultiple: Objective-C instance method.

 o panelConvertFont
 public native Font panelConvertFont(Font fontObj)
A wrapper for the - panelConvertFont: Objective-C instance method.

 o worksWhenModal
 public native boolean worksWhenModal()
A wrapper for the - worksWhenModal Objective-C instance method.

Overrides:
worksWhenModal in class Panel
 o isEnabled
 public native boolean isEnabled()
A wrapper for the - isEnabled Objective-C instance method.

 o setEnabled
 public native void setEnabled(boolean flag)
A wrapper for the - setEnabled: Objective-C instance method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index