HTML에서 type이 password인 input과 같은 역할을 하는 컴포넌트입니다. 일반적인 텍스트 입력을 받을 수 있습니다.
Type
- uiplugin
Property Summary
- class
- secret의 class 속성
- disabled
- disabled 유무
- displaymessage
- 검증 결과 메세지 표시여부
- id
- secret의 컴포넌트 id
- invalidMessage
- 검증실패 메세지
- invalidMessageFunc
- 검증실패 메세지 함수
- mandatory
- 필수항목여부
- maxByteLength
- 최대Byte길이
- maxlength
- 최대길이
- minByteLength
- 최소Byte길이
- minlength
- 최소길이
- onFocusClass
- focus시 적용할 class
- readOnly
- readOnly 유무
- readOnlyClass
- readOnly 상태일때 적용할 class
- ref
- model instance의 바인딩 정보
- tabIndex
- secret의 tabIndex
- title
- 접근성 지원용 속성
- toolTip
- secret의 toolTip 속성
- validator
- 유효성 체크 함수
Event Summary
- onblur
- 포커스를 잃었을 때 발생
- onchange
- 입력되거나 선택된 값을 바꿀 때 발생
- onclick
- 마우스로 inputbox를 클릭했을 때 발생
- ondblclick
- 마우스로 inputbox를 더블 클릭했을 때 발생
- onfocus
- 포커스를 얻었을 때 발생
- onkeydown
- 키보드에서 키를 눌렀을 때 발생
- onkeypress
- 키보드에서 키를 눌렀을 때(누르고 있는 동안에도) 발생
- onkeyup
- 키보드에서 키를 눌렀다 놓았을 때 발생
- onmousedown
- 마우스를 클릭 했을 때(마우스를 누르는 순간) 발생
- onmousemove
- 마우스 포인터가 이동될 때 발생
- onmouseout
- 마우스가 지정된 영역이나 링크 위에서 벗어났을 때 발생
- onmouseover
- 마우스가 지정된 영역이나 링크 위에 놓일 때 발생
- onmouseup
- 마우스 버튼을 눌렀다 놓을 때 발생
Method Summary
- getDataType( )
- secret의 dataType을 반환합니다
- getValue( )
- 현재 컴포넌트가 가진 값을 반환합니다
- setValue( value )
- value로 secret의 값을 설정합니다
- validate( )
- secret의 유효성 검사를 합니다
Property Detail
- class
-
secret의 class 속성
- disabled
-
disabled 유무
- displaymessage
-
검증 결과 메세지 표시여부
- id
-
secret의 컴포넌트 id
- invalidMessage
-
검증실패 메세지
- invalidMessageFunc
-
검증실패 메세지 함수
- mandatory
-
필수항목여부
- maxByteLength
-
최대Byte길이
- maxlength
-
최대길이
- minByteLength
-
최소Byte길이
- minlength
-
최소길이
- onFocusClass
-
focus시 적용할 class
- readOnly
-
readOnly 유무
- readOnlyClass
-
readOnly 상태일때 적용할 class
- ref
-
model instance의 바인딩 정보
- tabIndex
-
secret의 tabIndex
- title
-
접근성 지원용 속성
- toolTip
-
secret의 toolTip 속성
- validator
-
유효성 체크 함수
Event Detail
- onblur
-
포커스를 잃었을 때 발생
- onchange
-
입력되거나 선택된 값을 바꿀 때 발생
- onclick
-
마우스로 inputbox를 클릭했을 때 발생
- ondblclick
-
마우스로 inputbox를 더블 클릭했을 때 발생
- onfocus
-
포커스를 얻었을 때 발생
- onkeydown
-
키보드에서 키를 눌렀을 때 발생
- onkeypress
-
키보드에서 키를 눌렀을 때(누르고 있는 동안에도) 발생
- onkeyup
-
키보드에서 키를 눌렀다 놓았을 때 발생
- onmousedown
-
마우스를 클릭 했을 때(마우스를 누르는 순간) 발생
- onmousemove
-
마우스 포인터가 이동될 때 발생
- onmouseout
-
마우스가 지정된 영역이나 링크 위에서 벗어났을 때 발생
- onmouseover
-
마우스가 지정된 영역이나 링크 위에 놓일 때 발생
- onmouseup
-
마우스 버튼을 눌렀다 놓을 때 발생
Method Detail
- getDataType( )
-
secret의 dataType을 반환합니다.
Return type description String secret의 dataType Samplevar returnValue = secret1.getDataType(); returnValue는 dataType(text,number,date,time)의 값을 가진다. secret의 dataType속성을 미지정할 경우, 기본값은 text가 된다. - getValue( )
-
현재 컴포넌트가 가진 값을 반환합니다.
Return type description String secret의 값 Sample예: dataType이 date이고 ioFormat을 yyyyMM, dateMask를 yyyy-MM을 적용한 경우, 2012-01 var returnValue = secret1.getValue(); returnValue는 displayFormat과 Mask가 적용되지 않는 문자열을 반환한다. returnValue는 201201이다. - setValue( value )
-
value로 secret의 값을 설정합니다.
Parameter name type required description value String Y secret에 설정할 값 Samplesecret1.setValue("201201"); secret에 displayFormat이나 Mask를 사용하는 경우, setValue 함수 사용시에도 적용된다. 예: 2012-01 - validate( )
-
secret의 유효성 검사를 합니다.
Return type description Boolean 유효성 검사 결과 값 Sample예: mandatory가 true로 설정된 경우, 미입력 상태에서 유효성 검사 var returnValue = secret1.validate(); returnValue는 false이다. 유효성 검사 조건(mandatory, min, maxLength 등)을 만족할 경우, true를 반환한다.