|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BreakoutBoxEntry
An entry of a break out menu.
| Method Summary | |
|---|---|
void |
draw(java.awt.Graphics g)
Draws the entry. |
java.lang.String |
getDescription()
Gets the description of this entry. |
MultiIcon |
getIcon()
Gets the icon of this entry. |
Importer |
getImporter()
Gets the importer of the entry. |
java.awt.Rectangle |
getLocationOnGlassPanel()
Gets the location and dimension of the entry. |
java.lang.String |
getTitle()
Gets the title of this entry. |
java.lang.String |
getToolTipText()
Gets the tooltip for this entry. |
java.awt.datatransfer.Transferable |
getTransferable()
Gets the transferable object of this entry. |
boolean |
importData(java.awt.Point p)
Imports the data at the drop point. |
boolean |
reactsOn(int x,
int y)
Checks if the given point is inside the region of the entry. |
void |
setLocationOnGlassPanel(java.awt.Rectangle r)
Sets the location and dimension of the entry. |
| Method Detail |
|---|
java.awt.datatransfer.Transferable getTransferable()
java.lang.String getTitle()
MultiIcon getIcon()
java.lang.String getDescription()
java.lang.String getToolTipText()
Importer getImporter()
void draw(java.awt.Graphics g)
g - Graphics context
boolean reactsOn(int x,
int y)
x - Position in screen coordinatesy - Position in screen coordinatesboolean importData(java.awt.Point p)
p - Import position in glass coordinates
void setLocationOnGlassPanel(java.awt.Rectangle r)
r - Bounds in screen coordinatesjava.awt.Rectangle getLocationOnGlassPanel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||