| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectimage.Image
image.Widget
public class Widget
Represents a wrapper for Java Swing Components.
| Constructor Summary | |
|---|---|
| Widget(javax.swing.JComponent inner)Create a Widget from the given JComponent with no padding. | |
| Widget(javax.swing.JComponent inner,
       double paddingX,
       double paddingY)Create a Widget from the given JComponent with the given X/Y paddings. | |
| Widget(javax.swing.JComponent inner,
       int paddingX,
       int paddingY)Create a Widget from the given JComponent with the given X/Y paddings. | |
| Method Summary | |
|---|---|
|  int | height()Return the Height of this Image | 
|  void | paint(java.awt.Graphics g,
      int x,
      int y)Paint this Scene into the given graphics | 
|  int | width()Return the Width of this Image | 
| Methods inherited from class image.Image | 
|---|
| flipHorizontal, flipVertical, overlay, overlay, overlayxy, overlayxy, overlayxy, overlayxy, overlayxy, overlayxy, rasterize, rotate, rotate, toFile, toScene, toWhiteFile, toWhiteScene | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Widget(javax.swing.JComponent inner)
public Widget(javax.swing.JComponent inner,
              int paddingX,
              int paddingY)
public Widget(javax.swing.JComponent inner,
              double paddingX,
              double paddingY)
| Method Detail | 
|---|
public void paint(java.awt.Graphics g,
                  int x,
                  int y)
paint in class Imagepublic int width()
width in class Imagepublic int height()
height in class Image| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||