Rio Project 4.2 API Documentation



org.rioproject.resources.serviceui
Class UILoader

java.lang.Object
  extended by org.rioproject.resources.serviceui.UILoader

public class UILoader
extends Object

The UILoader class is a helper for use with the ServiceUI

Author:
Dennis Reedy

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

Parameters:
role - The role to use
serviceItem - The ServiceItem to use
Returns:
An array of JComponents

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

Parameters:
serviceItem - The ServiceItem to load
Returns:
An array of loaded ui objects

Copyright © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.