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 TypeClassDescriptionclassThis inner class is marked "public" due to a compiler bug.classThis inner class is marked "public" due to a compiler bug.classThis inner class is marked "public" due to a compiler bug.classDescription of the ClassclassThis inner class is marked "public" due to a compiler bug.classDescription of the ClassclassThis inner class is marked "public" due to a compiler bug.classDescription of the ClassNested classes/interfaces inherited from class javax.swing.plaf.basic.BasicInternalFrameTitlePane
BasicInternalFrameTitlePane.MoveAction, BasicInternalFrameTitlePane.SizeActionNested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponentNested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainerNested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAlign button relative to top left of windowstatic final intAlign button relative to the top right of windowstatic final intDescription of the Fieldstatic final intprotected WindowDescription of the Fieldstatic final intDescription of the Fieldstatic final intDescription of the Fieldstatic final intDescription 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, windowMenuFields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWFields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields 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 voidaddButton(SkinWindowButton button) Adds a feature to the Button attribute of the SkinTitlePane objectprotected voidaddSystemMenuItems(JMenu systemMenu) Adds a feature to the SystemMenuItems attribute of the SkinTitlePane objectprotected PropertyChangeListenerDescription of the Methodprotected voidDescription of the Methodprotected voidDescription of the Methodprotected LayoutManagerDescription of the Methodprotected PropertyChangeListenerDescription of the Methodprotected JMenuBarprotected voidDescription of the MethodGets the MinimumSize attribute of the SkinTitlePane objectGets the PreferredSize attribute of the SkinTitlePane objectGets the Window attribute of the SkinTitlePane objectprotected voidSame as parent class except it does not initialize the iconsprotected voidOverriden to register on the windowprotected voidDescription of the MethodvoidDescription of the Methodprotected voidSets the ButtonIcons attribute of the SkinTitlePane objectprotected voidOverriden to unregister on the windowMethods inherited from class javax.swing.plaf.basic.BasicInternalFrameTitlePane
addSubComponents, assembleSystemMenu, createSystemMenu, getTitle, paintTitleBackground, postClosingEvent, showSystemMenu, uninstallDefaultsMethods 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, updateUIMethods 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, validateTreeMethods 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:
getPreferredSizein classJComponent- Returns:
- The PreferredSize value
-
getMinimumSize
Gets the MinimumSize attribute of the SkinTitlePane object- Overrides:
getMinimumSizein classJComponent- Returns:
- The MinimumSize value
-
paintComponent
Description of the Method- Overrides:
paintComponentin classBasicInternalFrameTitlePane- Parameters:
g- Description of Parameter
-
setButtonIcons
protected void setButtonIcons()Sets the ButtonIcons attribute of the SkinTitlePane object- Overrides:
setButtonIconsin classBasicInternalFrameTitlePane
-
installTitlePane
protected void installTitlePane()Description of the Method- Overrides:
installTitlePanein classBasicInternalFrameTitlePane
-
createActions
protected void createActions()Description of the Method- Overrides:
createActionsin classBasicInternalFrameTitlePane
-
installListeners
protected void installListeners()Overriden to register on the window- Overrides:
installListenersin classBasicInternalFrameTitlePane
-
uninstallListeners
protected void uninstallListeners()Overriden to unregister on the window- Overrides:
uninstallListenersin classBasicInternalFrameTitlePane
-
installDefaults
protected void installDefaults()Same as parent class except it does not initialize the icons- Overrides:
installDefaultsin classBasicInternalFrameTitlePane
-
createButtons
protected void createButtons()Description of the Method- Overrides:
createButtonsin 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:
addSystemMenuItemsin classBasicInternalFrameTitlePane- Parameters:
systemMenu- The feature to be added to the SystemMenuItems attribute
-
createSystemMenuBar
- Overrides:
createSystemMenuBarin classBasicInternalFrameTitlePane
-
enableActions
protected void enableActions()Description of the Method- Overrides:
enableActionsin classBasicInternalFrameTitlePane
-
createPropertyChangeListener
Description of the Method- Overrides:
createPropertyChangeListenerin classBasicInternalFrameTitlePane- Returns:
- Description of the Returned Value
-
createLayout
Description of the Method- Overrides:
createLayoutin classBasicInternalFrameTitlePane- Returns:
- Description of the Returned Value
-
createActionChangeListener
Description of the Method- Parameters:
b- Description of Parameter- Returns:
- Description of the Returned Value
-