Class JTextComponentHpr<T extends javax.swing.text.JTextComponent>
- java.lang.Object
-
- com.inductiveautomation.snap.ui.UIHelper<T>
-
- com.inductiveautomation.snap.swing.SwingHelper<T>
-
- com.inductiveautomation.snap.swing.helpers.JComponentHpr<T>
-
- com.inductiveautomation.snap.swing.helpers.JTextComponentHpr<T>
-
- Direct Known Subclasses:
JFormattedTextFieldHpr
,JTextAreaHpr
,JTextFieldHpr
public class JTextComponentHpr<T extends javax.swing.text.JTextComponent> extends JComponentHpr<T>
This class is a JComponentHpr subclass for JTextComponent.
-
-
Constructor Summary
Constructors Constructor Description JTextComponentHpr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getChildCount(T anObj)
Override to suppress children.java.lang.String
getPropertyNameMapped(T anObj, java.lang.String aName)
Returns a mapped property name.protected java.util.List<java.lang.String>
getPropertyNamesImpl(T anObj)
Returns the property names for given object.-
Methods inherited from class com.inductiveautomation.snap.swing.helpers.JComponentHpr
addBinding, createEventAdapter, getAutosizing, getBinding, getBindingCount, getBindings, getChangeListener, getChild, getConstraints, getEventAdapter, getName, getOwner, getParent, getSendActionOnFocusLost, getSendActionOnFocusLostDefault, initUI, isEnabled, removeBinding, setConstraints, setEnabled, setOwner, setSendActionOnFocusLost
-
Methods inherited from class com.inductiveautomation.snap.swing.SwingHelper
getHelper, getSwingHelper, getSwingHelper
-
Methods inherited from class com.inductiveautomation.snap.ui.UIHelper
enableEvents, getAction, getBinding, getChild, getItemDisplayKey, getItems, getKeyValue, getPropertyNames, getSelectedIndex, getSelectedIndexes, getSelectedIndexs, getSelectedItem, getText, getValue, initUIDeep, isEnabled, isPropertyName, isValueAdjusting, removeBinding, setAction, setEnabled, setItemDisplayKey, setItems, setItems, setKeyValue, setSelectedIndex, setSelectedIndexes, setSelectedItem, setText, setValue
-
-
-
-
Method Detail
-
getChildCount
public int getChildCount(T anObj)
Override to suppress children.- Overrides:
getChildCount
in classJComponentHpr<T extends javax.swing.text.JTextComponent>
-
getPropertyNamesImpl
protected java.util.List<java.lang.String> getPropertyNamesImpl(T anObj)
Returns the property names for given object.- Overrides:
getPropertyNamesImpl
in classJComponentHpr<T extends javax.swing.text.JTextComponent>
-
getPropertyNameMapped
public java.lang.String getPropertyNameMapped(T anObj, java.lang.String aName)
Returns a mapped property name.- Overrides:
getPropertyNameMapped
in classUIHelper<T extends javax.swing.text.JTextComponent>
-
-