Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Project Rio
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jini.rio.resources.serviceui
Class UILoader

    java.lang.Object
      org.jini.rio.resources.serviceui.UILoader

    public class UILoader

extends Object

The UILoader class is a helper for use with the ServiceUI

Constructor Summary
`UILoader()`

Method Summary
`static Object[]` | `loadUI(ServiceItem serviceItem)` This method returns an array of UI Factories that have been loaded from each `UIDescriptor` found.
`static JComponent[]` | `loadUI(String role, ServiceItem serviceItem)` This method returns an array JComponents from a UIDescriptor that contain an JComponentFactory for a given role

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### UILoader

    public UILoader()

Method Detail

### loadUI

    public static JComponent[] loadUI(String role,
                                      ServiceItem serviceItem)

  This method returns an array JComponents from a UIDescriptor that contain an JComponentFactory for a given role

### loadUI

    public static Object[] loadUI(ServiceItem serviceItem)

  This method returns an array of UI Factories that have been loaded from each `UIDescriptor` found. This method will return all `UIDescriptor` entries regardless of their role or factory type

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Project Rio
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © Project Rio.