Class PagedFolderItem.PageItem
java.lang.Object
de.rcblum.stream.deck.items.AbstractStreamItem
de.rcblum.stream.deck.items.FolderItem
de.rcblum.stream.deck.items.PagedFolderItem.PageItem
- All Implemented Interfaces:
StreamKeyListener, StreamItem
- Enclosing class:
PagedFolderItem
-
Field Summary
Fields inherited from class AbstractStreamItem
animation, buttonCount, img, parent, rawImg, rowCount, text, textPosFields inherited from interface StreamItem
TEXT_POS_BOTTOM, TEXT_POS_CENTER, TEXT_POS_TOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the animation of the item.getChild(int i) intgetChildId(StreamItem item) Returns the Index of the childReturns an array with the children of this item.Returns the parent of the item.voidsetParent(StreamItem parent) Methods inherited from class FolderItem
getChildCount, getIcon, onKeyEvent, setFolderNameMethods inherited from class AbstractStreamItem
addIconUpdateListener, fireIconUpdate, getButtonCount, getColumnCount, getDialListeners, getRowCount, getText, getTouchScreenImage, getTouchScreenListeners, hasAnimation, hasDialListeners, hasTouchScreenImage, hasTouchScreenListeners, removeIconUpdateListener, setAnimation, setButtonCount, setIcon, setIconPackage, setRowCount, setText, setText, setTextPositionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface StreamItem
isLeaf
-
Constructor Details
-
PageItem
-
-
Method Details
-
getChild
- Specified by:
getChildin interfaceStreamItem- Overrides:
getChildin classFolderItem
-
getAnimation
Description copied from interface:StreamItemReturns the animation of the item.- Specified by:
getAnimationin interfaceStreamItem- Overrides:
getAnimationin classAbstractStreamItem- Returns:
- Animation in form of the
AnimationStack,nullif the item has no no animation
-
getChildId
Description copied from interface:StreamItemReturns the Index of the child- Specified by:
getChildIdin interfaceStreamItem- Overrides:
getChildIdin classFolderItem- Parameters:
item- Child to be identified- Returns:
- Index of the child or -1 if its not a child.
-
getChildren
Description copied from interface:StreamItemReturns an array with the children of this item. If the item has a parent, the parent must be the 5th item (StreamItem.getChildren()[4] ) in the array.- Specified by:
getChildrenin interfaceStreamItem- Overrides:
getChildrenin classFolderItem- Returns:
- Children of this item, or null, if not a folder
-
getParent
Description copied from interface:StreamItemReturns the parent of the item.- Specified by:
getParentin interfaceStreamItem- Overrides:
getParentin classAbstractStreamItem- Returns:
- StreamItem that is the parent of this item,
nullif the StreamItem has nor parent.
-
setParent
- Specified by:
setParentin interfaceStreamItem- Overrides:
setParentin classAbstractStreamItem
-