|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 모든 클래스 | ||||||||||
개요: 상자 | 필드 | constructor | 메소드 | 상세: 필드 | constructor | 메소드 |
java.lang.Object | +--javax.swing.text.View | +--javax.swing.text.PlainView | +--javax.swing.text.FieldView | +--javax.swing.text.PasswordView
JPasswordField UI 의 구현으로 사용하는데 적합한 View 를 구현합니다. 기본적으로, 관련하는 컴퍼넌트로 지정된 에코 캐릭터로 그 내용을 표현 하는 UI 필드입니다 (컴퍼넌트를 JPasswordField 로 한정할 수 있는 경우).
View
필드의 개요 |
클래스 javax.swing.text. PlainView 에서 상속받은 필드 |
metrics |
클래스 javax.swing.text. View 에서 상속받은 필드 |
BadBreakWeight , ExcellentBreakWeight , ForcedBreakWeight , GoodBreakWeight , X_AXIS , Y_AXIS |
인터페이스 javax.swing. SwingConstants 에서 상속받은 필드 |
BOTTOM , CENTER , EAST , HORIZONTAL , LEADING , LEFT , NEXT , NORTH , NORTH_EAST , NORTH_WEST , PREVIOUS , RIGHT , SOUTH , SOUTH_EAST , SOUTH_WEST , TOP , TRAILING , VERTICAL , WEST |
생성자의 개요 | |
PasswordView (Element elem)
요소에 랩 된 새로운 뷰를 작성합니다. |
메소드의 개요 | |
protected int |
drawEchoCharacter (Graphics g,
int x,
int y,
char c)
에코 캐릭터를 표현 하는지 패스워드 캐릭터 라인을 표시하는데 사용하는 임의의 그래픽을 표현 합니다. |
protected int |
drawSelectedText (Graphics g,
int x,
int y,
int p0,
int p1)
모델내의 지정된 범위를, 선택한 텍스트로서 표현 합니다. |
protected int |
drawUnselectedText (Graphics g,
int x,
int y,
int p0,
int p1)
모델내의 지정된 범위를, 선택 해제한 통상의 텍스트로서 표현 합니다. |
float |
getPreferredSpan (int axis)
이 뷰에 적절한 스팬을 축으로 따라 지정합니다. |
Shape |
modelToView (int pos,
Shape a,
Position.Bias b)
문서 모델의 좌표 공간으로부터 뷰의 좌표 공간에의 매핑을 제공합니다. |
int |
viewToModel (float fx,
float fy,
Shape a,
Position.Bias [] bias)
뷰의 좌표 공간으로부터 모델의 논리 좌표 공간에의 매핑을 제공합니다. |
클래스 javax.swing.text. FieldView 에서 상속받은 메소드 |
adjustAllocation , getFontMetrics , getResizeWeight , insertUpdate , paint , removeUpdate |
클래스 javax.swing.text. PlainView 에서 상속받은 메소드 |
changedUpdate , damageLineRange , drawLine , getLineBuffer , getTabSize , lineToRect , nextTabStop , setSize , updateDamage , updateMetrics |
클래스 javax.swing.text. View 에서 상속받은 메소드 |
append , breakView , createFragment , forwardUpdate , forwardUpdateToView , getAlignment , getAttributes , getBreakWeight , getChildAllocation , getContainer , getDocument , getElement , getEndOffset , getGraphics , getMaximumSpan , getMinimumSpan , getNextVisualPositionFrom , getParent , getStartOffset , getToolTipText , getView , getViewCount , getViewFactory , getViewIndex , getViewIndex , insert , isVisible , modelToView , modelToView , preferenceChanged , remove , removeAll , replace , setParent , updateChildren , updateLayout , viewToModel |
클래스 java.lang. Object 에서 상속받은 메소드 |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
생성자의 상세 |
public PasswordView(Element elem)
elem
- 요소메소드의 상세 |
protected int drawUnselectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException
PlainView
내의 drawUnselectedText
g
- 그래픽스 문맥x
- 개시 X 좌표 >= 0y
- 개시 Y 좌표 >= 0p0
- 모델내의 개시 오프셋(offset) >= 0p1
- 모델내의 종료 오프셋(offset) >= p0
BadLocationException
- p0 또는 p1 가 범위외의 경우protected int drawSelectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException
PlainView
내의 drawSelectedText
g
- 그래픽스 문맥x
- 개시 X 좌표 >= 0y
- 개시 Y 좌표 >= 0p0
- 모델내의 개시 오프셋(offset) >= 0p1
- 모델내의 종료 오프셋(offset) >= p0
BadLocationException
- p0 또는 p1 가 범위외의 경우protected int drawEchoCharacter(Graphics g, int x, int y, char c)
g
- 그래픽스 문맥x
- 개시 X 좌표 >= 0y
- 개시 Y 좌표 >= 0c
- 에코 캐릭터
public Shape modelToView(int pos, Shape a, Position.Bias b) throws BadLocationException
FieldView
내의 modelToView
pos
- 변환 대상의 위치 >= 0a
- 표현를 위해서(때문에) 할당할 수 있었던 area
BadLocationException
- 지정된 위치가, 관련하는 문서내의 유효한 위치를 나타내지 않는 경우View.modelToView(int, java.awt.Shape, javax.swing.text.Position.Bias)
public int viewToModel(float fx, float fy, Shape a, Position.Bias [] bias)
FieldView
내의 viewToModel
fx
- X 좌표 >= 0.0ffy
- Y 좌표 >= 0.0fa
- 표현를 위해서(때문에) 할당할 수 있었던 area
View.viewToModel(float, float, java.awt.Shape, javax.swing.text.Position.Bias[])
public float getPreferredSpan(int axis)
FieldView
내의 getPreferredSpan
axis
- View.X_AXIS 또는 View.Y_AXIS
|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 모든 클래스 | ||||||||||
개요: 상자 | 필드 | constructor | 메소드 | 상세: 필드 | constructor | 메소드 |
Java, Java 2 D, 및 JDBC 는 미국 및 그 외의 나라에 있어서의 미국 Sun Microsystems, Inc. 의 상표 혹은 등록상표입니다.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.