Package com.l2fprod.gui.plaf.skin
Class SkinTitlePane
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.plaf.basic.BasicInternalFrameTitlePane
com.l2fprod.gui.plaf.skin.SkinTitlePane
- All Implemented Interfaces:
ImageObserver
,MenuContainer
,Serializable
Description of the Class
- Author:
- fred
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
This inner class is marked "public" due to a compiler bug.class
This inner class is marked "public" due to a compiler bug.class
This inner class is marked "public" due to a compiler bug.class
Description of the Classclass
This inner class is marked "public" due to a compiler bug.class
Description of the Classclass
This inner class is marked "public" due to a compiler bug.class
Description of the ClassNested classes/interfaces inherited from class javax.swing.plaf.basic.BasicInternalFrameTitlePane
BasicInternalFrameTitlePane.MoveAction, BasicInternalFrameTitlePane.SizeAction
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Align button relative to top left of windowstatic final int
Align button relative to the top right of windowstatic final int
Description of the Fieldstatic final int
protected Window
Description of the Fieldstatic final int
Description of the Fieldstatic final int
Description of the Fieldstatic final int
Description of the FieldFields inherited from class 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
Fields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Fields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for the SkinTitlePane objectConstructor for the SkinTitlePane object -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addButton
(SkinWindowButton button) Adds a feature to the Button attribute of the SkinTitlePane objectprotected void
addSystemMenuItems
(JMenu systemMenu) Adds a feature to the SystemMenuItems attribute of the SkinTitlePane objectprotected PropertyChangeListener
Description of the Methodprotected void
Description of the Methodprotected void
Description of the Methodprotected LayoutManager
Description of the Methodprotected PropertyChangeListener
Description of the Methodprotected JMenuBar
protected void
Description of the MethodGets the MinimumSize attribute of the SkinTitlePane objectGets the PreferredSize attribute of the SkinTitlePane objectGets the Window attribute of the SkinTitlePane objectprotected void
Same as parent class except it does not initialize the iconsprotected void
Overriden to register on the windowprotected void
Description of the Methodvoid
Description of the Methodprotected void
Sets the ButtonIcons attribute of the SkinTitlePane objectprotected void
Overriden to unregister on the windowMethods inherited from class javax.swing.plaf.basic.BasicInternalFrameTitlePane
addSubComponents, assembleSystemMenu, createSystemMenu, getTitle, paintTitleBackground, postClosingEvent, showSystemMenu, uninstallDefaults
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, 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, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUI, 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
Methods inherited from 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 inherited from 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, 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, 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
-
Field Details
-
m_Window
Description of the Field -
ICON_OFFSET
public static final int ICON_OFFSET- See Also:
-
ALIGN_TOP_LEFT
public static final int ALIGN_TOP_LEFTAlign button relative to top left of window- See Also:
-
ALIGN_TOP_RIGHT
public static final int ALIGN_TOP_RIGHTAlign button relative to the top right of window- See Also:
-
CLOSE_ACTION
public static final int CLOSE_ACTIONDescription of the Field- See Also:
-
MAXIMIZE_ACTION
public static final int MAXIMIZE_ACTIONDescription of the Field- See Also:
-
MINIMIZE_ACTION
public static final int MINIMIZE_ACTIONDescription of the Field- See Also:
-
NO_ACTION
public static final int NO_ACTIONDescription of the Field- See Also:
-
-
Constructor Details
-
SkinTitlePane
Constructor for the SkinTitlePane object- Parameters:
f
- Description of Parameter
-
SkinTitlePane
Constructor for the SkinTitlePane object- Parameters:
f
- Description of Parameter
-
-
Method Details
-
getWindow
Gets the Window attribute of the SkinTitlePane object- Returns:
- The Window value
-
getPreferredSize
Gets the PreferredSize attribute of the SkinTitlePane object- Overrides:
getPreferredSize
in classJComponent
- Returns:
- The PreferredSize value
-
getMinimumSize
Gets the MinimumSize attribute of the SkinTitlePane object- Overrides:
getMinimumSize
in classJComponent
- Returns:
- The MinimumSize value
-
paintComponent
Description of the Method- Overrides:
paintComponent
in classBasicInternalFrameTitlePane
- Parameters:
g
- Description of Parameter
-
setButtonIcons
protected void setButtonIcons()Sets the ButtonIcons attribute of the SkinTitlePane object- Overrides:
setButtonIcons
in classBasicInternalFrameTitlePane
-
installTitlePane
protected void installTitlePane()Description of the Method- Overrides:
installTitlePane
in classBasicInternalFrameTitlePane
-
createActions
protected void createActions()Description of the Method- Overrides:
createActions
in classBasicInternalFrameTitlePane
-
installListeners
protected void installListeners()Overriden to register on the window- Overrides:
installListeners
in classBasicInternalFrameTitlePane
-
uninstallListeners
protected void uninstallListeners()Overriden to unregister on the window- Overrides:
uninstallListeners
in classBasicInternalFrameTitlePane
-
installDefaults
protected void installDefaults()Same as parent class except it does not initialize the icons- Overrides:
installDefaults
in classBasicInternalFrameTitlePane
-
createButtons
protected void createButtons()Description of the Method- Overrides:
createButtons
in classBasicInternalFrameTitlePane
-
addButton
Adds a feature to the Button attribute of the SkinTitlePane object- Parameters:
button
- The feature to be added to the Button attribute
-
addSystemMenuItems
Adds a feature to the SystemMenuItems attribute of the SkinTitlePane object- Overrides:
addSystemMenuItems
in classBasicInternalFrameTitlePane
- Parameters:
systemMenu
- The feature to be added to the SystemMenuItems attribute
-
createSystemMenuBar
- Overrides:
createSystemMenuBar
in classBasicInternalFrameTitlePane
-
enableActions
protected void enableActions()Description of the Method- Overrides:
enableActions
in classBasicInternalFrameTitlePane
-
createPropertyChangeListener
Description of the Method- Overrides:
createPropertyChangeListener
in classBasicInternalFrameTitlePane
- Returns:
- Description of the Returned Value
-
createLayout
Description of the Method- Overrides:
createLayout
in classBasicInternalFrameTitlePane
- Returns:
- Description of the Returned Value
-
createActionChangeListener
Description of the Method- Parameters:
b
- Description of Parameter- Returns:
- Description of the Returned Value
-