|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.sasserver.SASListDelegate
public class SASListDelegate
| Field Summary | |
|---|---|
protected com.sas.collection.ContentsChangedListenerList |
allContentsChangedListeners
List of all the ContentsChangedListeners |
protected boolean |
hasChildren
Whether or not this library has any children (SAS files) |
protected boolean |
libExists
Flag whether the library actually exists |
protected com.sas.collection.hlist.HListInterface |
membersList
Internal collection for storage of the hlist items |
protected boolean |
needs_refresh
Flag which indicates whether the model needs to query the remote method for its data |
protected OrderedCollectionInterface |
parsedList
Internal collection for storage of the string items |
protected int |
pendingEventGateCount
Event count for EventGateInterface |
| Constructor Summary | |
|---|---|
SASListDelegate()
|
|
| Method Summary | |
|---|---|
void |
_setRemoteHandle(java.lang.Object o)
Sets the proxy handle |
void |
addContentsChangedListener(com.sas.collection.ContentsChangedListener listener)
|
void |
apply(com.sas.util.ApplyInterface action)
|
java.lang.Object |
clone()
Return a clone of the object. |
boolean |
contains(java.lang.Object element)
|
void |
contentsChanged(com.sas.collection.ContentsChangedEvent cce)
|
int |
count()
|
void |
disableEvents()
|
void |
enableEvents()
|
boolean |
equals(StaticOrderedCollectionInterface orderedCollection)
|
protected void |
fireContentsChanged()
Fire a default contents changed event. |
protected void |
fireContentsChanged(com.sas.collection.ContentsChangedEvent event)
Send a ContentsChangedEvent to all the ContentsChangedListener objects in the listener list. |
void |
firePropertyChange(java.lang.String prop,
java.lang.Object oldv,
java.lang.Object newv)
Report a bound property update to any registered listeners. |
java.lang.Object |
get(int index)
|
int |
getIndex(java.lang.Object element,
int startIndex)
|
java.util.Enumeration |
getItems()
|
java.util.Enumeration |
getItems(int start,
int end)
|
int |
getLastIndex(java.lang.Object element,
int startIndex)
|
void |
initialize()
Overrides the initialize method of Component to initialize local variables |
protected void |
parseList(com.sas.collection.hlist.HListInterface membersList,
OrderedCollectionInterface parsedList)
Parse the hlist returned from the _getMembers call into a string ordered collection based on what has been specified to be displayed. |
java.lang.Object |
remoteObject()
|
void |
removeContentsChangedListener(com.sas.collection.ContentsChangedListener listener)
|
protected void |
resubmitQuery()
Execute the query to get the names of SAS remote members with the current query information, if the needs_refresh flag is on |
java.lang.String |
toString()
Returns the collection of items in a String by calling toString on the ordered collection of items |
| Field Detail |
|---|
protected transient boolean needs_refresh
protected transient OrderedCollectionInterface parsedList
protected transient com.sas.collection.hlist.HListInterface membersList
protected transient int pendingEventGateCount
protected transient boolean hasChildren
protected transient boolean libExists
protected transient com.sas.collection.ContentsChangedListenerList allContentsChangedListeners
| Constructor Detail |
|---|
public SASListDelegate()
| Method Detail |
|---|
public java.lang.Object remoteObject()
public void _setRemoteHandle(java.lang.Object o)
LocalModelInterfaceSets the proxy handle
_setRemoteHandle in interface com.sas.rmi.LocalModelInterface
public void firePropertyChange(java.lang.String prop,
java.lang.Object oldv,
java.lang.Object newv)
ComponentInterface
firePropertyChange in interface ComponentInterfacefirePropertyChange in class Componentprop - The name of the property that was changed. null may be passed in to
indicate that a generic change to the component (and not a specific property) was made.oldv - The old value of the property. null may be passed in to indicate that the
old value is unknown.newv - The new value of the property. null may be passed in to indicate that the
new value is unknown.ComponentInterface.firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)
protected void parseList(com.sas.collection.hlist.HListInterface membersList,
OrderedCollectionInterface parsedList)
membersList - The filled in hlist returned from the _getMembers callparsedList - The collection that will be emptied and filled with the parsed stringsprotected void resubmitQuery()
public boolean contains(java.lang.Object element)
StaticCollectionInterface.contains(java.lang.Object)public void apply(com.sas.util.ApplyInterface action)
StaticCollectionInterface.apply(com.sas.util.ApplyInterface)public int count()
Countable.count()public java.util.Enumeration getItems()
Enumerable.getItems()public java.lang.Object get(int index)
IndexedGetInterface.get(int)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Component
clone in class Componentjava.lang.CloneNotSupportedException - if the model attached to the component being cloned
will not allow the clone to attach.StaticOrderedCollectionInterface.clone()public boolean equals(StaticOrderedCollectionInterface orderedCollection)
StaticOrderedCollectionInterface.equals(com.sas.collection.StaticOrderedCollectionInterface)
public int getIndex(java.lang.Object element,
int startIndex)
StaticOrderedCollectionInterface.getIndex(java.lang.Object, int)
public java.util.Enumeration getItems(int start,
int end)
StaticOrderedCollectionInterface.getItems(int, int)
public int getLastIndex(java.lang.Object element,
int startIndex)
StaticOrderedCollectionInterface.getLastIndex(java.lang.Object, int)public java.lang.String toString()
toString in class java.lang.Objectpublic void contentsChanged(com.sas.collection.ContentsChangedEvent cce)
contentsChanged in interface com.sas.collection.ContentsChangedListenerpublic void addContentsChangedListener(com.sas.collection.ContentsChangedListener listener)
ContentsChangedSource.addContentsChangedListener(com.sas.collection.ContentsChangedListener)public void removeContentsChangedListener(com.sas.collection.ContentsChangedListener listener)
ContentsChangedSource.removeContentsChangedListener(com.sas.collection.ContentsChangedListener)protected void fireContentsChanged(com.sas.collection.ContentsChangedEvent event)
the - event to sendaddContentsChangedListener(com.sas.collection.ContentsChangedListener),
removeContentsChangedListener(com.sas.collection.ContentsChangedListener)protected void fireContentsChanged()
fireContentsChanged(com.sas.collection.ContentsChangedEvent)public void disableEvents()
EventGateInterface.disableEvents()public void enableEvents()
EventGateInterface.enableEvents()public void initialize()
initialize in interface ComponentInterfaceinitialize in class ComponentComponentInterface.initialize()
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||