Class NativeSearchFieldSupport
java.lang.Object
org.jdesktop.swingx.search.NativeSearchFieldSupport
TODO: comment
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ActionListenerstatic ActionListenergetFindAction(JTextField txt) static JPopupMenustatic booleanstatic booleanstatic booleanisSearchField(JTextField txt) static voidsetCancelAction(JTextField txt, ActionListener cancelAction) static voidsetFindAction(JTextField txt, ActionListener findAction) static voidsetFindPopupMenu(JTextField txt, JPopupMenu popupMenu) static voidsetSearchField(JTextField txt, boolean isSearchField)
-
Field Details
-
FIND_POPUP_PROPERTY
- See Also:
-
FIND_ACTION_PROPERTY
- See Also:
-
MAC_SEARCH_VARIANT
- See Also:
-
MAC_TEXT_FIELD_VARIANT_PROPERTY
- See Also:
-
CANCEL_ACTION_PROPERTY
- See Also:
-
uiChangeHandler
-
-
Constructor Details
-
NativeSearchFieldSupport
public NativeSearchFieldSupport()
-
-
Method Details
-
isNativeSearchFieldSupported
public static boolean isNativeSearchFieldSupported()- Returns:
trueif we run Leopard and the Mac Look And Feel.
-
setSearchField
-
isSearchField
-
isNativeSearchField
-
setFindPopupMenu
-
getFindPopupMenu
-
setFindAction
-
getFindAction
-
setCancelAction
-
getCancelAction
-