|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.sqlpower.architect.swingui.ContainerPaneUI
ca.sqlpower.architect.swingui.TablePaneUI
ca.sqlpower.architect.swingui.BasicTablePaneUI
public class BasicTablePaneUI
| Field Summary | |
|---|---|
static int |
BOX_LINE_THICKNESS
Thickness (in Java2D units) of the surrounding box. |
static int |
GAP
Amount of space left between the surrounding box and the text it contains. |
protected int |
minimumWidth
Doesn't return a preferredSize with width less than this. |
static int |
PK_GAP
The amount of extra (vertical) space between the PK columns and the non-PK columns. |
protected java.awt.Color |
selectedColor
Colour of the text background for selected columns. |
| Constructor Summary | |
|---|---|
BasicTablePaneUI()
|
|
| Method Summary | |
|---|---|
int |
columnIndexToCentreY(int colidx)
This delegate method is specified by TablePane.columnIndexToCentreY(int). |
boolean |
contains(java.awt.Point p)
|
static PlayPenComponentUI |
createUI(PlayPenComponent c)
|
java.awt.Dimension |
getPreferredSize()
|
java.awt.Dimension |
getPreferredSize(PlayPenComponent ppc)
|
void |
installUI(PlayPenComponent c)
|
void |
paint(java.awt.Graphics2D g)
|
void |
paint(java.awt.Graphics g,
PlayPenComponent c)
|
int |
pointToItemIndex(java.awt.Point p)
This method is specified by TablePane.pointToColumnIndex(). |
void |
propertyChange(java.beans.PropertyChangeEvent e)
Tells the component to revalidate (also causes a repaint) if the given property change makes this necessary (any properties rendered visibly repainting necessary). |
void |
revalidate()
|
void |
uninstallUI(PlayPenComponent c)
|
| Methods inherited from class ca.sqlpower.architect.swingui.ContainerPaneUI |
|---|
paintInsertionPoint |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int BOX_LINE_THICKNESS
public static final int GAP
public static final int PK_GAP
protected java.awt.Color selectedColor
protected int minimumWidth
| Constructor Detail |
|---|
public BasicTablePaneUI()
| Method Detail |
|---|
public static PlayPenComponentUI createUI(PlayPenComponent c)
public void installUI(PlayPenComponent c)
installUI in interface PlayPenComponentUIpublic void uninstallUI(PlayPenComponent c)
uninstallUI in interface PlayPenComponentUIpublic void paint(java.awt.Graphics2D g)
paint in interface PlayPenComponentUI
public void paint(java.awt.Graphics g,
PlayPenComponent c)
public java.awt.Dimension getPreferredSize()
getPreferredSize in interface PlayPenComponentUIpublic java.awt.Dimension getPreferredSize(PlayPenComponent ppc)
public int pointToItemIndex(java.awt.Point p)
pointToItemIndex in class ContainerPaneUIpublic int columnIndexToCentreY(int colidx)
TablePaneUITablePane.columnIndexToCentreY(int).
columnIndexToCentreY in class TablePaneUIpublic void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange in interface java.beans.PropertyChangeListenerpublic boolean contains(java.awt.Point p)
contains in interface PlayPenComponentUIpublic void revalidate()
revalidate in interface PlayPenComponentUI
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||