|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.jaspira.gui.interaction.BasicDropRegion
org.openbp.jaspira.gui.interaction.CircleDropRegion
public class CircleDropRegion
A circular drop region is a region that is only visible by displaying a small circle in its center.
| Field Summary |
|---|
| Fields inherited from class org.openbp.jaspira.gui.interaction.BasicDropRegion |
|---|
id, origin, parent, toolTipText |
| Fields inherited from interface org.openbp.jaspira.gui.interaction.DragAwareRegion |
|---|
COPY, COPY_OR_MOVE, MOVE, NONE |
| Constructor Summary | |
|---|---|
CircleDropRegion(java.lang.Object id,
InteractionClient parent,
java.awt.geom.RectangularShape shape,
int diameter,
java.awt.Component origin)
Constructor. |
|
| Method Summary | |
|---|---|
void |
draw(java.awt.Graphics2D g)
Draws the region with the given attributes. |
java.awt.Rectangle |
getBounds()
Returns the bounding box of the region. |
| Methods inherited from class org.openbp.jaspira.gui.interaction.BasicDropRegion |
|---|
canImport, dragEnter, dragExit, getCursor, getFrameColor, getId, getOrigin, getOverlay, getPaint, getParent, getShape, getStroke, getToolTipText, importData, reactsOn, setCursor, setFrameColor, setId, setOrigin, setOverlay, setPaint, setParent, setShape, setStroke, setToolTipText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CircleDropRegion(java.lang.Object id,
InteractionClient parent,
java.awt.geom.RectangularShape shape,
int diameter,
java.awt.Component origin)
diameter - Diameter of the circle| Method Detail |
|---|
public void draw(java.awt.Graphics2D g)
draw in interface DragAwareRegiondraw in class BasicDropRegiong - Graphics contextpublic java.awt.Rectangle getBounds()
getBounds in interface DragAwareRegiongetBounds in class BasicDropRegion
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||