|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectapollo.gui.NonWindowControlledObject
public class NonWindowControlledObject
This class was solely being used by AbstractLazySequence, and actually is no longer as it didnt seem to serve any real purpose - it added ALS as listener to controller but doesnt actually listen for any event - ControlledObjectI is used by Controller solely for its window - and there is no window here - so im thinking this class could get tossed - steve?
| Field Summary | |
|---|---|
protected Controller |
controller
|
| Constructor Summary | |
|---|---|
NonWindowControlledObject(Controller controller)
|
|
| Method Summary | |
|---|---|
Controller |
getController()
Gets the Controller for the object |
java.lang.Object |
getControllerWindow()
Shouldnt this return Window - would we ever want a non-window? |
boolean |
needsAutoRemoval()
If getControllerWindow is non null, and needsAutoRemoval is true then Controller will automatically remove the ControlledObjectI as a listener when its ControllerWindow is closing. |
void |
removeFromControllerListeners()
This has to be called when the object is no longer relevant or this will remain as a lingering ref/mem leak via contollers listeners |
void |
setController(Controller controller)
Sets the Controller for the object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Controller controller
| Constructor Detail |
|---|
public NonWindowControlledObject(Controller controller)
| Method Detail |
|---|
public void setController(Controller controller)
ControlledObjectI
setController in interface ControlledObjectIpublic Controller getController()
ControlledObjectI
getController in interface ControlledObjectIpublic java.lang.Object getControllerWindow()
ControlledObjectI
getControllerWindow in interface ControlledObjectIpublic boolean needsAutoRemoval()
ControlledObjectI
needsAutoRemoval in interface ControlledObjectIpublic void removeFromControllerListeners()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||