Class dnx.awtutil.LayoutWidget
All Packages Class Hierarchy This Package Previous Next Index
Class dnx.awtutil.LayoutWidget
java.lang.Object
|
+----dnx.awtutil.Widget
|
+----dnx.awtutil.LayoutWidget
- public class LayoutWidget
- extends Widget
-
LayoutWidget()
-
-
LayoutWidget(int, int, int, int)
-
-
add(Widget)
-
-
add(Widget, int, int)
-
-
clearOverlay()
-
-
clearSelectedWidget()
-
-
getGraphics()
-
-
getSelectedWidget()
-
-
getWidgetXPosition(Widget)
-
-
getWidgetYPosition(Widget)
-
-
imageUpdate(Image, int, int, int, int, int)
-
-
minimumSize()
-
-
mouseDown(Event, int, int)
-
-
mouseDrag(Event, int, int)
-
-
mouseMove(Event, int, int)
-
-
mouseUp(Event, int, int)
-
-
overlay(Widget, Widget, int, int)
-
-
paint(Graphics)
-
-
preferredSize()
-
-
repaint()
-
-
repaintWidget(Widget)
-
-
selectWidget(Widget)
-
-
setBackgroundImage(Image)
-
-
setParentCanvas(LayoutCanvas)
-
-
update(Graphics)
-
LayoutWidget
public LayoutWidget()
LayoutWidget
public LayoutWidget(int x,
int y,
int width,
int height)
setParentCanvas
public void setParentCanvas(LayoutCanvas p)
setBackgroundImage
public void setBackgroundImage(Image bg)
add
public synchronized void add(Widget child)
add
public synchronized void add(Widget child,
int xPos,
int yPos)
getGraphics
public Graphics getGraphics()
mouseMove
public synchronized boolean mouseMove(Event evt,
int evtX,
int evtY)
- Overrides:
- mouseMove in class Widget
mouseDown
public synchronized boolean mouseDown(Event evt,
int evtX,
int evtY)
- Overrides:
- mouseDown in class Widget
mouseDrag
public synchronized boolean mouseDrag(Event evt,
int evtX,
int evtY)
- Overrides:
- mouseDrag in class Widget
mouseUp
public synchronized boolean mouseUp(Event evt,
int evtX,
int evtY)
- Overrides:
- mouseUp in class Widget
repaint
public synchronized void repaint()
- Overrides:
- repaint in class Widget
paint
public synchronized void paint(Graphics g)
- Overrides:
- paint in class Widget
update
public synchronized void update(Graphics g)
repaintWidget
public synchronized void repaintWidget(Widget w)
getWidgetXPosition
public synchronized int getWidgetXPosition(Widget w)
getWidgetYPosition
public synchronized int getWidgetYPosition(Widget w)
overlay
public synchronized void overlay(Widget w,
Widget ref,
int xOff,
int yOff)
clearOverlay
public synchronized void clearOverlay()
preferredSize
public synchronized Dimension preferredSize()
- Overrides:
- preferredSize in class Widget
minimumSize
public synchronized Dimension minimumSize()
- Overrides:
- minimumSize in class Widget
imageUpdate
public boolean imageUpdate(Image img,
int infoFlags,
int x,
int y,
int width,
int height)
- Overrides:
- imageUpdate in class Widget
selectWidget
public synchronized void selectWidget(Widget w)
clearSelectedWidget
public synchronized void clearSelectedWidget()
getSelectedWidget
public synchronized Widget getSelectedWidget()
All Packages Class Hierarchy This Package Previous Next Index