Java プラットフォーム 1.2

javax.swing
クラス JToolBar.Separator

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JSeparator
                          |
                          +--javax.swing.JToolBar.Separator

public static class JToolBar.Separator
extends JSeparator

ツールバー独自のセパレータです。ツールバー上のボタン群をグループ分けするのに使う寸法は持つが、コンテンツを持たないオブジェクトです。

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

クラス javax.swing.JSeparator から継承した内部クラス
JSeparator.AccessibleJSeparator
 
クラス javax.swing.JComponent から継承した内部クラス
JComponent.AccessibleJComponent
 
クラス javax.swing.JComponent から継承したフィールド
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, 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
 
コンストラクタの概要
JToolBar.Separator()
          現在の Look & Feel で定義されるデフォルトのサイズで、新しいツールバーのセパレータを作成します。
JToolBar.Separator(Dimension size)
          新しいツールバーのセパレータを、指定されたサイズで作成します。
 
メソッドの概要
 Dimension getMaximumSize()
          セパレータの最大サイズを返します。
 Dimension getMinimumSize()
          セパレータの最小サイズを返します。
 Dimension getPreferredSize()
          セパレータの望ましいサイズを返します。
 Dimension getSeparatorSize()
          セパレータのサイズを返します。
 String getUIClassID()
          コンポーネントを描画する L&F クラスの名前を返します。
 void setSeparatorSize(Dimension size)
          セパレータのサイズを設定します。
 
クラス javax.swing.JSeparator から継承したメソッド
getAccessibleContext, getOrientation, getUI, isFocusTraversable, paramString, setOrientation, setUI, updateUI
 
クラス javax.swing.JComponent から継承したメソッド
addAncestorListener, addNotify, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInsets, getInsets, getLocation, getNextFocusableComponent, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, isDoubleBuffered, isFocusCycleRoot, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, processComponentKeyEvent, processFocusEvent, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setFont, setForeground, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setUI, setVisible, unregisterKeyboardAction, update
 
クラス java.awt.Container から継承したメソッド
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setLayout, validate, validateTree
 
クラス java.awt.Component から継承したメソッド
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hide, imageUpdate, inside, isDisplayable, isEnabled, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processInputMethodEvent, processMouseEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

JToolBar.Separator

public JToolBar.Separator()
現在の Look & Feel で定義されるデフォルトのサイズで、新しいツールバーのセパレータを作成します。

JToolBar.Separator

public JToolBar.Separator(Dimension size)
新しいツールバーのセパレータを、指定されたサイズで作成します。
パラメータ:
size - セパレータの新しいサイズ
メソッドの詳細

getUIClassID

public String getUIClassID()
コンポーネントを描画する L&F クラスの名前を返します。
戻り値:
ToolBarSeparatorUI
オーバーライド:
クラス JSeparator 内の getUIClassID
関連項目:
JComponent.getUIClassID(), UIDefaults.getUI(javax.swing.JComponent)

setSeparatorSize

public void setSeparatorSize(Dimension size)
セパレータのサイズを設定します。
パラメータ:
size - セパレータの新しいサイズ

getSeparatorSize

public Dimension getSeparatorSize()
セパレータのサイズを返します。
戻り値:
セパレータのサイズを保持する Dimension オブジェクト (これは参照で、コピーではない)

getMinimumSize

public Dimension getMinimumSize()
セパレータの最小サイズを返します。
戻り値:
セパレータの最小サイズを保持する Dimension オブジェクト
オーバーライド:
クラス JComponent 内の getMinimumSize

getMaximumSize

public Dimension getMaximumSize()
セパレータの最大サイズを返します。
戻り値:
セパレータの最大サイズを保持する Dimension オブジェクト
オーバーライド:
クラス JComponent 内の getMaximumSize

getPreferredSize

public Dimension getPreferredSize()
セパレータの望ましいサイズを返します。
戻り値:
セパレータの望ましいサイズを保持する Dimension オブジェクト
オーバーライド:
クラス JComponent 内の getPreferredSize

Java プラットフォーム 1.2

バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.