|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Object javax.swing.RowSorter.SortKey
public static class RowSorter.SortKey
SortKey 는, 특정의 열의 소트 순서를 기술합니다. 열인덱스는 부하의 모델의 것이며, 뷰의 것과는 다릅니다.
생성자 의 개요 | |
---|---|
RowSorter.SortKey (int column,
SortOrder sortOrder)
소트 순서를 지정해, 지정의 열의 SortKey 를 작성합니다. |
메소드의 개요 | |
---|---|
boolean |
equals (Object o)
이 객체가 지정된 객체와 동일한 경우는 true 를 돌려줍니다. |
int |
getColumn ()
열의 인덱스를 돌려줍니다. |
SortOrder |
getSortOrder ()
열의 소트 순서를 돌려줍니다. |
int |
hashCode ()
이 SortKey 의 해시 코드를 돌려줍니다. |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , finalize , getClass , notify , notifyAll , toString , wait , wait , wait |
생성자 의 상세 |
---|
public RowSorter.SortKey(int column, SortOrder sortOrder)
SortKey
를 작성합니다.
column
- 모델에 관한 열의 인덱스sortOrder
- 소트 순서
IllegalArgumentException
- sortOrder
가
null
의 경우메소드의 상세 |
---|
public final int getColumn()
public final SortOrder getSortOrder()
public int hashCode()
SortKey
의 해시 코드를 돌려줍니다.
Object
내의 hashCode
Object.equals(java.lang.Object)
,
Hashtable
public boolean equals(Object o)
SortKey
로, 같은 열과 같은 소트 순서를 참조하는 경우, 2 개의 객체는 동일해집니다.
Object
내의 equals
o
- 비교 대상의 객체
o
가 이 SortKey
와 동일한 경우는 trueObject.hashCode()
,
Hashtable
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.