Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Expandable |
|
| 1.0;1 |
1 | /* | |
2 | * Created on Aug 31, 2007 by wyatt | |
3 | */ | |
4 | package org.homeunix.thecave.buddi.model; | |
5 | ||
6 | /** | |
7 | * An interface which specifes the state of tree elements. Objects which | |
8 | * can be expanded on a tree (such as AccountType and BudgetCategory) | |
9 | * should implement this interface. | |
10 | * | |
11 | * @author wyatt | |
12 | * | |
13 | */ | |
14 | public interface Expandable { | |
15 | /** | |
16 | * Is the node currently expanded | |
17 | * @return | |
18 | */ | |
19 | public boolean isExpanded(); | |
20 | /** | |
21 | * Should the node be expanded | |
22 | * @param isExpanded | |
23 | */ | |
24 | public void setExpanded(boolean isExpanded); | |
25 | } |