edu.indiana.iucbrf.feature
Class LongStringFeature
java.lang.Object
edu.indiana.iucbrf.feature.AbstractFeature
edu.indiana.iucbrf.feature.StringFeature
edu.indiana.iucbrf.feature.LongStringFeature
- All Implemented Interfaces:
- Feature, SwingRepresentable, java.io.Serializable, java.lang.Comparable
public class LongStringFeature
- extends StringFeature
A Feature with a value that is a long String. "Long" simply means that its
feature input panel will use a JTextArea instead of a JTextField.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DEFAULT_FEATURE_DIFFERENTIATOR
public static final FeatureDifferentiator DEFAULT_FEATURE_DIFFERENTIATOR
DEFAULT_VARIABLE_TYPE
public static final int DEFAULT_VARIABLE_TYPE
- See Also:
- Constant Field Values
STANDARD_CONSTRUCTOR
public static final transient java.lang.reflect.Constructor STANDARD_CONSTRUCTOR
LongStringFeature
public LongStringFeature()
- Creates a new instance of LongStringFeature
LongStringFeature
public LongStringFeature(Distribution distribution)
LongStringFeature
public LongStringFeature(java.lang.Object new_value)
LongStringFeature
public LongStringFeature(java.lang.String new_value)
LongStringFeature
public LongStringFeature(Feature other_feature)
getDefaultVariableType
public int getDefaultVariableType()
- Description copied from interface:
Feature
- Get the variable type (for example, Feature.NOMINAL_VARIABLE, Feature.ORDINAL_VARIABLE,
Feature.INTERVAL_VARIABLE, or Feature.OTHER_VARIABLE).
- Specified by:
getDefaultVariableType in interface Feature- Overrides:
getDefaultVariableType in class StringFeature
getFeatureInputPanel
public static FeatureInputPanel getFeatureInputPanel(int collectionType,
Domain domain,
FeatureKey featureKey,
boolean allowUnknowns)
toSwing
public javax.swing.JComponent toSwing(int detailLevel)
- Description copied from interface:
SwingRepresentable
- Detail level may be ignored by implementations.
If used, the standard is for detailLevel 0 to be least detail, with higher values growing more detailed.
0 is least detail, higher numbers are more
- Specified by:
toSwing in interface SwingRepresentable- Overrides:
toSwing in class AbstractFeature
toSwing
public javax.swing.JComponent toSwing(FeatureValueFormat formatter)
- Specified by:
toSwing in interface Feature- Overrides:
toSwing in class AbstractFeature
toSwing
public javax.swing.JComponent toSwing(java.lang.String theString)
- Overrides:
toSwing in class AbstractFeature