BasicInternalFrameTitlePane (Java SE 10 & JDK 10 )
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classBasicInternalFrameTitlePane.CloseActionThis class should be treated as a "protected" inner class.
classBasicInternalFrameTitlePane.IconifyActionThis class should be treated as a "protected" inner class.
classBasicInternalFrameTitlePane.MaximizeActionThis class should be treated as a "protected" inner class.
classBasicInternalFrameTitlePane.MoveActionThis class should be treated as a "protected" inner class.
classBasicInternalFrameTitlePane.PropertyChangeHandlerThis class should be treated as a "protected" inner class.
classBasicInternalFrameTitlePane.RestoreActionThis class should be treated as a "protected" inner class.
classBasicInternalFrameTitlePane.SizeActionThis class should be treated as a "protected" inner class.
classBasicInternalFrameTitlePane.SystemMenuBarThis class should be treated as a "protected" inner class.
classBasicInternalFrameTitlePane.TitlePaneLayoutThis class should be treated as a "protected" inner class.
-
Nested classes/interfaces declared in class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
-
Nested classes/interfaces declared in class java.awt.Container
Container.AccessibleAWTContainer
-
Nested classes/interfaces declared in class javax.swing.JComponent
JComponent.AccessibleJComponent
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringCLOSE_CMDThe close button text property.
protected ActioncloseActionThe instance of a
CloseAction.protected JButtoncloseButtonThe close button.
protected IconcloseIconThe close icon.
protected JInternalFrameframeThe instance of
JInternalFrame.protected JButtoniconButtonThe iconify button.
protected IconiconIconThe iconify icon.
protected static StringICONIFY_CMDThe minimize button text property.
protected ActioniconifyActionThe instance of an
IconifyAction.protected JButtonmaxButtonThe maximize button.
protected IconmaxIconThe maximize icon.
protected static StringMAXIMIZE_CMDThe maximize button text property.
protected ActionmaximizeActionThe instance of a
MaximizeAction.protected JMenuBarmenuBarThe instance of
JMenuBar.protected IconminIconThe minimize icon.
protected static StringMOVE_CMDThe move button text property.
protected ActionmoveActionThe instance of a
MoveAction.protected ColornotSelectedTextColorThe color of a not selected text.
protected ColornotSelectedTitleColorThe color of a not selected title.
protected PropertyChangeListenerpropertyChangeListenerThe instance of a
PropertyChangeListener.protected static StringRESTORE_CMDThe restore button text property.
protected ActionrestoreActionThe instance of a
RestoreAction.protected ColorselectedTextColorThe color of a selected text.
protected ColorselectedTitleColorThe color of a selected title.
protected static StringSIZE_CMDThe size button text property.
protected ActionsizeActionThe instance of a
SizeAction.protected JMenuwindowMenuThe instance of
JMenu.-
Fields declared in class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
-
Fields declared in interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-
Fields declared in class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
-
-
Constructor Summary
Constructors Constructor Description BasicInternalFrameTitlePane(JInternalFrame f)Constructs a new instance of
BasicInternalFrameTitlePane.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddSubComponents()Adds subcomponents.
protected voidaddSystemMenuItems(JMenu systemMenu)Adds system menu items to
systemMenu.protected voidassembleSystemMenu()Assembles system menu.
protected voidcreateActions()Creates actions.
protected voidcreateButtons()Creates buttons.
protected LayoutManagercreateLayout()Returns a layout manager.
protected PropertyChangeListenercreatePropertyChangeListener()Returns an instance of
PropertyChangeListener.protected JMenucreateSystemMenu()Returns a new instance of
JMenu.protected JMenuBarcreateSystemMenuBar()Returns a new instance of
JMenuBar.protected voidenableActions()Enables actions.
protected StringgetTitle(String text, FontMetrics fm, int availTextWidth)Returns the title.
protected voidinstallDefaults()Installs default properties.
protected voidinstallListeners()Registers listeners.
protected voidinstallTitlePane()Installs the title pane.
protected voidpaintTitleBackground(Graphics g)Invoked from paintComponent.
protected voidpostClosingEvent(JInternalFrame frame)Post a WINDOW_CLOSING-like event to the frame, so that it can be treated like a regular
Frame.protected voidsetButtonIcons()Sets the button icons.
protected voidshowSystemMenu()Shows system menu.
protected voiduninstallDefaults()Uninstalls default properties.
protected voiduninstallListeners()Unregisters listeners.
-
Methods declared in class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Methods declared in class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
-
Methods declared in class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUI, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
-
-