Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.dialogs
Class MiscGB

java.lang.Object
  extended by cytoscape.dialogs.MiscGB

public class MiscGB
extends Object

We DO need to replace this with swing-layout! Miscellaneous static GridBagLayout utilities


Constructor Summary
MiscGB()
           
 
Method Summary
static JLabel createColorLabel(Color c)
          DOCUMENT ME!
static void insert(GridBagGroup gbg, Component comp, int x, int y)
          DOCUMENT ME!
static void insert(GridBagGroup gbg, Component comp, int x, int y, int w, int h)
          DOCUMENT ME!
static void insert(GridBagGroup gbg, Component comp, int x, int y, int w, int h, int f)
          DOCUMENT ME!
static void insert(GridBagGroup gbg, Component comp, int x, int y, int w, int h, int weightx, int weighty, int f)
          DOCUMENT ME!
static void insert(JPanel panel, Component comp, GridBagLayout bag, GridBagConstraints c)
          DOCUMENT ME!
static void inset(GridBagConstraints c, int s)
          DOCUMENT ME!
static void inset(GridBagConstraints c, int b, int l, int r, int t)
          DOCUMENT ME!
static void pad(GridBagConstraints c, int padx, int pady)
          DOCUMENT ME!
static void set(GridBagConstraints c, int x, int y)
          DOCUMENT ME!
static void set(GridBagConstraints c, int x, int y, int w, int h)
          DOCUMENT ME!
static void set(GridBagConstraints c, int x, int y, int w, int h, int weightx, int weighty, int f)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MiscGB

public MiscGB()
Method Detail

pad

public static void pad(GridBagConstraints c,
                       int padx,
                       int pady)
DOCUMENT ME!

Parameters:
c - DOCUMENT ME!
padx - DOCUMENT ME!
pady - DOCUMENT ME!

inset

public static void inset(GridBagConstraints c,
                         int b,
                         int l,
                         int r,
                         int t)
DOCUMENT ME!

Parameters:
c - DOCUMENT ME!
b - DOCUMENT ME!
l - DOCUMENT ME!
r - DOCUMENT ME!
t - DOCUMENT ME!

inset

public static void inset(GridBagConstraints c,
                         int s)
DOCUMENT ME!

Parameters:
c - DOCUMENT ME!
s - DOCUMENT ME!

set

public static void set(GridBagConstraints c,
                       int x,
                       int y,
                       int w,
                       int h,
                       int weightx,
                       int weighty,
                       int f)
DOCUMENT ME!

Parameters:
c - DOCUMENT ME!
x - DOCUMENT ME!
y - DOCUMENT ME!
w - DOCUMENT ME!
h - DOCUMENT ME!
weightx - DOCUMENT ME!
weighty - DOCUMENT ME!
f - DOCUMENT ME!

set

public static void set(GridBagConstraints c,
                       int x,
                       int y,
                       int w,
                       int h)
DOCUMENT ME!

Parameters:
c - DOCUMENT ME!
x - DOCUMENT ME!
y - DOCUMENT ME!
w - DOCUMENT ME!
h - DOCUMENT ME!

set

public static void set(GridBagConstraints c,
                       int x,
                       int y)
DOCUMENT ME!

Parameters:
c - DOCUMENT ME!
x - DOCUMENT ME!
y - DOCUMENT ME!

insert

public static void insert(JPanel panel,
                          Component comp,
                          GridBagLayout bag,
                          GridBagConstraints c)
DOCUMENT ME!

Parameters:
panel - DOCUMENT ME!
comp - DOCUMENT ME!
bag - DOCUMENT ME!
c - DOCUMENT ME!

insert

public static void insert(GridBagGroup gbg,
                          Component comp,
                          int x,
                          int y)
DOCUMENT ME!

Parameters:
gbg - DOCUMENT ME!
comp - DOCUMENT ME!
x - DOCUMENT ME!
y - DOCUMENT ME!

insert

public static void insert(GridBagGroup gbg,
                          Component comp,
                          int x,
                          int y,
                          int w,
                          int h)
DOCUMENT ME!

Parameters:
gbg - DOCUMENT ME!
comp - DOCUMENT ME!
x - DOCUMENT ME!
y - DOCUMENT ME!
w - DOCUMENT ME!
h - DOCUMENT ME!

insert

public static void insert(GridBagGroup gbg,
                          Component comp,
                          int x,
                          int y,
                          int w,
                          int h,
                          int f)
DOCUMENT ME!

Parameters:
gbg - DOCUMENT ME!
comp - DOCUMENT ME!
x - DOCUMENT ME!
y - DOCUMENT ME!
w - DOCUMENT ME!
h - DOCUMENT ME!
f - DOCUMENT ME!

insert

public static void insert(GridBagGroup gbg,
                          Component comp,
                          int x,
                          int y,
                          int w,
                          int h,
                          int weightx,
                          int weighty,
                          int f)
DOCUMENT ME!

Parameters:
gbg - DOCUMENT ME!
comp - DOCUMENT ME!
x - DOCUMENT ME!
y - DOCUMENT ME!
w - DOCUMENT ME!
h - DOCUMENT ME!
weightx - DOCUMENT ME!
weighty - DOCUMENT ME!
f - DOCUMENT ME!

createColorLabel

public static JLabel createColorLabel(Color c)
DOCUMENT ME!

Parameters:
c - DOCUMENT ME!
Returns:
DOCUMENT ME!

www.cytoscape.org