GlyphView
, InlineView
, LabelView
public interface TabableView
View
s that have size dependent upon tabs.TabExpander
,
LabelView
,
ParagraphView
Modifier and Type | Method | Description |
---|---|---|
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.
|
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 Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps