public class ScreenManagedWindowContainer extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
add(sun.awt.peer.cacio.managed.ManagedWindow child)
Adds a child window to this container.
|
void |
dispatchEvent(EventData event)
Processes and dispatches the incoming event.
|
LinkedList<sun.awt.peer.cacio.managed.ManagedWindow> |
getChildren() |
Graphics2D |
getClippedGraphics(Color fg,
Color bg,
Font font,
List<Rectangle> clipRects)
Creates and returns a Graphics2D that has the specified rectangles
applied as default clip.
|
ColorModel |
getColorModel() |
GraphicsConfiguration |
getGraphicsConfiguration() |
Point |
getLocationOnScreen()
Returns the location of the specified child window on screen.
|
void |
remove(sun.awt.peer.cacio.managed.ManagedWindow child)
Removes a child window from this container.
|
void |
repaint(int x,
int y,
int w,
int h)
Triggers repainting of the specified area in this container.
|
public Graphics2D getClippedGraphics(Color fg, Color bg, Font font, List<Rectangle> clipRects)
ManagedWindowContainersetClip(null) or resetClip(). Applying addition clips
to the returned Graphics2D object must always also apply this
default clip.
The clip rectangles are in the coordinate space of this container.
If clipRects is empty or null, no default clip is
to be set.clipRects - the rectangles to be clipped 'away'public ColorModel getColorModel()
public GraphicsConfiguration getGraphicsConfiguration()
public final void add(sun.awt.peer.cacio.managed.ManagedWindow child)
add in interface ManagedWindowContainerchild - the window to addpublic final void remove(sun.awt.peer.cacio.managed.ManagedWindow child)
remove in interface ManagedWindowContainerchild - the window to be removedpublic final LinkedList<sun.awt.peer.cacio.managed.ManagedWindow> getChildren()
getChildren in interface ManagedWindowContainerpublic Point getLocationOnScreen()
getLocationOnScreen in interface ManagedWindowContainerpublic final void dispatchEvent(EventData event)
ManagedWindowContainerdispatchEvent in interface ManagedWindowContainerevent - the event to dispatchpublic void repaint(int x,
int y,
int w,
int h)
ManagedWindowContainerrepaint in interface ManagedWindowContainerx - the x location of the area to be repaintedy - the y location of the area to be repaintedw - the width of the area to be repaintedh - the height of the area to be repaintedCopyright © 2012. All Rights Reserved.