Package com.iizix.prop.ui.selection
Class AnimatedSingleIndexSelection
- java.lang.Object
- com.iizix.prop.ui.selection.SingleIndexSelection
- com.iizix.prop.ui.selection.AnimatedSingleIndexSelection
 
 
- All Implemented Interfaces:
- IUIAnimatedSingleIndexedSelection,- IUIIndexedSelection,- IUISelection,- IUISingleIndexedSelection
 - public class AnimatedSingleIndexSelection extends SingleIndexSelection implements IUIAnimatedSingleIndexedSelection The animated single index-based selection state used by e.g. the accordion or tab containers.- Author:
- Christopher Mindus
 
- Field Summary- Fields inherited from interface com.iizix.prop.ui.selection.IUISingleIndexedSelection- EMPTY
 
 - Constructor Summary- Constructors - Constructor - Description - AnimatedSingleIndexSelection(IUIAnimatedSingleIndexedSelectionComp source, int selectedIndex, boolean isAnimated)Constructor.
 - Method Summary- All Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - boolean- equals(java.lang.Object o)Equals: ignore checking animation index, i.e.- IUIAnimatedSingleIndexedSelectionComp- getAnimatedSingleIndexedSource()Get the source component of the event.- boolean- isAnimated()Returns if the selection is animated.- java.lang.String- toString()Converts the selection to a string.- Methods inherited from class com.iizix.prop.ui.selection.SingleIndexSelection- getIndexedSource, getSelectedIndex, getSelectedIndicies, getSingleIndexedSource, getSource, getUISource
 - Methods inherited from class java.lang.Object- clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - Methods inherited from interface com.iizix.prop.ui.selection.IUISelection- asAnimatedSingleIndexedSelection, asBooleanSelection, asCellSelection, asIndexedSelection, asSingleIndexedSelection, asTriStateSelection, getSource, getUISource
 - Methods inherited from interface com.iizix.prop.ui.selection.IUISingleIndexedSelection- getFirstSelectedIndex, getIndexedSource, getSelectedIndex, getSelectedIndicies, getSingleIndexedSource
 
 
- Constructor Detail- AnimatedSingleIndexSelection- public AnimatedSingleIndexSelection(IUIAnimatedSingleIndexedSelectionComp source, int selectedIndex, boolean isAnimated) Constructor.- Parameters:
- source- The component source.
- selectedIndex- The selected index, or -1 for none.
 
 
 - Method Detail- isAnimated- public boolean isAnimated() Returns if the selection is animated.- Specified by:
- isAnimatedin interface- IUIAnimatedSingleIndexedSelection
- Returns:
- The animation flag.
 
 - getAnimatedSingleIndexedSource- public IUIAnimatedSingleIndexedSelectionComp getAnimatedSingleIndexedSource() Get the source component of the event.- Specified by:
- getAnimatedSingleIndexedSourcein interface- IUIAnimatedSingleIndexedSelection
- Returns:
- The source.
 
 - equals- public boolean equals(java.lang.Object o) Equals: ignore checking animation index, i.e. accepts comparison with IUISingleIndexedSelection.- Overrides:
- equalsin class- SingleIndexSelection
 
 - toString- public java.lang.String toString() Converts the selection to a string.- Overrides:
- toStringin class- SingleIndexSelection