org.geotools.gui.swing.sldeditor.util
Class FormUtils

java.lang.Object
  extended byorg.geotools.gui.swing.sldeditor.util.FormUtils

public class FormUtils
extends java.lang.Object

DOCUMENT ME!

Author:
wolf

Method Summary
static void addColInGBL(javax.swing.JComponent parent, int row, int startCol, javax.swing.JComponent label, javax.swing.JComponent component)
           
static void addFiller(javax.swing.JComponent parent, int row, int col)
           
static void addFiller(javax.swing.JComponent parent, int row, int col, javax.swing.JComponent component)
           
static void addFiller(javax.swing.JComponent parent, int row, int col, javax.swing.JComponent component, boolean insets)
           
static void addFiller(javax.swing.JComponent parent, int row, int col, javax.swing.JComponent component, double weight, boolean insets)
           
static void addRowInGBL(javax.swing.JComponent parent, int row, int startCol, javax.swing.JComponent component)
           
static void addRowInGBL(javax.swing.JComponent parent, int row, int startCol, javax.swing.JComponent component, boolean fillRow, boolean insets)
           
static void addRowInGBL(javax.swing.JComponent parent, int row, int startCol, javax.swing.JComponent label, javax.swing.JComponent component)
           
static void addRowInGBL(javax.swing.JComponent parent, int row, int startCol, javax.swing.JComponent label, javax.swing.JComponent component, double weigthy, boolean insets)
           
static void addRowInGBL(javax.swing.JComponent parent, int row, int startCol, javax.swing.JLabel label, javax.swing.JComponent component)
           
static void addSingleRowWestComponent(javax.swing.JComponent parent, int row, javax.swing.JComponent component)
           
static void forceButtonDimension(javax.swing.JButton button)
           
static java.awt.Dimension getButtonDimension()
           
static java.awt.Dimension getColorButtonDimension()
           
static java.awt.Dimension getComboDimension()
           
static java.awt.Insets getDefaultInsets()
           
static javax.swing.JComponent getExpandableTitleLabel(java.lang.String title, javax.swing.JComponent[] managedComponents, boolean collapsed)
           
static java.awt.Dimension getMaxDimension(java.awt.Dimension d1, java.awt.Dimension d2)
           
static java.awt.Dimension getSpinnerDimension()
           
static javax.swing.JLabel getTitleLabel(java.lang.String title)
           
static java.awt.Window getWindowForComponent(java.awt.Component parentComponent)
           
static void repackParentWindow(java.awt.Component component)
           
static void show(javax.swing.JComponent component)
           
static void show(javax.swing.JFrame frame)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDefaultInsets

public static java.awt.Insets getDefaultInsets()

addRowInGBL

public static void addRowInGBL(javax.swing.JComponent parent,
                               int row,
                               int startCol,
                               javax.swing.JComponent component)

addRowInGBL

public static void addRowInGBL(javax.swing.JComponent parent,
                               int row,
                               int startCol,
                               javax.swing.JComponent component,
                               boolean fillRow,
                               boolean insets)

addRowInGBL

public static void addRowInGBL(javax.swing.JComponent parent,
                               int row,
                               int startCol,
                               javax.swing.JLabel label,
                               javax.swing.JComponent component)

addRowInGBL

public static void addRowInGBL(javax.swing.JComponent parent,
                               int row,
                               int startCol,
                               javax.swing.JComponent label,
                               javax.swing.JComponent component)

addRowInGBL

public static void addRowInGBL(javax.swing.JComponent parent,
                               int row,
                               int startCol,
                               javax.swing.JComponent label,
                               javax.swing.JComponent component,
                               double weigthy,
                               boolean insets)

addColInGBL

public static void addColInGBL(javax.swing.JComponent parent,
                               int row,
                               int startCol,
                               javax.swing.JComponent label,
                               javax.swing.JComponent component)

addFiller

public static void addFiller(javax.swing.JComponent parent,
                             int row,
                             int col,
                             javax.swing.JComponent component,
                             double weight,
                             boolean insets)

addFiller

public static void addFiller(javax.swing.JComponent parent,
                             int row,
                             int col,
                             javax.swing.JComponent component)

addFiller

public static void addFiller(javax.swing.JComponent parent,
                             int row,
                             int col,
                             javax.swing.JComponent component,
                             boolean insets)

addFiller

public static void addFiller(javax.swing.JComponent parent,
                             int row,
                             int col)

addSingleRowWestComponent

public static void addSingleRowWestComponent(javax.swing.JComponent parent,
                                             int row,
                                             javax.swing.JComponent component)

getButtonDimension

public static java.awt.Dimension getButtonDimension()

forceButtonDimension

public static void forceButtonDimension(javax.swing.JButton button)

getColorButtonDimension

public static java.awt.Dimension getColorButtonDimension()

getSpinnerDimension

public static java.awt.Dimension getSpinnerDimension()

getComboDimension

public static java.awt.Dimension getComboDimension()

show

public static void show(javax.swing.JComponent component)

show

public static void show(javax.swing.JFrame frame)

getMaxDimension

public static java.awt.Dimension getMaxDimension(java.awt.Dimension d1,
                                                 java.awt.Dimension d2)

getWindowForComponent

public static java.awt.Window getWindowForComponent(java.awt.Component parentComponent)

getTitleLabel

public static javax.swing.JLabel getTitleLabel(java.lang.String title)

getExpandableTitleLabel

public static javax.swing.JComponent getExpandableTitleLabel(java.lang.String title,
                                                             javax.swing.JComponent[] managedComponents,
                                                             boolean collapsed)

repackParentWindow

public static void repackParentWindow(java.awt.Component component)


Copyright © GeoTools. All Rights Reserved.