public final class BoxEffects
extends java.lang.Object
UICanvas, 
LayoutAssistant| Modifier and Type | Field and Description | 
|---|---|
static int | 
DRAG
Style ID indicating drag visuals. 
 | 
static int | 
SELECT
Style ID indicating selection region. 
 | 
static int | 
THICK_GRID
Style ID indicating thick outer boundry visuals. 
 | 
static int | 
THIN_GRID
Style ID indicating thin inner boundry visuals. 
 | 
| Constructor and Description | 
|---|
BoxEffects(java.awt.Container container)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
hide(int i)
Hide the box identified by the given identifier. 
 | 
void | 
hideAll()
Hide all visible boxes. 
 | 
void | 
show(int i,
    java.awt.Point location,
    java.awt.Dimension size,
    int style)
Display a box identified by i at the given location, of the given size
 and using the given style. 
 | 
public static final int SELECT
public static final int DRAG
public static final int THICK_GRID
public static final int THIN_GRID
public BoxEffects(java.awt.Container container)
container - owner upon which our effects are to be parented.public void show(int i,
                 java.awt.Point location,
                 java.awt.Dimension size,
                 int style)
i - the identifier of the boxlocation - the location to draw the boxsize - the size of the box to drawstyle - the style of box to draw.public boolean hide(int i)
i - the identifier of the box to hide.public void hideAll()