public class SkinTitlePane
extends javax.swing.plaf.basic.BasicInternalFrameTitlePane
Modifier and Type | Class and Description |
---|---|
class |
SkinTitlePane.CloseAction
This inner class is marked "public" due to a compiler bug.
|
class |
SkinTitlePane.IconifyAction
This inner class is marked "public" due to a compiler bug.
|
class |
SkinTitlePane.MaximizeAction
This inner class is marked "public" due to a compiler bug.
|
class |
SkinTitlePane.PropertyChangeHandler
Description of the Class
|
class |
SkinTitlePane.RestoreAction
This inner class is marked "public" due to a compiler bug.
|
class |
SkinTitlePane.ShadeAction
Description of the Class
|
class |
SkinTitlePane.SystemMenuBar
This inner class is marked "public" due to a compiler bug.
|
class |
SkinTitlePane.TitlePaneLayout
Description of the Class
|
javax.swing.plaf.basic.BasicInternalFrameTitlePane.MoveAction, javax.swing.plaf.basic.BasicInternalFrameTitlePane.SizeAction
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
static int |
ALIGN_TOP_LEFT
Align button relative to top left of window
|
static int |
ALIGN_TOP_RIGHT
Align button relative to the top right of window
|
static int |
CLOSE_ACTION
Description of the Field
|
static int |
ICON_OFFSET |
protected Window |
m_Window
Description of the Field
|
static int |
MAXIMIZE_ACTION
Description of the Field
|
static int |
MINIMIZE_ACTION
Description of the Field
|
static int |
NO_ACTION
Description of the Field
|
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
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
SkinTitlePane(javax.swing.JInternalFrame f)
Constructor for the SkinTitlePane object
|
SkinTitlePane(Window f)
Constructor for the SkinTitlePane object
|
Modifier and Type | Method and Description |
---|---|
protected void |
addButton(SkinWindowButton button)
Adds a feature to the Button attribute of the SkinTitlePane object
|
protected void |
addSystemMenuItems(javax.swing.JMenu systemMenu)
Adds a feature to the SystemMenuItems attribute of the SkinTitlePane object
|
protected java.beans.PropertyChangeListener |
createActionChangeListener(javax.swing.AbstractButton b)
Description of the Method
|
protected void |
createActions()
Description of the Method
|
protected void |
createButtons()
Description of the Method
|
protected java.awt.LayoutManager |
createLayout()
Description of the Method
|
protected java.beans.PropertyChangeListener |
createPropertyChangeListener()
Description of the Method
|
protected javax.swing.JMenuBar |
createSystemMenuBar() |
protected void |
enableActions()
Description of the Method
|
java.awt.Dimension |
getMinimumSize()
Gets the MinimumSize attribute of the SkinTitlePane object
|
java.awt.Dimension |
getPreferredSize()
Gets the PreferredSize attribute of the SkinTitlePane object
|
Window |
getWindow()
Gets the Window attribute of the SkinTitlePane object
|
protected void |
installDefaults()
Same as parent class except it does not initialize the icons
|
protected void |
installListeners()
Overriden to register on the window
|
protected void |
installTitlePane()
Description of the Method
|
void |
paintComponent(java.awt.Graphics g)
Description of the Method
|
protected void |
setButtonIcons()
Sets the ButtonIcons attribute of the SkinTitlePane object
|
protected void |
uninstallListeners()
Overriden to unregister on the window
|
addSubComponents, assembleSystemMenu, createSystemMenu, getTitle, paintTitleBackground, postClosingEvent, showSystemMenu, uninstallDefaults
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, 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, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, 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
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
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, 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, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, 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, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
protected Window m_Window
public static final int ICON_OFFSET
public static final int ALIGN_TOP_LEFT
public static final int ALIGN_TOP_RIGHT
public static final int CLOSE_ACTION
public static final int MAXIMIZE_ACTION
public static final int MINIMIZE_ACTION
public static final int NO_ACTION
public SkinTitlePane(javax.swing.JInternalFrame f)
f
- Description of Parameterpublic SkinTitlePane(Window f)
f
- Description of Parameterpublic Window getWindow()
public java.awt.Dimension getPreferredSize()
getPreferredSize
in class javax.swing.JComponent
public java.awt.Dimension getMinimumSize()
getMinimumSize
in class javax.swing.JComponent
public void paintComponent(java.awt.Graphics g)
paintComponent
in class javax.swing.plaf.basic.BasicInternalFrameTitlePane
g
- Description of Parameterprotected void setButtonIcons()
setButtonIcons
in class javax.swing.plaf.basic.BasicInternalFrameTitlePane
protected void installTitlePane()
installTitlePane
in class javax.swing.plaf.basic.BasicInternalFrameTitlePane
protected void createActions()
createActions
in class javax.swing.plaf.basic.BasicInternalFrameTitlePane
protected void installListeners()
installListeners
in class javax.swing.plaf.basic.BasicInternalFrameTitlePane
protected void uninstallListeners()
uninstallListeners
in class javax.swing.plaf.basic.BasicInternalFrameTitlePane
protected void installDefaults()
installDefaults
in class javax.swing.plaf.basic.BasicInternalFrameTitlePane
protected void createButtons()
createButtons
in class javax.swing.plaf.basic.BasicInternalFrameTitlePane
protected void addButton(SkinWindowButton button)
button
- The feature to be added to the Button attributeprotected void addSystemMenuItems(javax.swing.JMenu systemMenu)
addSystemMenuItems
in class javax.swing.plaf.basic.BasicInternalFrameTitlePane
systemMenu
- The feature to be added to the SystemMenuItems attributeprotected javax.swing.JMenuBar createSystemMenuBar()
createSystemMenuBar
in class javax.swing.plaf.basic.BasicInternalFrameTitlePane
protected void enableActions()
enableActions
in class javax.swing.plaf.basic.BasicInternalFrameTitlePane
protected java.beans.PropertyChangeListener createPropertyChangeListener()
createPropertyChangeListener
in class javax.swing.plaf.basic.BasicInternalFrameTitlePane
protected java.awt.LayoutManager createLayout()
createLayout
in class javax.swing.plaf.basic.BasicInternalFrameTitlePane
protected java.beans.PropertyChangeListener createActionChangeListener(javax.swing.AbstractButton b)
b
- Description of Parameter