de.miethxml.toolkit.ui
Class PanelFactory

java.lang.Object
  extended byde.miethxml.toolkit.ui.PanelFactory

public class PanelFactory
extends java.lang.Object

Author:
simon

Constructor Summary
PanelFactory()
           
 
Method Summary
static javax.swing.JSplitPane createDefaultSplitPane()
           
static javax.swing.JSplitPane createDefaultSplitPane(int orientation)
          Create a JSplitPane and remove any decoration (divider).
static javax.swing.JSplitPane createOneTouchSplitPane()
           
static javax.swing.JSplitPane createOneTouchSplitPane(int orientation)
           
static javax.swing.JPanel createTitledPanel(javax.swing.JComponent view, java.lang.String title, java.lang.String icon)
           
static javax.swing.JPanel createTitledPanel(javax.swing.JComponent view, java.lang.String title, java.lang.String icon, javax.swing.JPopupMenu menu)
          Create a titled Panel with a icon on the left side and a PopupButton on the right side.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PanelFactory

public PanelFactory()
Method Detail

createTitledPanel

public static javax.swing.JPanel createTitledPanel(javax.swing.JComponent view,
                                                   java.lang.String title,
                                                   java.lang.String icon,
                                                   javax.swing.JPopupMenu menu)
Create a titled Panel with a icon on the left side and a PopupButton on the right side.

Parameters:
view -
title -
icon -
menu - the JPopupMenu, which should displayed
Returns:

createTitledPanel

public static javax.swing.JPanel createTitledPanel(javax.swing.JComponent view,
                                                   java.lang.String title,
                                                   java.lang.String icon)

createOneTouchSplitPane

public static javax.swing.JSplitPane createOneTouchSplitPane()

createOneTouchSplitPane

public static javax.swing.JSplitPane createOneTouchSplitPane(int orientation)

createDefaultSplitPane

public static javax.swing.JSplitPane createDefaultSplitPane()

createDefaultSplitPane

public static javax.swing.JSplitPane createDefaultSplitPane(int orientation)
Create a JSplitPane and remove any decoration (divider).

Parameters:
orientation -
Returns: