net.simplace.ui.usermessage.FWMessagePanel

Infopanel with support for the different optionpane icons.


public final class FWMessagePanel extends javax.swing.JPanel implements
javax.swing.event.HyperlinkListener {
// Public Constructors
public FWMessagePanel(String aInfoText, int aIconID);
public FWMessagePanel(String aTitle, String aInfoText, int aIconID);
public FWMessagePanel(String aInfoText, Icon aIcon);
public FWMessagePanel(String aTitle, String aInfoText, Icon aIcon);
public FWMessagePanel(String aTitle, String aInfoText, Icon aIcon, Integer
aMaxTextWidth);
public FWMessagePanel(String aTitle, String aInfoText, Icon aIcon, Integer
aMaxTextWidth, boolean aAllwaysVisible);

// Constants
public static final Icon INFO_ICON;
public static final Icon QUESTION_ICON;
public static final Icon CONFIRM_ICON;
public static final Icon WARNING_ICON;
public static final Icon EXCEPTION_ICON;
public static final int INFO;
public static final int QUESTION;
public static final int EXCEPTION;
public static final int WARNING;
public static final int CONFIRM;

// Class Methods
public static boolean swapInfoPanelVisibility();

Inverts the visibility of all instances and returns the new visibility-state.
public static void setInfoPanelsVisible(boolean aVisible);

Shows or hides all instances.
public static FWMessagePanel getInfoPanel(String aInfoText, int aIconID);

Return the Panel with the given text and the specified icon.
public static FWMessagePanel getInfoPanel(String aTitle, String aInfoText,
int aIconID);

Return the Panel with the given text and the specified icon.
public static FWMessagePanel getInfoPanel(String aInfoText, Icon aIcon);

Return the Panel with the given text and the specified icon.
public static FWMessagePanel getInfoPanel(String aTitle, String aInfoText,
Icon aIcon);

Return the Panel with the given text and the specified icon.
public static FWMessagePanel getInfoPanel(String aInfoText);

Return the Panel with the given text.
public static FWMessagePanel getInfoPanel(String aTitle, String aInfoText);

Return the Panel with the given text.

// Public Instance Methods
public void setMinimized(boolean aMinimized);

Minimizes or maximizes this infopanel
public Dimension getPreferredSize(); // Defines javax.swing.JComponent

public void setTitle(String aTitle);

Sets the title.
public void setInfoText(String aInfoText);

Sets the text.
public void hyperlinkUpdate(HyperlinkEvent e); // From
javax.swing.event.HyperlinkListener




}



Hierarchy: java.lang.Object - java.awt.Component (java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable) - java.awt.Container - javax.swing.JComponent (java.io.Serializable, javax.swing.TransferHandler.HasGetTransferHandler) - javax.swing.JPanel (javax.accessibility.Accessible) - FWMessagePanel (javax.swing.event.HyperlinkListener)



Returned by: getInfoPanel(), getInfoPanel(), getInfoPanel(), getInfoPanel(), getInfoPanel(), getInfoPanel()