|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Span | |
---|---|
org.apache.pivot.wtk | Contains classes that define the structure and behavior of WTK user interface components. |
org.apache.pivot.wtk.skin.terra | Defines skin classes for the "Terra" theme. |
org.apache.pivot.wtk.text | Contains classes representing a text object model. |
Uses of Span in org.apache.pivot.wtk |
---|
Methods in org.apache.pivot.wtk that return Span | |
---|---|
static Span |
Span.decode(String value)
|
Span |
RangeSelection.get(int index)
Returns the range at a given index. |
Span |
ScrollBar.getRange()
|
Span |
TextInput.getSelection()
Returns a span representing the current selection. |
Span |
TextPane.getSelection()
Returns a span representing the current selection. |
Span |
TextArea.getSelection()
Returns a span representing the current selection. |
Span |
Span.intersect(Span span)
Calculates the intersection of this span and another span. |
Span |
Span.normalize()
Returns a normalized equivalent of the span in which start is guaranteed to be less than end. |
static Span |
RangeSelection.normalize(int start,
int end)
Ensures that the start value is less than or equal to the end value. |
Span |
Span.offset(int offset)
Returns a new Span with both values offset by the given value. |
Span |
Span.union(Span span)
Calculates the union of this span and another span. |
Methods in org.apache.pivot.wtk that return types with arguments of type Span | |
---|---|
Sequence<Span> |
RangeSelection.addRange(int start,
int end)
Adds a range to the selection, merging and removing intersecting ranges as needed. |
Sequence<Span> |
TableView.addSelectedRange(int start,
int end)
Adds a range of indexes to the selection. |
Sequence<Span> |
ListView.addSelectedRange(int start,
int end)
Adds a range of indexes to the selection. |
Sequence<Span> |
TableView.addSelectedRange(Span range)
Adds a range of indexes to the selection. |
Sequence<Span> |
ListView.addSelectedRange(Span range)
Adds a range of indexes to the selection. |
ImmutableList<Span> |
RangeSelection.getSelectedRanges()
Returns an immutable wrapper around the selected ranges. |
ImmutableList<Span> |
TableView.getSelectedRanges()
Returns the currently selected ranges. |
ImmutableList<Span> |
ListView.getSelectedRanges()
Returns the currently selected ranges. |
Sequence<Span> |
RangeSelection.removeRange(int start,
int end)
Removes a range from the selection, truncating and removing intersecting ranges as needed. |
Sequence<Span> |
TableView.removeSelectedRange(int start,
int end)
Removes a range of indexes from the selection. |
Sequence<Span> |
ListView.removeSelectedRange(int start,
int end)
Removes a range of indexes from the selection. |
Sequence<Span> |
TableView.removeSelectedRange(Span range)
Removes a range of indexes from the selection. |
Sequence<Span> |
ListView.removeSelectedRange(Span range)
Removes a range of indexes from the selection. |
Sequence<Span> |
TableView.setSelectedRanges(Sequence<Span> selectedRanges)
Sets the selection to the given range sequence. |
Sequence<Span> |
ListView.setSelectedRanges(Sequence<Span> selectedRanges)
Sets the selection to the given range sequence. |
Sequence<Span> |
TableView.setSelectedRanges(String selectedRanges)
Sets the selection to the given range sequence. |
Sequence<Span> |
ListView.setSelectedRanges(String selectedRanges)
Sets the selection to the given range sequence. |
Methods in org.apache.pivot.wtk with parameters of type Span | |
---|---|
Sequence<Span> |
TableView.addSelectedRange(Span range)
Adds a range of indexes to the selection. |
Sequence<Span> |
ListView.addSelectedRange(Span range)
Adds a range of indexes to the selection. |
boolean |
Span.contains(Span span)
Determines whether this span contains another span. |
int |
RangeSelection.indexOf(Span range)
Determines the index of a range in the selection. |
Span |
Span.intersect(Span span)
Calculates the intersection of this span and another span. |
boolean |
Span.intersects(Span span)
Determines whether this span intersects with another span. |
Sequence<Span> |
TableView.removeSelectedRange(Span range)
Removes a range of indexes from the selection. |
Sequence<Span> |
ListView.removeSelectedRange(Span range)
Removes a range of indexes from the selection. |
void |
Slider.setRange(Span range)
|
void |
ScrollBar.setRange(Span range)
|
void |
TextInput.setSelection(Span selection)
Sets the selection. |
void |
TextPane.setSelection(Span selection)
Sets the selection. |
void |
TextArea.setSelection(Span selection)
Sets the selection. |
Span |
Span.union(Span span)
Calculates the union of this span and another span. |
Method parameters in org.apache.pivot.wtk with type arguments of type Span | |
---|---|
void |
ListViewSelectionListener.selectedRangesChanged(ListView listView,
Sequence<Span> previousSelectedRanges)
Called when a list view's selection state has changed. |
void |
ListViewSelectionListener.Adapter.selectedRangesChanged(ListView listView,
Sequence<Span> previousSelectedRanges)
|
void |
TableViewSelectionListener.selectedRangesChanged(TableView tableView,
Sequence<Span> previousSelectedRanges)
Called when a table view's selection state has been reset. |
void |
TableViewSelectionListener.Adapter.selectedRangesChanged(TableView tableView,
Sequence<Span> previousSelectedRanges)
|
Sequence<Span> |
TableView.setSelectedRanges(Sequence<Span> selectedRanges)
Sets the selection to the given range sequence. |
Sequence<Span> |
ListView.setSelectedRanges(Sequence<Span> selectedRanges)
Sets the selection to the given range sequence. |
Constructors in org.apache.pivot.wtk with parameters of type Span | |
---|---|
Span(Span span)
|
Uses of Span in org.apache.pivot.wtk.skin.terra |
---|
Method parameters in org.apache.pivot.wtk.skin.terra with type arguments of type Span | |
---|---|
void |
TerraListViewSkin.selectedRangesChanged(ListView listView,
Sequence<Span> previousSelectedRanges)
|
void |
TerraTableViewSkin.selectedRangesChanged(TableView tableView,
Sequence<Span> previousSelectedRanges)
|
Uses of Span in org.apache.pivot.wtk.text |
---|
Methods in org.apache.pivot.wtk.text that return Span | |
---|---|
Span |
Node.getDocumentSpan()
|
Methods in org.apache.pivot.wtk.text with parameters of type Span | |
---|---|
CharSequence |
TextNode.getCharacters(Span range)
|
CharSequence |
ComponentNode.getCharacters(Span range)
|
String |
TextNode.getSubstring(Span range)
|
String |
ComponentNode.getSubstring(Span range)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |