Uses of Class
org.apache.pivot.wtk.Span
- 
Packages that use Span Package Description 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
Fields in org.apache.pivot.wtk with type parameters of type Span Modifier and Type Field Description static java.util.Comparator<Span>Span. END_COMPARATORComparator that determines the index of the last intersecting range.static java.util.Comparator<Span>Span. INTERSECTION_COMPARATORComparator that determines if two ranges intersect.static java.util.Comparator<Span>Span. START_COMPARATORComparator that determines the index of the first intersecting range.Methods in org.apache.pivot.wtk that return Span Modifier and Type Method Description static SpanSpan. decode(java.lang.String value)Convert a string into a span.SpanRangeSelection. get(int index)SpanScrollBar. getRange()SpanSlider. getRange()SpanTextArea. getSelection()Returns a span representing the current selection.SpanTextInput. getSelection()Returns a span representing the current selection.SpanTextPane. getSelection()Returns a span representing the current selection.SpanSpan. intersect(Span span)Calculates the intersection of this span and another span.SpanSpan. lengthen(int offset)Returns a newSpanwith the end value offset by the given value.SpanSpan. move(int offset)Returns a newSpanwith the start value offset by the given value.SpanSpan. normalize()static SpanSpan. normalize(int start, int end)Create a span where the start value is less than or equal to the end value.SpanSpan. offset(int offset)Returns a newSpanwith both values offset by the given value.SpanSpan. 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 Modifier and Type Method Description Sequence<Span>RangeSelection. addRange(int start, int end)Adds a range to the selection, merging and removing intersecting ranges as needed.Sequence<Span>RangeSelection. addRange(Span range)Add a range to the selection, merging and removing intersecting ranges as needed.Sequence<Span>ListView. addSelectedRange(int start, int end)Adds a range of indexes to the selection.Sequence<Span>ListView. addSelectedRange(Span range)Adds a range of indexes to the selection.Sequence<Span>TableView. 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.ImmutableList<Span>ListView. getSelectedRanges()Returns the currently selected ranges.ImmutableList<Span>RangeSelection. getSelectedRanges()ImmutableList<Span>TableView. 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>ListView. removeSelectedRange(int start, int end)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. 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. setSelectedRanges(java.lang.String 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(java.lang.String selectedRanges)Sets the selection to the given range sequence.Sequence<Span>TableView. setSelectedRanges(Sequence<Span> selectedRanges)Sets the selection to the given range sequence.Methods in org.apache.pivot.wtk with parameters of type Span Modifier and Type Method Description Sequence<Span>RangeSelection. addRange(Span range)Add a range to the selection, merging and removing intersecting ranges as needed.Sequence<Span>ListView. addSelectedRange(Span range)Adds a range of indexes to the selection.Sequence<Span>TableView. addSelectedRange(Span range)Adds a range of indexes to the selection.booleanSpan. adjacentTo(Span span)Determines whether this span is adjacent to another span.booleanSpan. after(Span span)Determines whether this span is "after" another span.booleanSpan. before(Span span)Determines whether this span is "before" another span.booleanSpan. contains(Span span)Determines whether this span contains another span.intRangeSelection. indexOf(Span range)Determines the index of a range in the selection.SpanSpan. intersect(Span span)Calculates the intersection of this span and another span.booleanSpan. intersects(Span span)Determines whether this span intersects with another span.booleanSpan. normalEquals(Span span)Decides whether the normalized version of this span is equal to the normalized version of the other span.Sequence<Span>ListView. removeSelectedRange(Span range)Removes a range of indexes from the selection.Sequence<Span>TableView. removeSelectedRange(Span range)Removes a range of indexes from the selection.voidScrollBar. setRange(Span range)voidSlider. setRange(Span range)voidTextArea. setSelection(Span selection)Sets the selection.voidTextInput. setSelection(Span selection)Sets the selection.voidTextPane. setSelection(Span selection)Sets the selection.SpanSpan. 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 Modifier and Type Method Description voidListViewSelectionListener.Adapter. selectedRangesChanged(ListView listView, Sequence<Span> previousSelectedRanges)Deprecated.voidListViewSelectionListener.Listeners. selectedRangesChanged(ListView listView, Sequence<Span> previousSelection)default voidListViewSelectionListener. selectedRangesChanged(ListView listView, Sequence<Span> previousSelectedRanges)Called when a list view's selection state has changed.voidTableViewSelectionListener.Adapter. selectedRangesChanged(TableView tableView, Sequence<Span> previousSelectedRanges)Deprecated.voidTableViewSelectionListener.Listeners. selectedRangesChanged(TableView tableView, Sequence<Span> previousSelection)default voidTableViewSelectionListener. selectedRangesChanged(TableView tableView, Sequence<Span> previousSelectedRanges)Called when a table view's selection state has been reset.Sequence<Span>ListView. setSelectedRanges(Sequence<Span> selectedRanges)Sets the selection to the given range sequence.Sequence<Span>TableView. setSelectedRanges(Sequence<Span> selectedRanges)Sets the selection to the given range sequence.Constructors in org.apache.pivot.wtk with parameters of type Span Constructor Description Span(Span span)Construct a new span from another one (a "copy constructor"). - 
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 Modifier and Type Method Description voidTerraListViewSkin. selectedRangesChanged(ListView listView, Sequence<Span> previousSelectedRanges)voidTerraTableViewSkin. 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 Modifier and Type Method Description SpanNode. getDocumentSpan()Methods in org.apache.pivot.wtk.text with parameters of type Span Modifier and Type Method Description java.lang.CharSequenceComponentNode. getCharacters(Span range)java.lang.CharSequenceTextNode. getCharacters(Span range)java.lang.StringComponentNode. getSubstring(Span range)java.lang.StringTextNode. getSubstring(Span range)java.lang.StringTextNode. getText(Span span) 
 -