|
SkinLF Version 1.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--java.awt.Window
|
+--javax.swing.JWindow
|
+--com.l2fprod.gui.grieves.graphics.JExternalFrame
|
+--com.l2fprod.gui.SkinWindow
Skin Window.
By extending javax.swing.JWindow, SkinWindow looks like JInternalFrame when using Skin Look And Feel.
Created on 15/04/2000 by Frederic Lavigne, fred@L2FProd.com
| Nested Class Summary | |
class |
SkinWindow.SkinDesktopIcon
|
| Field Summary | |
static int |
ICONIFIED
|
static int |
NORMAL
|
| Fields inherited from class com.l2fprod.gui.grieves.graphics.JExternalFrame |
SCREEN_HEIGHT, SCREEN_WIDTH |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
SkinWindow()
|
|
SkinWindow(java.lang.String title)
|
|
| Method Summary | |
void |
addWindowListener(SkinWindowListener l)
Adds the specified window listener to receive window events from this window. |
java.lang.Object |
getClientProperty(java.lang.Object key)
Returns the value of the property with the specified key. |
SkinWindow.SkinDesktopIcon |
getDesktopIcon()
|
int |
getState()
Gets the state of this frame. |
boolean |
isShaded()
|
void |
putClientProperty(java.lang.Object key,
java.lang.Object value)
Add an arbitrary key/value "client property" to this component. |
void |
removeWindowListener(SkinWindowListener l)
Removes the specified window listener so that it no longer receives window events from this window. |
void |
setShaded(boolean b)
|
void |
setState(int state)
Sets the state of this frame. |
| Methods inherited from class com.l2fprod.gui.grieves.graphics.JExternalFrame |
getContentPane, getDefaultCloseOperation, getFrameIcon, getJMenuBar, getTitle, isClosable, isClosed, isIcon, isIconifiable, isMaximizable, isMaximum, isResizable, isSelected, pack, setBounds, setClosable, setClosed, setDefaultCloseOperation, setFrameIcon, setIcon, setIconifiable, setJMenuBar, setMaximizable, setMaximum, setResizable, setSelected, setTitle, setVisible |
| Methods inherited from class javax.swing.JWindow |
getAccessibleContext, getGlassPane, getLayeredPane, getRootPane, remove, setContentPane, setGlassPane, setLayeredPane, setLayout, update |
| Methods inherited from class java.awt.Window |
addNotify, addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, postEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, show, toBack, toFront |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, removeAll, removeContainerListener, removeNotify, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, validate |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int NORMAL
public static final int ICONIFIED
| Constructor Detail |
public SkinWindow()
public SkinWindow(java.lang.String title)
| Method Detail |
public SkinWindow.SkinDesktopIcon getDesktopIcon()
public boolean isShaded()
public void setShaded(boolean b)
public void setState(int state)
state - SkinWindow.ICONIFIED if this frame is in
iconic state; SkinWindow.NORMAL if this frame is
in normal state.public int getState()
Frame.ICONIFIED if frame in iconic state;
Frame.NORMAL if frame is in normal state.public final java.lang.Object getClientProperty(java.lang.Object key)
putClientProperty will return
a non-null value.
putClientProperty(java.lang.Object, java.lang.Object)
public final void putClientProperty(java.lang.Object key,
java.lang.Object value)
The
If value is null this method will remove the property.
Changes to client properties are reported with PropertyChange
events. The name of the property (for the sake of PropertyChange
events) is
The clientProperty dictionary is not intended to support large
scale extensions to JComponent nor should be it considered an
alternative to subclassing when designing a new component.
get/putClientProperty methods provide access to
a small per-instance hashtable. Callers can use get/putClientProperty
to annotate components that were created by another module, e.g. a
layout manager might store per child constraints this way. For example:
componentA.putClientProperty("to the left of", componentB);
key.toString().
getClientProperty(java.lang.Object),
Window.addPropertyChangeListener(java.beans.PropertyChangeListener)
public void addWindowListener(SkinWindowListener l)
l - the window listenerpublic void removeWindowListener(SkinWindowListener l)
l - the window listener
|
SkinLF Version 1.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||