say.swing
クラス JFontChooser

java.lang.Object
  拡張java.awt.Component
      拡張java.awt.Container
          拡張javax.swing.JComponent
              拡張say.swing.JFontChooser
すべての実装インタフェース:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class JFontChooser
extends javax.swing.JComponent

関連項目:
直列化された形式

入れ子クラスの概要
 
クラス javax.swing.JComponent から継承した入れ子クラス
javax.swing.JComponent.AccessibleJComponent
 
フィールドの概要
static int CANCEL_OPTION
          Return value from showDialog(Component parent).
static int ERROR_OPTION
          Return value from showDialog(Component parent).
static int OK_OPTION
          Return value from showDialog(Component parent).
 
クラス javax.swing.JComponent から継承したフィールド
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
クラス java.awt.Component から継承したフィールド
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
インタフェース java.awt.image.ImageObserver から継承したフィールド
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
コンストラクタの概要
JFontChooser()
           
 
メソッドの概要
 javax.swing.JList getFontFamilyList()
           
 javax.swing.JTextField getFontFamilyTextField()
           
 javax.swing.JList getFontSizeList()
           
 javax.swing.JTextField getFontSizeTextField()
           
 javax.swing.JList getFontStyleList()
           
 javax.swing.JTextField getFontStyleTextField()
           
 java.awt.Font getSelectedFont()
           
 java.lang.String getSelectedFontFamily()
           
 int getSelectedFontSize()
           
 int getSelectedFontStyle()
           
 void setSelectedFont(java.awt.Font font)
           
 void setSelectedFontFamily(java.lang.String name)
           
 void setSelectedFontSize(int size)
           
 void setSelectedFontStyle(int style)
           
 int showDialog(java.awt.Component parent)
          Show font selection dialog.
 
クラス javax.swing.JComponent から継承したメソッド
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
 
クラス java.awt.Container から継承したメソッド
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate
 
クラス java.awt.Component から継承したメソッド
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
クラス java.lang.Object から継承したメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

OK_OPTION

public static final int OK_OPTION
Return value from showDialog(Component parent).

関連項目:
定数フィールド値

CANCEL_OPTION

public static final int CANCEL_OPTION
Return value from showDialog(Component parent).

関連項目:
定数フィールド値

ERROR_OPTION

public static final int ERROR_OPTION
Return value from showDialog(Component parent).

関連項目:
定数フィールド値
コンストラクタの詳細

JFontChooser

public JFontChooser()
メソッドの詳細

getFontFamilyTextField

public javax.swing.JTextField getFontFamilyTextField()

getFontStyleTextField

public javax.swing.JTextField getFontStyleTextField()

getFontSizeTextField

public javax.swing.JTextField getFontSizeTextField()

getFontFamilyList

public javax.swing.JList getFontFamilyList()

getFontStyleList

public javax.swing.JList getFontStyleList()

getFontSizeList

public javax.swing.JList getFontSizeList()

getSelectedFontFamily

public java.lang.String getSelectedFontFamily()

getSelectedFontStyle

public int getSelectedFontStyle()

getSelectedFontSize

public int getSelectedFontSize()

getSelectedFont

public java.awt.Font getSelectedFont()

setSelectedFontFamily

public void setSelectedFontFamily(java.lang.String name)

setSelectedFontStyle

public void setSelectedFontStyle(int style)

setSelectedFontSize

public void setSelectedFontSize(int size)

setSelectedFont

public void setSelectedFont(java.awt.Font font)

showDialog

public int showDialog(java.awt.Component parent)
Show font selection dialog.

パラメータ:
parent - Dialog's Parent component.
戻り値:
OK_OPTION or CANCEL_OPTION