public class ClearButtonUtils
extends java.lang.Object
Constructor and Description |
---|
ClearButtonUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
addClearButton(javax.swing.JComponent component) |
static void |
addClearButton(javax.swing.JComponent component,
java.awt.event.ActionListener action) |
static javax.swing.text.JTextComponent |
getTextComponent(javax.swing.JComponent x) |
static boolean |
hasClearButton(javax.swing.JComponent component) |
static void |
removeClearButton(javax.swing.JComponent component) |
public static boolean hasClearButton(javax.swing.JComponent component)
public static void addClearButton(javax.swing.JComponent component)
public static void addClearButton(javax.swing.JComponent component, java.awt.event.ActionListener action)
public static void removeClearButton(javax.swing.JComponent component)
public static javax.swing.text.JTextComponent getTextComponent(javax.swing.JComponent x)