|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.sillyview.Widget
public class Widget
An instance of this class is an object that has a view. It may be useful for cases where you want to be able to swap out alternative views.
Field Summary | |
---|---|
protected WidgetView |
view
Describe variable view here. |
Constructor Summary | |
---|---|
Widget(WidgetView myView)
Creates a new Widget instance. |
Method Summary | |
---|---|
WidgetView |
getView()
Get the View value. |
void |
setView(WidgetView newView)
Set the View value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected WidgetView view
view
here.
Constructor Detail |
---|
public Widget(WidgetView myView)
Widget
instance.
myView
- a WidgetView
valueMethod Detail |
---|
public WidgetView getView()
public void setView(WidgetView newView)
newView
- The new View value.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |