Package widgets

Class StringDropDown

java.lang.Object
com.unify.nxj.mgr.datatypes.NXJVariable
com.unify.nxj.mgr.datatypes.NXJString
com.unify.nxj.mgr.datatypes.NXJStringField
widgets.StringDropDown
All Implemented Interfaces:
com.unify.nxj.mgr.dataConnection.NXJTargetVariable, com.unify.nxj.mgr.datatypes.MultiValuedDataController, com.unify.nxj.mgr.datatypes.Nullable, com.unify.nxj.mgr.datatypes.NullableByReference, com.unify.nxj.mgr.datatypes.NullableField, com.unify.nxj.mgr.datatypes.NullableString, com.unify.nxj.mgr.datatypes.NullableStringField, com.unify.nxj.mgr.datatypes.NullableStringVariable, com.unify.nxj.mgr.datatypes.NullableVariable, com.unify.nxj.mgr.datatypes.NXJCommandParameter, com.unify.nxj.mgr.datatypes.NXJControl, com.unify.nxj.mgr.datatypes.NXJFontAwareControl, com.unify.nxj.mgr.FieldEventListener, Cloneable
Direct Known Subclasses:
StringDropDown

public class StringDropDown extends com.unify.nxj.mgr.datatypes.NXJStringField
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final List
     

    Fields inherited from class com.unify.nxj.mgr.datatypes.NXJStringField

    us$executesCodeAfterInput, us$executesCodeBeforeInput, us$executesDataAcceptValueChanges, us$executesSearchRangeAccept

    Fields inherited from class com.unify.nxj.mgr.datatypes.NXJString

    value

    Fields inherited from class com.unify.nxj.mgr.datatypes.NXJVariable

    containingDataView, dbNull, EH_EQUAL, EH_NOT_EQUAL, EH_UNKNOWN, targetColumnName, traceCodeSectionDebugEnabled

    Fields inherited from interface com.unify.nxj.mgr.datatypes.NullableField

    CaseConversion_LOWER, CaseConversion_NONE, CaseConversion_UPPER, DisplayJustify_CENTER, DisplayJustify_LEFT, DisplayJustify_RIGHT, ZoomReturnValues_IGNORED, ZoomReturnValues_KEY, ZoomReturnValues_STORED

    Fields inherited from interface com.unify.nxj.mgr.datatypes.NullableVariable

    ExplicitSearchMode_DEFAULT, ExplicitSearchMode_EXACT, ExplicitSearchMode_FUZZY
  • Constructor Summary

    Constructors
    Constructor
    Description
    StringDropDown(com.unify.nxj.mgr.NXJContainer container, String controlName, boolean isMultiValued, boolean isPublic, int length)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(String code, String description)
     
    void
    add(String code, String prefix, systextil.msg.Translatable tag)
     
    void
    add(String code, systextil.msg.Translatable tag)
     
    void
     
    void
     

    Methods inherited from class com.unify.nxj.mgr.datatypes.NXJStringField

    afterField, beforeField, getAutoAccept, getAutoCompleteOptions, getAutoEdit, getBackgroundColor, getBackgroundColor, getBlink, getCaseConversion, getColumn, getComputedValue, getDefaultValue, getDisplayFormat, getDisplayFormatter, getDisplayJustify, getDisplayValue, getDoubleClickCommandParameter, getEchoed, getFieldLength, getFieldName, getFindable, getFontFamily, getFontFamily, getFontSize, getFontSize, getForegroundColor, getForegroundColor, getFormat, getFyiMessage, getHelpArchive, getHelpFormColumn, getHelpFormName, getHelpFormRow, getInputTranslation, getLowIntensity, getNextField, getQualifiedFieldName, getReadersField, getRequired, getReverse, getRow, getSession, getStopForInput, getStyleClass, getStyleClass, getUpdateable, getWindowHeight, getWindowWidth, getZoomActiveMode, getZoomEnabled, getZoomFormConsistencyMode, getZoomFormName, getZoomReturnValues, getZoomReturnValuesInto, isAutoZoom, isBold, isBold, isEnabled, isInputValid, isItalic, isItalic, isPassword, isSkipped, isStrikethrough, isStrikethrough, isUnderline, isUnderline, isVisible, isVisible, isZoomActive, onDataAccept, onSearchRangeAccept, refetchOptions, rejectOperation, setAutoAccept, setAutoCompleteOptions, setAutoCompleteOptionsFromString, setAutoEdit, setAutoZoom, setBackgroundColor, setBackgroundColor, setBackgroundColorForAllRecords, setBlink, setBold, setBold, setBoldForAllRecords, setCaseConversion, setColumn, setDisplayFormat, setDisplayJustify, setDoubleClickCommandParameter, setEchoed, setFindable, setFontFamily, setFontFamily, setFontFamilyForAllRecords, setFontSize, setFontSize, setFontSizeForAllRecords, setForegroundColor, setForegroundColor, setForegroundColorForAllRecords, setFormat, setFyiMessage, setHelpArchive, setHelpFormColumn, setHelpFormName, setHelpFormRow, setItalic, setItalic, setItalicForAllRecords, setLowIntensity, setNextField, setNextField, setOptions, setOptions, setPassword, setRequired, setReverse, setRow, setSkipped, setSkipped, setStopForInput, setStrikethrough, setStrikethrough, setStrikethroughForAllRecords, setStyleClass, setStyleClass, setStyleClassForAllRecords, setUnderline, setUnderline, setUnderlineForAllRecords, setUpdateable, setValue, setVisible, setVisible, setVisibleForAllRecords, setWindowHeight, setWindowWidth, setZoomActiveMode, setZoomEnabled, setZoomFormConsistencyMode, setZoomFormName, setZoomReturnValues, setZoomReturnValuesInto, us$assignZoomValue, us$autoCompleteListChanged, us$clearAutoCompleteListChanged, us$clearValueChanged, us$clearValueModified, us$clearVisualChanged, us$createMultiValuedDataInstance, us$defaultVisualModified, us$evaluateListboxQuery, us$findForm, us$getCommandParameter, us$getInitialNextField, us$getTraversalOrderPreviousField, us$getValidValues, us$getValidValuesChanged, us$getView, us$getZoomForm, us$hasAfterEventSections, us$hasBeforeEventSections, us$hasDataAcceptValueChangesSections, us$hasMultiValuedOptions, us$hasOptions, us$hasSearchRangeAcceptSection, us$isAutoComplete, us$isCategory, us$isValueChanged, us$isValueModified, us$isVisualChanged, us$loadFromMultiValuedData, us$notifyValueChanged, us$restoreStopForInputState, us$restoreUpdateableState, us$saveStopForInputState, us$saveToMultiValuedData, us$saveUpdateableState, us$setAutoComplete, us$setCommandParameter, us$setFieldLength, us$setFontStyle, us$setFontWeight, us$setInputRejected, us$setIsCategory, us$setMultiValuedOptions, us$setReadersField, us$setTextDecoration, us$setTraversalOrderPreviousField, us$setValidValuesChanged, us$setValidValuesFromList, us$setView, us$setVisualChanged, us$setVisualFieldType, us$wasInputRejected, whenValueChanges

    Methods inherited from class com.unify.nxj.mgr.datatypes.NXJString

    assign, clearValue, equals, formatUsing, getDataType, getString, getStringValue, getType, getValue, getValueAsObject, isModified, length, main, parseUsing, setNull, substring, substring, toString, trim, us$formatNonCurrentDisplayValue, us$getDataValue, us$rereadAndVerifyCheck, us$setDataSourceValue, us$setOriginalValue, us$setSqlParameterValue, us$storeValue, validateDataFormat

    Methods inherited from class com.unify.nxj.mgr.datatypes.NXJVariable

    assignClearAddValue, assignClearFindExpression, callWhenFieldChanges, clearSearchRanges, createValueParameter, equalsHelper, formatNullDisplayValue, getBooleanValue, getByteArray, getClearAddExp, getClearFindExp, getColumnCondition, getConnection, getContainingDataView, getDateDay, getDateMonth, getDatetimeDate, getDatetimeMilliseconds, getDatetimeSeconds, getDatetimeTime, getDateYear, getDbLength, getDbType, getDoubleValue, getExplicitSearchMode, getLongValue, getName, getNullDisplayValue, getNullFlag, getNXJType, getOriginalValue, getParentContainer, getQualifiedName, getSearchRangeArray, getSearchRanges, getSqlColumnCondition, getSqlColumnCondition, getSQLType, getSQLTypeName, getTargetColumnName, getTargetField, getTimeHours, getTimeMinutes, isDefined, isError, isMultiValued, isNull, isPartOfPrimaryKey, isUndefined, isValueRetrievedDuringFetch, matchesTargetColumnName, resetName, setClearAddExp, setClearFindExp, setError, setExplicitSearchMode, setOriginalValue, setSearchRanges, setSqlColumnCondition, setUndefined, setValueRetrievedDuringFetch, shiftCurrentValue, us$beginValueChange, us$endValueChange, us$getCandidateTargetColumnName, us$getMultiValuedVarDataInCurrentRecord, us$getMultivaluePosition, us$isFetch, us$isTarget, us$isValueCurrentlyChanging, us$linkToTargetColumn, us$setCandidateTargetColumnName, us$setFetchValue, us$setInitialSearchRanges, us$setMasterRelationshipAddExpr, us$setMultiValued, us$setMultivaluePosition, us$setSearchRanges, whenFieldChanges

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.unify.nxj.mgr.datatypes.Nullable

    assign, getDataType, getType, isError, isNull, isUndefined, setError, setNull, toString, us$getDataValue, us$setDataSourceValue, us$setSqlParameterValue

    Methods inherited from interface com.unify.nxj.mgr.datatypes.NullableField

    getContainingDataView, us$getMultivaluePosition

    Methods inherited from interface com.unify.nxj.mgr.datatypes.NullableString

    getString, length, substring, substring, trim

    Methods inherited from interface com.unify.nxj.mgr.datatypes.NullableStringVariable

    getStringValue

    Methods inherited from interface com.unify.nxj.mgr.datatypes.NullableVariable

    getClearAddExp, getClearFindExp, getDbLength, getDbType, getExplicitSearchMode, getName, getOriginalValue, getQualifiedName, getSearchRangeArray, getSearchRanges, getSqlColumnCondition, getTargetField, isMultiValued, isValueRetrievedDuringFetch, matchesTargetColumnName, setClearAddExp, setClearFindExp, setExplicitSearchMode, setOriginalValue, setSearchRanges, setSqlColumnCondition, setValueRetrievedDuringFetch, shiftCurrentValue, us$beginValueChange, us$endValueChange, us$isTarget, us$setCandidateTargetColumnName, us$setInitialSearchRanges, us$setMasterRelationshipAddExpr, us$setMultiValued, us$setSearchRanges

    Methods inherited from interface com.unify.nxj.mgr.datatypes.NXJControl

    getName, getQualifiedName, isMultiValued, us$setMultiValued
  • Field Details

    • list

      public final List list
  • Constructor Details

    • StringDropDown

      public StringDropDown(com.unify.nxj.mgr.NXJContainer container, String controlName, boolean isMultiValued, boolean isPublic, int length)
  • Method Details

    • initField

      public void initField() throws Exception
      Specified by:
      initField in interface com.unify.nxj.mgr.FieldEventListener
      Overrides:
      initField in class com.unify.nxj.mgr.datatypes.NXJStringField
      Throws:
      Exception
    • add

      public void add(String code, String description)
    • add

      public void add(String code, systextil.msg.Translatable tag)
    • add

      public void add(String code, String prefix, systextil.msg.Translatable tag)
    • refresh

      public void refresh()