public interface TabableView
View
,具有取决于选项卡的大小。
TabExpander
, LabelView
, ParagraphView
Modifier and Type | Method and Description |
---|---|
float |
getPartialSpan(int p0, int p1)
确定视图的一部分沿与标签扩展相同的轴的跨度。
|
float |
getTabbedSpan(float x, TabExpander e)
确定使用给定的选项卡扩展实现时所需的跨度。
|
float getTabbedSpan(float x, TabExpander e)
x
- 视图将位于的位置,用于选项卡扩展> = 0的目的。
e
- 遇到时如何展开标签。
float getPartialSpan(int p0, int p1)
p0
- 文本文档中的起始位置> = 0
p1
- 文本文档中的结束位置> = 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, 2014, Oracle and/or its affiliates. All rights reserved.