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

Constructor Index

 o LayoutWidget()
 o LayoutWidget(int, int, int, int)

Method Index

 o add(Widget)
 o add(Widget, int, int)
 o clearOverlay()
 o clearSelectedWidget()
 o getGraphics()
 o getSelectedWidget()
 o getWidgetXPosition(Widget)
 o getWidgetYPosition(Widget)
 o imageUpdate(Image, int, int, int, int, int)
 o minimumSize()
 o mouseDown(Event, int, int)
 o mouseDrag(Event, int, int)
 o mouseMove(Event, int, int)
 o mouseUp(Event, int, int)
 o overlay(Widget, Widget, int, int)
 o paint(Graphics)
 o preferredSize()
 o repaint()
 o repaintWidget(Widget)
 o selectWidget(Widget)
 o setBackgroundImage(Image)
 o setParentCanvas(LayoutCanvas)
 o update(Graphics)

Constructors

 o LayoutWidget
  public LayoutWidget()
 o LayoutWidget
  public LayoutWidget(int x,
                      int y,
                      int width,
                      int height)

Methods

 o setParentCanvas
  public void setParentCanvas(LayoutCanvas p)
 o setBackgroundImage
  public void setBackgroundImage(Image bg)
 o add
  public synchronized void add(Widget child)
 o add
  public synchronized void add(Widget child,
                               int xPos,
                               int yPos)
 o getGraphics
  public Graphics getGraphics()
 o mouseMove
  public synchronized boolean mouseMove(Event evt,
                                        int evtX,
                                        int evtY)
Overrides:
mouseMove in class Widget
 o mouseDown
  public synchronized boolean mouseDown(Event evt,
                                        int evtX,
                                        int evtY)
Overrides:
mouseDown in class Widget
 o mouseDrag
  public synchronized boolean mouseDrag(Event evt,
                                        int evtX,
                                        int evtY)
Overrides:
mouseDrag in class Widget
 o mouseUp
  public synchronized boolean mouseUp(Event evt,
                                      int evtX,
                                      int evtY)
Overrides:
mouseUp in class Widget
 o repaint
  public synchronized void repaint()
Overrides:
repaint in class Widget
 o paint
  public synchronized void paint(Graphics g)
Overrides:
paint in class Widget
 o update
  public synchronized void update(Graphics g)
 o repaintWidget
  public synchronized void repaintWidget(Widget w)
 o getWidgetXPosition
  public synchronized int getWidgetXPosition(Widget w)
 o getWidgetYPosition
  public synchronized int getWidgetYPosition(Widget w)
 o overlay
  public synchronized void overlay(Widget w,
                                   Widget ref,
                                   int xOff,
                                   int yOff)
 o clearOverlay
  public synchronized void clearOverlay()
 o preferredSize
  public synchronized Dimension preferredSize()
Overrides:
preferredSize in class Widget
 o minimumSize
  public synchronized Dimension minimumSize()
Overrides:
minimumSize in class Widget
 o imageUpdate
  public boolean imageUpdate(Image img,
                             int infoFlags,
                             int x,
                             int y,
                             int width,
                             int height)
Overrides:
imageUpdate in class Widget
 o selectWidget
  public synchronized void selectWidget(Widget w)
 o clearSelectedWidget
  public synchronized void clearSelectedWidget()
 o getSelectedWidget
  public synchronized Widget getSelectedWidget()

All Packages  Class Hierarchy  This Package  Previous  Next  Index