ch.sahits.game.graphic.layout
Class SelectableGroup
java.lang.Object
ch.sahits.game.graphic.layout.SelectableGroup
public class SelectableGroup
- extends Object
Group of components that are selectable
- Author:
- Andi Hotz, (c) Sahits GmbH, 2011
Created on Jun 9, 2011
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
selectables
private LinkedList<AbstractSelectableComponent> selectables
SelectableGroup
public SelectableGroup()
add
public void add(AbstractSelectableComponent selectable)
- Add a new selectable to the group
- Parameters:
selectable -
remove
public void remove(AbstractSelectableComponent selectable)
- Remove a selectable. If the selectable is not contained in this group nothing happens
- Parameters:
selectable -
unselectOthers
public void unselectOthers(AbstractSelectableComponent selected)
- Unselect all other selectables than the the passed
- Parameters:
selected -
Copyright © 2011 Sahits GmbH. All Rights Reserved.