Inheritance diagram for RgbObjectChoice::
Public Methods | |
RgbObjectChoice () | |
void | relist (String choiceType) |
Object | getSelectedVal () |
Return the selected value as a proper Java Object instead of just a string. More... |
|
00220 { 00221 super(""); 00222 } |
|
Reimplemented from SaObjectChoice.
00225 { 00226 String[] names; 00227 try { 00228 HxJava.CorbaLink.CorbaMediator med = 00229 HxJava.CorbaLink.CorbaMediator.instance(); 00230 org.omg.CORBA.Object obj = med.getInitialObject("Registry"); 00231 HxCorba.Registry registry = HxCorba.RegistryHelper.narrow(obj); 00232 names = registry.getValueNames("/imagefunctortable/rgb"); 00233 } 00234 catch(Exception e) { 00235 names = new String[] { "Direct" }; 00236 } 00237 00238 for(int i=0; i<names.length; i++) addItem(names[i]); 00239 } |
|
Return the selected value as a proper Java Object instead of just a string.
Reimplemented from SaObjectChoice.
00242 { 00243 return getSelectedItem(); 00244 } |