|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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
Inner Class Summary | |
class |
SkinWindow.SkinDesktopIcon
Description of the Class |
Field Summary | |
static int |
ICONIFIED
Description of the Field |
static int |
NORMAL
Description of the Field |
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 |
Constructor Summary | |
SkinWindow()
Constructor for the SkinWindow object |
|
SkinWindow(java.lang.String title)
Constructor for the SkinWindow object |
Method Summary | |
void |
addWindowListener(com.l2fprod.gui.event.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()
Gets the DesktopIcon attribute of the SkinWindow object |
int |
getState()
Gets the state of this frame. |
boolean |
isShaded()
Gets the Shaded attribute of the SkinWindow object |
void |
putClientProperty(java.lang.Object key,
java.lang.Object value)
Add an arbitrary key/value "client property" to this component. |
void |
removeWindowListener(com.l2fprod.gui.event.SkinWindowListener l)
Removes the specified window listener so that it no longer receives window events from this window. |
void |
setShaded(boolean b)
Sets the Shaded attribute of the SkinWindow object |
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 |
Methods inherited from class java.awt.Window |
addNotify,
addWindowListener,
applyResourceBundle,
applyResourceBundle,
dispose,
getFocusOwner,
getInputContext,
getLocale,
getOwnedWindows,
getOwner,
getToolkit,
getWarningString,
hide,
isShowing,
postEvent,
removeWindowListener,
setCursor,
show,
toBack,
toFront |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getAlignmentX,
getAlignmentY,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getInsets,
getLayout,
getMaximumSize,
getMinimumSize,
getPreferredSize,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paint,
paintComponents,
preferredSize,
print,
printComponents,
remove,
removeAll,
removeContainerListener,
removeNotify,
setFont,
update,
validate |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
addPropertyChangeListener,
bounds,
checkImage,
checkImage,
contains,
contains,
createImage,
createImage,
disable,
dispatchEvent,
enable,
enable,
enableInputMethods,
getBackground,
getBounds,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getGraphics,
getHeight,
getInputMethodRequests,
getLocation,
getLocation,
getLocationOnScreen,
getName,
getParent,
getPeer,
getSize,
getSize,
getTreeLock,
getWidth,
getX,
getY,
gotFocus,
handleEvent,
hasFocus,
imageUpdate,
inside,
isDisplayable,
isDoubleBuffered,
isEnabled,
isFocusTraversable,
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,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removePropertyChangeListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
repaint,
requestFocus,
reshape,
resize,
resize,
setBackground,
setBounds,
setComponentOrientation,
setDropTarget,
setEnabled,
setForeground,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
show,
size,
toString,
transferFocus |
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)
title
- Description of ParameterMethod Detail |
public void setShaded(boolean b)
b
- The new Shaded valuepublic void setState(int state)
state
- SkinWindow.ICONIFIED
if this frame is in iconic
state; SkinWindow.NORMAL
if this frame is in normal
state.public SkinWindow.SkinDesktopIcon getDesktopIcon()
public boolean isShaded()
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.key
- Description of ParameterputClientProperty(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()
.
key
- Description of Parametervalue
- Description of ParametergetClientProperty(java.lang.Object)
,
Component.addPropertyChangeListener(java.beans.PropertyChangeListener)
public void addWindowListener(com.l2fprod.gui.event.SkinWindowListener l)
l
- the window listenerpublic void removeWindowListener(com.l2fprod.gui.event.SkinWindowListener l)
l
- the window listener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |