|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MacroSourceContext
Context for the MacroSource.
| Method Summary | |
|---|---|
java.awt.Point |
getAbsoluteLocation(java.awt.Point relativeLocation)
Obtains the absolute location for the relative location. |
java.awt.Point |
getAnotherLocation()
Obtains another location for the Macro. |
java.awt.Point |
getLocation()
Obtains the location for the Macro. |
java.awt.Frame |
getOwnerFrame()
Obtains the owner Frame. |
java.awt.Point |
getRelativeLocation(java.awt.Point absoluteLocation)
Obtains the relative location for the absolute location. |
void |
setNewMacro(Macro macro)
Call back to specify the Macro being created. |
| Method Detail |
|---|
void setNewMacro(Macro macro)
Macro being created.
macro - Macro created.java.awt.Point getLocation()
Macro.
java.awt.Point getAnotherLocation()
Obtains another location for the Macro.
An example use of this is dragging:
getLocation() provides item location
Macro.java.awt.Point getAbsoluteLocation(java.awt.Point relativeLocation)
relativeLocation - Relative location.
java.awt.Point getRelativeLocation(java.awt.Point absoluteLocation)
absoluteLocation - Absolute location.
java.awt.Frame getOwnerFrame()
Obtains the owner Frame.
This is useful should there for example be a JDialog necessary to
obtain information for creating the Macro.
Frame.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||