Class PopupWindowDecorator
java.lang.Object
org.fife.ui.rsyntaxtextarea.PopupWindowDecorator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static PopupWindowDecoratorThe singleton instance of this class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidCallback called whenever an appropriate JWindow is created by the AutoComplete library.static PopupWindowDecoratorget()Returns the singleton instance of this class.static voidset(PopupWindowDecorator decorator) Sets the singleton instance of this class.
-
Field Details
-
decorator
The singleton instance of this class.
-
-
Constructor Details
-
PopupWindowDecorator
public PopupWindowDecorator()
-
-
Method Details
-
decorate
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
Returns the singleton instance of this class. This should only be called on the EDT.- Returns:
- The singleton instance of this class, or
nullfor none. - See Also:
-
set
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:
-