|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.uieditor.uicanvas.BoxEffects
BoxEffects encapsulates the facilities for drawing boxes upon an associated UICanvas instance. BoxEffects are typically used by a LayoutAssistant to render visual feedback to the user during such operations a creation, resize, and drag.
UICanvas
,
LayoutAssistant
Field Summary | |
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 Summary | |
BoxEffects(java.awt.Container container)
Constructor. |
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SELECT
public static final int DRAG
public static final int THICK_GRID
public static final int THIN_GRID
Constructor Detail |
public BoxEffects(java.awt.Container container)
container
- owner upon which our effects are to be parented.Method Detail |
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()
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.