Please note that this translation of the specification is the result of a java.net community project ( https://jdk5-api-pt-br.dev.java.net/ ). The official version of the specification is the US English language version which can be found at http://java.sun.com/j2se/1.5.0/docs/api/. In case of disputes, the authoritative version of the specification is the original, English document.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TabableView
Interface for Views that have size dependent 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 |
|---|
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.
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 Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Copyright 2006 Sun Microsystems, Inc. Todos os direitos reservados. O uso está sujeito aos termos da licensa.