Class FieldSelectionHelper
- java.lang.Object
-
- docking.widgets.fieldpanel.support.FieldSelectionHelper
-
public class FieldSelectionHelper extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FieldSelectionHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getAllSelectedText(FieldSelection selection, FieldPanel panel)
Returns the text within the given selection.static java.lang.String
getFieldSelectionText(FieldSelection selection, FieldPanel panel)
Gets the selected text that pertains to an individual field.static boolean
isStringSelection(FieldSelection selection)
-
-
-
Method Detail
-
isStringSelection
public static boolean isStringSelection(FieldSelection selection)
-
getFieldSelectionText
public static java.lang.String getFieldSelectionText(FieldSelection selection, FieldPanel panel)
Gets the selected text that pertains to an individual field. Null is returned if the given selection spans more than one field.
-
getAllSelectedText
public static java.lang.String getAllSelectedText(FieldSelection selection, FieldPanel panel)
Returns the text within the given selection.
-
-