|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.cmu.sun.controller.ItemController
public class ItemController
A controller object for items in lists. Every time a list item is clicked on, an instance of this component is called to handle the event. Right now, we only look at left and right clicks.
| Field Summary | |
|---|---|
(package private) ItemModel |
model
|
| Constructor Summary | |
|---|---|
ItemController(ItemModel model)
|
|
| Method Summary | |
|---|---|
void |
leftClick()
A left click causes the list item to be selected, and all of the sibling items to be deslected. |
void |
rightClick()
A right click causes the list itme to be selected. |
private void |
updateChildWindows()
When an item is selected/deselected, we must create/remove windows from the next column to the right. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
ItemModel model
| Constructor Detail |
|---|
public ItemController(ItemModel model)
| Method Detail |
|---|
public void leftClick()
public void rightClick()
private void updateChildWindows()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||