Package widgets

Class Cnpj2

java.lang.Object
com.unify.nxj.mgr.datatypes.NXJVariable
com.unify.nxj.mgr.datatypes.NXJNumeric
com.unify.nxj.mgr.datatypes.NXJNumericField
valid.NumericText
widgets.Cnpj2
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.NullableNumeric, com.unify.nxj.mgr.datatypes.NullableNumericField, com.unify.nxj.mgr.datatypes.NullableNumericVariable, 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

public class Cnpj2 extends NumericText
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
     
    protected String
     
    protected static final String
     
    protected String
     
    protected systextil.valid.ValidadorComDescricao
     

    Fields inherited from class valid.NumericText

    events

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

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

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

    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
    Cnpj2(com.unify.nxj.mgr.NXJContainer container, String controlName, boolean isMultiValued, boolean isPublic, int length)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    systextil.dao.Cnpj
     
    protected systextil.nxj.FieldListener
     
    protected systextil.valid.ValidadorComDescricao
     
    void
     

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

    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, 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, 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, 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

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

    assign, clearValue, equals, getDataType, getLong, getLongValue, getType, getValue, getValueAsInt, getValueAsObject, isModified, makeNXJIllegalOperandExceptionException, parseStringNumericValue, parseValueFromString, setNull, toString, us$formatNonCurrentDisplayValue, us$getDataValue, us$rereadAndVerifyCheck, us$setDataSourceValue, us$setOriginalValue, us$setSqlParameterValue

    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, getName, getNullDisplayValue, getNullFlag, getNXJType, getOriginalValue, getParentContainer, getQualifiedName, getSearchRangeArray, getSearchRanges, getSqlColumnCondition, getSqlColumnCondition, getSQLType, getSQLTypeName, getStringValue, 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.NullableNumeric

    getLong

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

    getLongValue

    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

    • TAG_INVALID

      protected static final String TAG_INVALID
      See Also:
    • descriptionFieldName

      protected String descriptionFieldName
    • defaultDescription

      protected String defaultDescription
    • tagNotFound

      protected String tagNotFound
    • validador

      protected systextil.valid.ValidadorComDescricao validador
  • Constructor Details

    • Cnpj2

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

    • getValidador

      protected systextil.valid.ValidadorComDescricao getValidador()
    • getFieldListener

      protected systextil.nxj.FieldListener getFieldListener()
      Overrides:
      getFieldListener in class NumericText
    • onDataAccept

      public void onDataAccept() throws Exception
      Specified by:
      onDataAccept in interface com.unify.nxj.mgr.FieldEventListener
      Overrides:
      onDataAccept in class NumericText
      Throws:
      Exception
    • getCnpj

      public systextil.dao.Cnpj getCnpj()