TabStopSpan
public
interface
TabStopSpan
implements
ParagraphStyle
android.text.style.TabStopSpan
|
Known indirect subclasses
TabStopSpan.Standard |
The default implementation of TabStopSpan that allows setting the offset of the tab stop
from the leading margin of the first line of text.
|
|
Paragraph affecting span that changes the position of the tab with respect to
the leading margin of the line. TabStopSpan
will only affect the first tab
encountered on the first line of the text.
Summary
Nested classes |
class |
TabStopSpan.Standard
The default implementation of TabStopSpan that allows setting the offset of the tab stop
from the leading margin of the first line of text.
|
Public methods |
abstract
int
|
getTabStop()
Returns the offset of the tab stop from the leading margin of the line, in pixels.
|
Public methods
getTabStop
public abstract int getTabStop ()
Returns the offset of the tab stop from the leading margin of the line, in pixels.
Returns |
int |
the offset, in pixels |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# TabStopSpan\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nSummary: [Nested Classes](#nestedclasses) \\| [Methods](#pubmethods) \n\nTabStopSpan\n===========\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/text/style/TabStopSpan \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\n\n\ninterface\nTabStopSpan\n`\n\n\n`\n\n\nimplements\n\n`[ParagraphStyle](/reference/android/text/style/ParagraphStyle)`\n\n\n`\n\n|--------------------------------|\n| android.text.style.TabStopSpan |\n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [TabStopSpan.Standard](/reference/android/text/style/TabStopSpan.Standard) |----------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------| | [TabStopSpan.Standard](/reference/android/text/style/TabStopSpan.Standard) | The default implementation of TabStopSpan that allows setting the offset of the tab stop from the leading margin of the first line of text. | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nParagraph affecting span that changes the position of the tab with respect to\nthe leading margin of the line. `TabStopSpan` will only affect the first tab\nencountered on the first line of the text.\n\nSummary\n-------\n\n| ### Nested classes ||\n|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` class` | [TabStopSpan.Standard](/reference/android/text/style/TabStopSpan.Standard) The default implementation of TabStopSpan that allows setting the offset of the tab stop from the leading margin of the first line of text. |\n\n| ### Public methods ||\n|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract int` | ` `[getTabStop](/reference/android/text/style/TabStopSpan#getTabStop())`() ` Returns the offset of the tab stop from the leading margin of the line, in pixels. |\n\nPublic methods\n--------------\n\n### getTabStop\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract int getTabStop ()\n```\n\nReturns the offset of the tab stop from the leading margin of the line, in pixels.\n\n\u003cbr /\u003e\n\n| Returns ||\n|-------|------------------------------|\n| `int` | the offset, in pixels \u003cbr /\u003e |"]]