Horus Doc || Java GUI Reference || Doxygen's quick Index  

StubObjectChoice Class Reference

A specialization of SaObjectChoice that deals with stubs from the StubRepository. More...

Inheritance diagram for StubObjectChoice::

SaObjectChoice List of all members.

Public Methods

 StubObjectChoice (String intfId)
void relist (String intfId)
Object getSelectedVal ()
 Return the selected value as a proper Java Object instead of just a string. More...


Detailed Description

A specialization of SaObjectChoice that deals with stubs from the StubRepository.


Constructor & Destructor Documentation

StubObjectChoice::StubObjectChoice String    intfId [inline]
 

00021 {
00022     super(intfId);
00023 }


Member Function Documentation

void StubObjectChoice::relist String    intfId [inline]
 

Reimplemented from SaObjectChoice.

00026 {
00027     java.util.Enumeration e = StubRepository.instance().listStubs(intfId);
00028     while(e.hasMoreElements())
00029         addItem(e.nextElement());
00030 }

Object StubObjectChoice::getSelectedVal   [inline]
 

Return the selected value as a proper Java Object instead of just a string.

Reimplemented from SaObjectChoice.

00034 {
00035     String val = (String) getSelectedItem();
00036     return val;
00037 }


The documentation for this class was generated from the following file:
Generated on Mon Jan 27 15:11:27 2003 for JavaReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001