uk.ac.soton.ecs.iam.grid.client.swing
Class SwingUtils

java.lang.Object
  extended by uk.ac.soton.ecs.iam.grid.client.swing.SwingUtils

public class SwingUtils
extends Object


Nested Class Summary
static class SwingUtils.EPRWrapper
           
 class SwingUtils.ErrorPanel
           
 class SwingUtils.ManagedServicePanel
           
 class SwingUtils.ManifestPanel
           
 class SwingUtils.SAMLPanel
           
 class SwingUtils.X509Panel
           
 
Field Summary
static ImageIcon certificateIcon22
           
static ImageIcon closeIcon
           
static ImageIcon destroyIcon
           
static ImageIcon detailsIcon
           
static ImageIcon filterIcon
           
static ImageIcon filtersIcon
           
static ImageIcon forgetIcon
           
static ImageIcon GRIAIcon
           
static ImageIcon infoIcon
           
static ImageIcon listAddIcon
           
static ImageIcon listRemoveIcon
           
static ImageIcon noauthIcon
           
static ImageIcon previewIcon
           
static ImageIcon refreshIcon
           
static ImageIcon renameIcon
           
static ImageIcon servicesIcon
           
static ImageIcon statementIcon
           
static ImageIcon updateEPRIcon
           
static ImageIcon userIcon
           
static ImageIcon viewEPRIcon
           
 
Constructor Summary
SwingUtils()
           
 
Method Summary
static boolean confirmAction(String message)
           
static void displayEPR(Component parent, org.apache.axis.message.addressing.EndpointReferenceType epr)
           
static void displayEPR(String name, Component parent, org.apache.axis.message.addressing.EndpointReferenceType epr)
           
static void displayObject(Component parent, Object o, String title)
           
static String getNewName(String newName, Class<? extends Conversation> className, org.apache.axis.message.addressing.EndpointReferenceType[] eprs)
           
static String getNewName(String newName, Class<? extends Conversation> className, PersistentRegistry reg)
           
static String getNewName(String newName, org.apache.axis.message.addressing.EndpointReferenceType[] eprs)
           
static JComponent heading(Icon icon, String title)
           
static JComponent heading(String title)
           
static JComponent pair(JComponent label, JComponent value, int width)
           
static JComponent pair(String title, JComponent value, int width)
           
static GridBagConstraints setGBC(GridBagConstraints gbc, int x, int y, int w, int h, float wx, float wy)
           
static GridBagConstraints setGBC(GridBagConstraints gbc, int x, int y, int w, int h, float wx, float wy, Insets insets, int ipadx, int ipady)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

previewIcon

public static ImageIcon previewIcon

detailsIcon

public static ImageIcon detailsIcon

userIcon

public static ImageIcon userIcon

statementIcon

public static ImageIcon statementIcon

noauthIcon

public static ImageIcon noauthIcon

infoIcon

public static ImageIcon infoIcon

servicesIcon

public static ImageIcon servicesIcon

refreshIcon

public static ImageIcon refreshIcon

closeIcon

public static ImageIcon closeIcon

renameIcon

public static ImageIcon renameIcon

forgetIcon

public static ImageIcon forgetIcon

listAddIcon

public static ImageIcon listAddIcon

listRemoveIcon

public static ImageIcon listRemoveIcon

filterIcon

public static ImageIcon filterIcon

filtersIcon

public static ImageIcon filtersIcon

destroyIcon

public static ImageIcon destroyIcon

viewEPRIcon

public static ImageIcon viewEPRIcon

updateEPRIcon

public static ImageIcon updateEPRIcon

GRIAIcon

public static ImageIcon GRIAIcon

certificateIcon22

public static ImageIcon certificateIcon22
Constructor Detail

SwingUtils

public SwingUtils()
Method Detail

displayObject

public static void displayObject(Component parent,
                                 Object o,
                                 String title)

displayEPR

public static void displayEPR(String name,
                              Component parent,
                              org.apache.axis.message.addressing.EndpointReferenceType epr)

displayEPR

public static void displayEPR(Component parent,
                              org.apache.axis.message.addressing.EndpointReferenceType epr)

getNewName

public static String getNewName(String newName,
                                org.apache.axis.message.addressing.EndpointReferenceType[] eprs)

getNewName

public static String getNewName(String newName,
                                Class<? extends Conversation> className,
                                org.apache.axis.message.addressing.EndpointReferenceType[] eprs)

getNewName

public static String getNewName(String newName,
                                Class<? extends Conversation> className,
                                PersistentRegistry reg)

heading

public static JComponent heading(Icon icon,
                                 String title)

heading

public static JComponent heading(String title)

pair

public static JComponent pair(JComponent label,
                              JComponent value,
                              int width)

pair

public static JComponent pair(String title,
                              JComponent value,
                              int width)

confirmAction

public static boolean confirmAction(String message)

setGBC

public static GridBagConstraints setGBC(GridBagConstraints gbc,
                                        int x,
                                        int y,
                                        int w,
                                        int h,
                                        float wx,
                                        float wy)

setGBC

public static GridBagConstraints setGBC(GridBagConstraints gbc,
                                        int x,
                                        int y,
                                        int w,
                                        int h,
                                        float wx,
                                        float wy,
                                        Insets insets,
                                        int ipadx,
                                        int ipady)


Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.