/** * Returns a boolean indicating whether the selection's start and end points are at the same position. * @return a boolean indicating whether the selection's start and end points are at the same position */ public boolean jsxGet_isCollapsed() { return getPageSelection().getCollapsed(); }
/** * Returns a boolean indicating whether the selection's start and end points are at the same position. * @return a boolean indicating whether the selection's start and end points are at the same position */ public boolean jsxGet_isCollapsed() { return getPageSelection().getCollapsed(); }
/** * Returns a boolean indicating whether the selection's start and end points are at the same position. * @return a boolean indicating whether the selection's start and end points are at the same position */ public boolean jsxGet_isCollapsed() { return getPageSelection().getCollapsed(); }
/** * Returns a boolean indicating whether the selection's start and end points are at the same position. * @return a boolean indicating whether the selection's start and end points are at the same position */ @JsxGetter public boolean isIsCollapsed() { final List<Range> ranges = getRanges(); return ranges.isEmpty() || (ranges.size() == 1 && ranges.get(0).getCollapsed()); }
/** * Returns a boolean indicating whether the selection's start and end points are at the same position. * @return a boolean indicating whether the selection's start and end points are at the same position */ @JsxGetter public boolean isIsCollapsed() { final List<Range> ranges = getRanges(); return ranges.isEmpty() || (ranges.size() == 1 && ranges.get(0).getCollapsed()); }