org.jdesktop.swingx.search
Class NativeSearchFieldSupport
java.lang.Object
org.jdesktop.swingx.search.NativeSearchFieldSupport
public class NativeSearchFieldSupport
- extends Object
TODO: comment
- Author:
- Peter Weishapl
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FIND_POPUP_PROPERTY
public static final String FIND_POPUP_PROPERTY
- See Also:
- Constant Field Values
FIND_ACTION_PROPERTY
public static final String FIND_ACTION_PROPERTY
- See Also:
- Constant Field Values
MAC_SEARCH_VARIANT
public static final String MAC_SEARCH_VARIANT
- See Also:
- Constant Field Values
MAC_TEXT_FIELD_VARIANT_PROPERTY
public static final String MAC_TEXT_FIELD_VARIANT_PROPERTY
- See Also:
- Constant Field Values
CANCEL_ACTION_PROPERTY
public static final String CANCEL_ACTION_PROPERTY
- See Also:
- Constant Field Values
NativeSearchFieldSupport
public NativeSearchFieldSupport()
isNativeSearchFieldSupported
public static boolean isNativeSearchFieldSupported()
- Returns:
true
if we run Leopard and the Mac Look And Feel.
setSearchField
public static void setSearchField(JTextField txt,
boolean isSearchField)
isSearchField
public static boolean isSearchField(JTextField txt)
isNativeSearchField
public static boolean isNativeSearchField(JTextField txt)
setFindPopupMenu
public static void setFindPopupMenu(JTextField txt,
JPopupMenu popupMenu)
getFindPopupMenu
public static JPopupMenu getFindPopupMenu(JTextField txt)
setFindAction
public static void setFindAction(JTextField txt,
ActionListener findAction)
getFindAction
public static ActionListener getFindAction(JTextField txt)
setCancelAction
public static void setCancelAction(JTextField txt,
ActionListener cancelAction)
getCancelAction
public static ActionListener getCancelAction(JTextField txt)
Copyright © 2012. All Rights Reserved.