public class CaretVisibilityEnforcerOnFocusGain extends Object implements PropertyChangeListener, FocusListener
Constructor and Description |
---|
CaretVisibilityEnforcerOnFocusGain(JTextComponent textComponent) |
Modifier and Type | Method and Description |
---|---|
void |
focusGained(FocusEvent e) |
void |
focusLost(FocusEvent e) |
void |
propertyChange(PropertyChangeEvent evt) |
void |
setEnforceVisibilityOnFocusGain(boolean visible) |
public CaretVisibilityEnforcerOnFocusGain(JTextComponent textComponent)
public void setEnforceVisibilityOnFocusGain(boolean visible)
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
public void focusGained(FocusEvent e)
focusGained
in interface FocusListener
public void focusLost(FocusEvent e)
focusLost
in interface FocusListener