| |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
javax.swing.plaf.basic
类 BasicInternalFrameTitlePane
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.plaf.basic.BasicInternalFrameTitlePane
- 所有已实现的接口:
- ImageObserver, MenuContainer, Serializable
- 直接已知子类:
- MetalInternalFrameTitlePane
public class BasicInternalFrameTitlePane
- extends JComponent
管理基本标题栏的类
警告:此类的序列化对象将与以后的 Swing 版本不兼容。当前的序列化支持适用于短期存储或运行相同 Swing 版本的应用程序之间的 RMI。从 1.4 版本开始,已在 java.beans
包中添加了支持所有 JavaBeansTM 长期存储的功能。请参见 XMLEncoder
。
嵌套类摘要 | |
---|---|
class | BasicInternalFrameTitlePane.CloseAction 此类应视为“受保护”内部类。 |
class | BasicInternalFrameTitlePane.IconifyAction 此类应视为“受保护”内部类。 |
class | BasicInternalFrameTitlePane.MaximizeAction 此类应视为“受保护”内部类。 |
class | BasicInternalFrameTitlePane.MoveAction 此类应视为“受保护”内部类。 |
class | BasicInternalFrameTitlePane.PropertyChangeHandler 此类应视为“受保护”内部类。 |
class | BasicInternalFrameTitlePane.RestoreAction 此类应视为“受保护”内部类。 |
class | BasicInternalFrameTitlePane.SizeAction 此类应视为“受保护”内部类。 |
class | BasicInternalFrameTitlePane.SystemMenuBar 此类应视为“受保护”内部类。 |
class | BasicInternalFrameTitlePane.TitlePaneLayout 此类应视为“受保护”内部类。 |
从类 javax.swing.JComponent 继承的嵌套类/接口 |
---|
JComponent.AccessibleJComponent |
从类 java.awt.Container 继承的嵌套类/接口 |
---|
Container.AccessibleAWTContainer |
从类 java.awt.Component 继承的嵌套类/接口 |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
字段摘要 | |
---|---|
protected static String | CLOSE_CMD |
protected Action | closeAction |
protected JButton | closeButton |
protected Icon | closeIcon |
protected JInternalFrame | frame |
protected JButton | iconButton |
protected Icon | iconIcon |
protected static String | ICONIFY_CMD |
protected Action | iconifyAction |
protected JButton | maxButton |
protected Icon | maxIcon |
protected static String | MAXIMIZE_CMD |
protected Action | maximizeAction |
protected JMenuBar | menuBar |
protected Icon | minIcon |
protected static String | MOVE_CMD |
protected Action | moveAction |
protected Color | notSelectedTextColor |
protected Color | notSelectedTitleColor |
protected PropertyChangeListener | propertyChangeListener |
protected static String | RESTORE_CMD |
protected Action | restoreAction |
protected Color | selectedTextColor |
protected Color | selectedTitleColor |
protected static String | SIZE_CMD |
protected Action | sizeAction |
protected JMenu | 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 |
构造方法摘要 | |
---|---|
BasicInternalFrameTitlePane(JInternalFrame f) |
方法摘要 | |
---|---|
protected void | addSubComponents() |
protected void | addSystemMenuItems(JMenu systemMenu) |
protected void | assembleSystemMenu() |
protected void | createActions() |
protected void | createButtons() |
protected LayoutManager | createLayout() |
protected PropertyChangeListener | createPropertyChangeListener() |
protected JMenu | createSystemMenu() |
protected JMenuBar | createSystemMenuBar() |
protected void | enableActions() |
protected String | getTitle(String text, FontMetrics fm, int availTextWidth) |
protected void | installDefaults() |
protected void | installListeners() |
protected void | installTitlePane() |
void | paintComponent(Graphics g) 如果 UI 委托为非 null ,则调用该 UI 委托的 paint 方法。 |
protected void | paintTitleBackground(Graphics g) 从 paintComponent 调用。 |
protected void | postClosingEvent(JInternalFrame frame) 将类似于 WINDOW_CLOSING 的事件发送到窗体,以便将其当作规则的 Frame 来对待。 |
protected void | setButtonIcons() |
protected void | showSystemMenu() |
protected void | uninstallDefaults() |
protected void | uninstallListeners() |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
字段详细信息 |
---|
menuBar
protected JMenuBar menuBar
iconButton
protected JButton iconButton
maxButton
protected JButton maxButton
closeButton
protected JButton closeButton
windowMenu
protected JMenu windowMenu
frame
protected JInternalFrame frame
selectedTitleColor
protected Color selectedTitleColor