|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for View's that have size dependant upon tabs.
TabExpander
,
LabelView
,
ParagraphView
Method Summary | |
float |
getPartialSpan(int p0,
int p1)
Determines the span along the same axis as tab expansion for a portion of the view. |
float |
getTabbedSpan(float x,
TabExpander e)
Determines the desired span when using the given tab expansion implementation. |
Method Detail |
public float getTabbedSpan(float x, TabExpander e)
x
- the position the view would be located
at for the purpose of tab expansion >= 0.e
- how to expand the tabs when encountered.public float getPartialSpan(int p0, int p1)
p0
- the starting location in the text document >= 0p1
- the ending location in the text document >= p0
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.