Package com.izforge.izpack.gui

Examples of com.izforge.izpack.gui.IzPanelLayout


     * Constructor
     * @param parent The parent {@link InstallerFrame}
     * @param idata The {@link InstallData}
     */
    public ActionPanel(InstallerFrame parent, InstallData idata) {
        super(parent, idata, (parent == null ? null : new IzPanelLayout(LayoutConstants.FILL_OUT_COLUMN_WIDTH)));

        if (parent != null) {
            buildPanel();

            parent.addGuiListener(this);
View Full Code Here


     * Constructor
     * @param parent The InstallerFrame
     * @param idata The InstallData
     */
    public WelcomePanel(InstallerFrame parent, InstallData idata) {
        super(parent, idata, new IzPanelLayout(IzPanelLayout.FILL_OUT_COLUMN_SIZE));
       
        buildPanel();
    }
View Full Code Here

      imagePanel = new ImagePanel(rm.getImageIconResource(WELCOME_IMAGE_RESOURCE));
    } catch (Exception e) {
      Debug.error(e);
    }
   
    JPanel textPanel = new JPanel(new IzPanelLayout());
        textPanel.setBorder(new EmptyBorder(5, 5, 5, 5));

    VariableSubstitutor vs = new VariableSubstitutor(idata.getVariables());
    JLabel textLabel = new JLabel(vs.substituteMultiple(parent.langpack.getString(WELCOME_TEXT_RESOURCE), null));
    textPanel.add(textLabel);
View Full Code Here

     *
     * @param parent The parent window.
     * @param idata  The installation data.
     */
    public ResultPanel(InstallerFrame parent, InstallData idata) {
        super(parent, idata, new IzPanelLayout());

        // The info label.
        add(LabelFactory.create(parent.langpack.getString("result.info.label"),
                parent.icons.getImageIcon("edit"), SwingConstants.LEADING), LayoutConstants.NEXT_LINE);
        // The text area which shows the info.
View Full Code Here

  public ImagePanel(String imagePath) {
    this(new ImageIcon(imagePath));
  }
 
  public ImagePanel(ImageIcon imageIcon) {
    super(new IzPanelLayout());
    this.image = imageIcon.getImage();
   
    Dimension size = new Dimension(image.getWidth(null), image.getHeight(null) + 1000);
        setMinimumSize(size);
    setPreferredSize(size);
View Full Code Here


public class ShutdownDashboardPanel extends IzPanel {

    public ShutdownDashboardPanel(InstallerFrame parent, InstallData idata) {
        this(parent, idata, new IzPanelLayout());
    }
View Full Code Here

   *
   * @param parent The parent.
   * @param idata  The installation data.
   */
  public TigaseConfigSavePanel(InstallerFrame parent, InstallData idata) {
    super(parent, idata, new IzPanelLayout());

    // The config label.
    String msg = parent.langpack.getString("TigaseConfigSavePanel.info");
    add(createMultiLineLabel(msg));
    add(IzPanelLayout.createParagraphGap());
View Full Code Here

   *
   * @param parent The parent.
   * @param idata  The installation data.
   */
  public TigaseConfigLoadPanel(InstallerFrame parent, InstallData idata) {
    super(parent, idata, new IzPanelLayout());

    // The config label.
    add(LabelFactory.create(parent.langpack.getString("TigaseConfigLoadPanel.info"),
        parent.icons.getImageIcon("edit"), LEADING), NEXT_LINE);
    // The text area which shows the info.
View Full Code Here

   *
   * @param parent The parent.
   * @param idata  The installation data.
   */
  public TigaseDBCheckPanel(InstallerFrame parent, InstallData idata) {
    super(parent, idata, new IzPanelLayout());

    // The config label.
    String msg = parent.langpack.getString("TigaseDBCheckPanel.info");
    add(createMultiLineLabel(msg));
    add(IzPanelLayout.createParagraphGap());
View Full Code Here

TOP

Related Classes of com.izforge.izpack.gui.IzPanelLayout

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.