Package org.luwrain.controls
Class ListUtils.DoubleLevelAppearance<E>
java.lang.Object
org.luwrain.controls.ListUtils.DoubleLevelAppearance<E>
- All Implemented Interfaces:
ListArea.Appearance<E>
- Direct Known Subclasses:
WebSearchPopup.Appearance
- Enclosing class:
ListUtils
public abstract static class ListUtils.DoubleLevelAppearance<E>
extends Object
implements ListArea.Appearance<E>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.luwrain.controls.ListArea.Appearance
ListArea.Appearance.Flags -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidannounceItem(E item, Set<ListArea.Appearance.Flags> flags) Announces the given item using the screen reader.voidannounceNonSection(E item) voidannounceSection(E item) intgetObservableLeftBound(E item) Returns the leftmost observable column index for the item.intgetObservableRightBound(E item) Returns the rightmost observable column index for the item.getScreenAppearance(E item, Set<ListArea.Appearance.Flags> flags) Returns the text representation of the item as it should appear on the screen.getSectionScreenAppearance(E item) abstract booleanisSectionItem(E item)
-
Field Details
-
context
-
-
Constructor Details
-
DoubleLevelAppearance
-
-
Method Details
-
isSectionItem
-
announceNonSection
-
getNonSectionScreenAppearance
-
announceSection
-
getSectionScreenAppearance
-
announceItem
Description copied from interface:ListArea.AppearanceAnnounces the given item using the screen reader.- Specified by:
announceItemin interfaceListArea.Appearance<E>- Parameters:
item- the item to announceflags- a set of flags that may affect the announcement style
-
getScreenAppearance
Description copied from interface:ListArea.AppearanceReturns the text representation of the item as it should appear on the screen.- Specified by:
getScreenAppearancein interfaceListArea.Appearance<E>- Parameters:
item- the item to displayflags- a set of flags that may affect the representation- Returns:
- the screen text for the item
-
getObservableLeftBound
Description copied from interface:ListArea.AppearanceReturns the leftmost observable column index for the item. The hot point cannot move to the left of this bound.- Specified by:
getObservableLeftBoundin interfaceListArea.Appearance<E>- Parameters:
item- the item- Returns:
- the left bound (inclusive)
-
getObservableRightBound
Description copied from interface:ListArea.AppearanceReturns the rightmost observable column index for the item. The hot point cannot move to the right of this bound.- Specified by:
getObservableRightBoundin interfaceListArea.Appearance<E>- Parameters:
item- the item- Returns:
- the right bound (inclusive)
-