public final class StickyWindowSupport extends Object
Modifier and Type | Method and Description |
---|---|
void |
addWindow(JComponent window)
Add a sticky window to the editor.
|
Point |
convertPoint(Point aPoint)
Convert a
aPoint in root component coordinate system to the
editor coordinate system. |
void |
removeWindow(JComponent window)
Remove a sticky window from the editor.
|
public void addWindow(JComponent window)
window
- the JComponent to add to the editor@NonNull public Point convertPoint(Point aPoint)
aPoint
in root component coordinate system to the
editor coordinate system. aPoint
is assumed to be in the
root component coordinate system of the editor. If conversion is not
possible, return aPoint
without any conversion.aPoint
- the Point to convertpublic void removeWindow(JComponent window)
window
- the JComponent to remove