Package org.fife.ui.rsyntaxtextarea
Class PopupWindowDecorator
- java.lang.Object
-
- org.fife.ui.rsyntaxtextarea.PopupWindowDecorator
-
-
Constructor Summary
Constructors Constructor Description PopupWindowDecorator()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
decorate(JWindow window)
Callback called whenever an appropriate JWindow is created by the AutoComplete library.static PopupWindowDecorator
get()
Returns the singleton instance of this class.static void
set(PopupWindowDecorator decorator)
Sets the singleton instance of this class.
-
-
-
Method Detail
-
decorate
public abstract void decorate(JWindow window)
Callback called whenever an appropriate JWindow is created by the AutoComplete library. Implementations can decorate the window however they see fit.- Parameters:
window
- The newly-created window.
-
get
public static PopupWindowDecorator get()
Returns the singleton instance of this class. This should only be called on the EDT.- Returns:
- The singleton instance of this class, or
null
for none. - See Also:
set(PopupWindowDecorator)
-
set
public static void set(PopupWindowDecorator decorator)
Sets the singleton instance of this class. This should only be called on the EDT.- Parameters:
decorator
- The new instance of this class. This may benull
.- See Also:
get()
-
-