|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.awt.Applet
public class Applet
Applet is an extension of java.applet.Applet that includes ComponentInterface functionality and the ability to send events when the "state" of the applet changes.
The code generated by the webAF make calls to setState() so that components can listen to AppletStateChangedEvents and perform operations when the applet reaches certain points in it's creation/destruction.
Constructor Summary | |
---|---|
Applet()
Default constructor. |
Method Summary | |
---|---|
void |
addAppletStateChangedListener(AppletStateChangedListener listener)
Adds an AppletStateChangedListener for this component. |
static com.sas.beans.ExtendedBeanInfo |
getExtendedBeanInfo()
|
protected void |
notifyAppletStateChangedEvent(AppletStateChangedEvent event)
Send a AppletStateChangedEvent event to all the AppletStateChangedListener objects in the listener list. |
void |
removeAppletStateChangedListener(AppletStateChangedListener listener)
Removes an AppletStateChangedListener for this component. |
void |
setState(int state)
Change the state of the applet. |
Constructor Detail |
---|
public Applet()
Method Detail |
---|
public static com.sas.beans.ExtendedBeanInfo getExtendedBeanInfo()
public void addAppletStateChangedListener(AppletStateChangedListener listener)
AppletStateChangedSource
addAppletStateChangedListener
in interface AppletStateChangedSource
listener
- The AppletStateChangedListenerAppletStateChangedSource.removeAppletStateChangedListener(com.sas.awt.AppletStateChangedListener)
public void removeAppletStateChangedListener(AppletStateChangedListener listener)
AppletStateChangedSource
removeAppletStateChangedListener
in interface AppletStateChangedSource
listener
- The AppletStateChangedListenerAppletStateChangedSource.addAppletStateChangedListener(com.sas.awt.AppletStateChangedListener)
public void setState(int state)
protected void notifyAppletStateChangedEvent(AppletStateChangedEvent event)
event
- the event to send
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |