JavaTM 2 Platform
Std. Ed. v1.3

javax.swing.plaf.metal
クラス MetalInternalFrameTitlePane

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.plaf.basic.BasicInternalFrameTitlePane
                          |
                          +--javax.swing.plaf.metal.MetalInternalFrameTitlePane
すべての実装インタフェース:
ImageObserver, MenuContainer, Serializable

public class MetalInternalFrameTitlePane
extends BasicInternalFrameTitlePane

JLF 仕様のタイトルバーを管理するクラスです。

導入されたバージョン:
1.3
関連項目:
直列化された形式

クラス javax.swing.plaf.basic.BasicInternalFrameTitlePane から継承した内部クラス
BasicInternalFrameTitlePane.CloseAction, BasicInternalFrameTitlePane.IconifyAction, BasicInternalFrameTitlePane.MaximizeAction, BasicInternalFrameTitlePane.MoveAction, BasicInternalFrameTitlePane.PropertyChangeHandler, BasicInternalFrameTitlePane.RestoreAction, BasicInternalFrameTitlePane.SizeAction, BasicInternalFrameTitlePane.SystemMenuBar, BasicInternalFrameTitlePane.TitlePaneLayout
 
クラス javax.swing.JComponent から継承した内部クラス
JComponent.AccessibleJComponent
 
クラス java.awt.Container から継承した内部クラス
Container.AccessibleAWTContainer
 
クラス java.awt.Component から継承した内部クラス
Component.AccessibleAWTComponent
 
フィールドの概要
protected  boolean isPalette
           
protected  Icon paletteCloseIcon
           
protected  int paletteTitleHeight
           
 
クラス javax.swing.plaf.basic.BasicInternalFrameTitlePane から継承したフィールド
CLOSE_CMD, closeAction, closeButton, closeIcon, frame, iconButton, iconIcon, ICONIFY_CMD, iconifyAction, maxButton, maxIcon, MAXIMIZE_CMD, maximizeAction, menuBar, minIcon, MOVE_CMD, moveAction, notSelectedTextColor, notSelectedTitleColor, propertyChangeListener, RESTORE_CMD, restoreAction, selectedTextColor, selectedTitleColor, SIZE_CMD, sizeAction, windowMenu
 
クラス 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
 
インタフェース java.awt.image.ImageObserver から継承したフィールド
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
コンストラクタの概要
MetalInternalFrameTitlePane(JInternalFrame f)
           
 
メソッドの概要
protected  void addSubComponents()
          親のメソッドをオーバーライドし、メニューバーの作成を防ぎます。
protected  void addSystemMenuItems(JMenu systemMenu)
          親のメソッドをオーバーライドし、処理は行いません。
protected  void assembleSystemMenu()
          親のメソッドをオーバーライドし、処理は行いません。
protected  void createButtons()
           
protected  LayoutManager createLayout()
           
protected  PropertyChangeListener createPropertyChangeListener()
           
protected  void installDefaults()
           
 void paintComponent(Graphics g)
          UI 委譲が null 以外の場合、その paint メソッドを呼び出します。
 void paintPalette(Graphics g)
           
 void setPalette(boolean b)
           
 
クラス javax.swing.plaf.basic.BasicInternalFrameTitlePane から継承したメソッド
addNotify, createActions, createSystemMenu, createSystemMenuBar, enableActions, installListeners, installTitlePane, postClosingEvent, removeNotify, setButtonIcons, showSystemMenu, uninstallDefaults, uninstallListeners
 
クラス javax.swing.JComponent から継承したメソッド
addAncestorListener, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getUIClassID, getVerifyInputWhenFocusTarget, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, hide, isDoubleBuffered, isFocusCycleRoot, isFocusTraversable, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processFocusEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
 
クラス 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, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setLayout, validate, validateTree
 
クラス java.awt.Component から継承したメソッド
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, 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, processComponentEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, 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
 

フィールドの詳細

isPalette

protected boolean isPalette

paletteCloseIcon

protected Icon paletteCloseIcon

paletteTitleHeight

protected int paletteTitleHeight
コンストラクタの詳細

MetalInternalFrameTitlePane

public MetalInternalFrameTitlePane(JInternalFrame f)
メソッドの詳細

installDefaults

protected void installDefaults()
オーバーライド:
クラス BasicInternalFrameTitlePane 内の installDefaults

createButtons

protected void createButtons()
オーバーライド:
クラス BasicInternalFrameTitlePane 内の createButtons

assembleSystemMenu

protected void assembleSystemMenu()
親のメソッドをオーバーライドし、処理は行いません。Metal フレームにはシステムメニューがありません。
オーバーライド:
クラス BasicInternalFrameTitlePane 内の assembleSystemMenu

addSystemMenuItems

protected void addSystemMenuItems(JMenu systemMenu)
親のメソッドをオーバーライドし、処理は行いません。Metal フレームにはシステムメニューがありません。
オーバーライド:
クラス BasicInternalFrameTitlePane 内の addSystemMenuItems

addSubComponents

protected void addSubComponents()
親のメソッドをオーバーライドし、メニューバーの作成を防ぎます。メタルフレームにはシステムメニューがありません。
オーバーライド:
クラス BasicInternalFrameTitlePane 内の addSubComponents

createPropertyChangeListener

protected PropertyChangeListener createPropertyChangeListener()
オーバーライド:
クラス BasicInternalFrameTitlePane 内の createPropertyChangeListener

createLayout

protected LayoutManager createLayout()
オーバーライド:
クラス BasicInternalFrameTitlePane 内の createLayout

paintPalette

public void paintPalette(Graphics g)

paintComponent

public void paintComponent(Graphics g)
クラス JComponent の記述:
UI 委譲が null 以外の場合、その paint メソッドを呼び出します。その委譲先に Graphics オブジェクトのコピーを渡して、取り消せない変更 (Graphics.translate() など) から描画コードのほかの部分を保護します。
オーバーライド:
クラス BasicInternalFrameTitlePane 内の paintComponent
クラス javax.swing.JComponent からコピーされたタグ:
関連項目:
JComponent.paint(java.awt.Graphics)

setPalette

public void setPalette(boolean b)

JavaTM 2 Platform
Std. Ed. v1.3

バグや機能要求の報告
さらに詳しい API リファレンスおよび開発者ドキュメントについては、 Java 2 SDK SE Developer Documentation を参照してください。このドキュメントには、概念、用語の定義、回避策、 実用的なコード例など、開発者を対象にした詳細な解説が掲載されています。

Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.