| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.gargoylesoftware.base.gui.TableLayoutDebuggingPanel
A special panel that when used with a TableLayout, will draw all the table cell boundaries. This is intended for use when debugging only.
| Nested Class Summary | 
| Nested classes inherited from class javax.swing.JPanel | 
JPanel.AccessibleJPanel | 
| Nested classes inherited from class javax.swing.JComponent | 
JComponent.AccessibleJComponent | 
| Nested classes inherited from class java.awt.Container | 
Container.AccessibleAWTContainer | 
| Nested classes inherited from class java.awt.Component | 
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy | 
| Field Summary | 
| Fields inherited from class javax.swing.JComponent | 
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW | 
| Fields inherited from class java.awt.Component | 
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT | 
| Fields inherited from interface java.awt.image.ImageObserver | 
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH | 
| Constructor Summary | |
TableLayoutDebuggingPanel()
Create a new panel with a default line colour of red.  | 
|
TableLayoutDebuggingPanel(LayoutManager layout)
Create a new panel with the specified layout and a default line colour of red.  | 
|
| Method Summary | |
protected  void | 
assertNotNull(String fieldName,
              Object fieldValue)
Verify that the specified value is not null.  | 
 Color | 
getLineColor()
Return the current line colour.  | 
 boolean | 
isGridLinesEnabled()
Return true if the grid lines are enabled.  | 
 void | 
paint(Graphics g)
Override the painting logic to draw the gridlines.  | 
 void | 
setGridLinesEnabled(boolean enabled)
Set whether or not the grid lines are visible.  | 
 void | 
setLineColor(Color lineColor)
Set the line colour.  | 
| Methods inherited from class javax.swing.JPanel | 
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public TableLayoutDebuggingPanel()
public TableLayoutDebuggingPanel(LayoutManager layout)
layout - The new layout manager.| Method Detail | 
public void setLineColor(Color lineColor)
lineColor - The new line colour.public Color getLineColor()
public void paint(Graphics g)
g - The graphics object.public void setGridLinesEnabled(boolean enabled)
enabled - True if the grid lines are to be shown.public boolean isGridLinesEnabled()
protected final void assertNotNull(String fieldName,
                                   Object fieldValue)
                            throws DetailedNullPointerException
fieldName - The name of the field to checkfieldValue - The value of the field to check
DetailedNullPointerException - If fieldValue is null
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||