Groovy 2.2.1

groovy.swing.impl
[Java] Class TableLayout

java.lang.Object
  java.awt.Component
      java.awt.Container
          javax.swing.JComponent
              javax.swing.JPanel
                  groovy.swing.impl.TableLayout

public class TableLayout
extends JPanel

Represents a HTML style table layout

Authors:
James Strachan
Version:
\$Revision\$


Field Summary
 
Fields inherited from class JPanel
WHEN_FOCUSED, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_IN_FOCUSED_WINDOW, UNDEFINED_CONDITION, TOOL_TIP_TEXT_KEY, TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, WIDTH, HEIGHT, PROPERTIES, SOMEBITS, FRAMEBITS, ALLBITS, ERROR, ABORT
 
Fields inherited from class JComponent
WHEN_FOCUSED, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_IN_FOCUSED_WINDOW, UNDEFINED_CONDITION, TOOL_TIP_TEXT_KEY, TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, WIDTH, HEIGHT, PROPERTIES, SOMEBITS, FRAMEBITS, ALLBITS, ERROR, ABORT
 
Constructor Summary
TableLayout()

  tags

Method Summary
void addCell(TableLayoutCell cell)

Adds a new cell to the current grid

int getCellpadding()

int nextRowIndex()

Creates a new row index for child

void setCellpadding(int cellpadding)

 
Methods inherited from class JPanel
getAccessibleContext, setUI, updateUI, getUIClassID, getUI, contains, getLocation, print, getSize, update, isOpaque, enable, disable, getBounds, setOpaque, getRootPane, setEnabled, isDoubleBuffered, setVisible, setForeground, setBackground, setFont, reshape, getX, getY, getWidth, getHeight, setPreferredSize, getPreferredSize, setMinimumSize, getMinimumSize, setMaximumSize, getMaximumSize, getAlignmentX, getAlignmentY, getBaseline, getBaselineResizeBehavior, revalidate, getGraphics, getFontMetrics, paint, repaint, repaint, printAll, getListeners, addNotify, removeNotify, setFocusTraversalKeys, requestFocus, requestFocus, requestFocusInWindow, firePropertyChange, firePropertyChange, firePropertyChange, isValidateRoot, getInsets, getInsets, addAncestorListener, setInheritsPopupMenu, getInheritsPopupMenu, setComponentPopupMenu, getComponentPopupMenu, isPaintingTile, isPaintingForPrint, isManagingFocus, setNextFocusableComponent, getNextFocusableComponent, setRequestFocusEnabled, isRequestFocusEnabled, grabFocus, setVerifyInputWhenFocusTarget, getVerifyInputWhenFocusTarget, setBorder, getBorder, setAlignmentY, setAlignmentX, setInputVerifier, getInputVerifier, setDebugGraphicsOptions, getDebugGraphicsOptions, registerKeyboardAction, registerKeyboardAction, unregisterKeyboardAction, getRegisteredKeyStrokes, getConditionForKeyStroke, getActionForKeyStroke, resetKeyboardActions, setInputMap, getInputMap, getInputMap, setActionMap, getActionMap, requestDefaultFocus, getDefaultLocale, setDefaultLocale, setToolTipText, getToolTipText, getToolTipText, getToolTipLocation, getPopupLocation, createToolTip, scrollRectToVisible, setAutoscrolls, getAutoscrolls, setTransferHandler, getTransferHandler, getClientProperty, putClientProperty, isLightweightComponent, computeVisibleRect, getVisibleRect, addVetoableChangeListener, removeVetoableChangeListener, getVetoableChangeListeners, getTopLevelAncestor, removeAncestorListener, getAncestorListeners, isOptimizedDrawingEnabled, paintImmediately, paintImmediately, setDoubleBuffered, add, add, add, add, add, remove, remove, list, list, removeAll, setLayout, layout, doLayout, getLayout, validate, setFocusCycleRoot, insets, setComponentZOrder, paintComponents, printComponents, addContainerListener, removeContainerListener, getContainerListeners, isAncestorOf, setFocusTraversalPolicy, isFocusTraversalPolicySet, setFocusTraversalPolicyProvider, isFocusTraversalPolicyProvider, transferFocusDownCycle, getMousePosition, preferredSize, minimumSize, invalidate, getComponentAt, getComponentAt, locate, deliverEvent, getFocusTraversalKeys, areFocusTraversalKeysSet, isFocusCycleRoot, isFocusCycleRoot, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, findComponentAt, findComponentAt, countComponents, getFocusTraversalPolicy, getComponents, getComponentZOrder, getComponent, getComponentCount, add, remove, toString, getName, contains, list, list, list, size, getParent, getLocation, setName, getSize, isValid, action, setSize, setSize, resize, resize, location, enable, isEnabled, move, getLocale, setLocale, bounds, getBounds, isLightweight, isDisplayable, isVisible, getPeer, setDropTarget, getDropTarget, getGraphicsConfiguration, getTreeLock, getToolkit, getMousePosition, isShowing, enableInputMethods, show, show, hide, getForeground, isForegroundSet, getBackground, isBackgroundSet, getFont, isFontSet, getColorModel, getLocationOnScreen, setLocation, setLocation, setBounds, setBounds, isPreferredSizeSet, isMinimumSizeSet, isMaximumSizeSet, setCursor, getCursor, isCursorSet, paintAll, repaint, repaint, repaint, imageUpdate, createImage, createImage, createVolatileImage, createVolatileImage, prepareImage, prepareImage, checkImage, checkImage, setIgnoreRepaint, getIgnoreRepaint, inside, dispatchEvent, postEvent, addComponentListener, removeComponentListener, getComponentListeners, addFocusListener, removeFocusListener, getFocusListeners, addHierarchyListener, removeHierarchyListener, getHierarchyListeners, addHierarchyBoundsListener, removeHierarchyBoundsListener, getHierarchyBoundsListeners, addKeyListener, removeKeyListener, getKeyListeners, addMouseListener, removeMouseListener, getMouseListeners, addMouseMotionListener, removeMouseMotionListener, getMouseMotionListeners, addMouseWheelListener, removeMouseWheelListener, getMouseWheelListeners, addInputMethodListener, removeInputMethodListener, getInputMethodListeners, getInputMethodRequests, getInputContext, handleEvent, mouseDown, mouseDrag, mouseUp, mouseMove, mouseEnter, mouseExit, keyDown, keyUp, gotFocus, lostFocus, isFocusTraversable, isFocusable, setFocusable, setFocusTraversalKeysEnabled, getFocusTraversalKeysEnabled, getFocusCycleRootAncestor, transferFocus, nextFocus, transferFocusBackward, transferFocusUpCycle, hasFocus, isFocusOwner, removePropertyChangeListener, removePropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, setComponentOrientation, getComponentOrientation, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll
 
Methods inherited from class JComponent
contains, getLocation, print, getSize, update, isOpaque, enable, disable, getBounds, setOpaque, getRootPane, setEnabled, isDoubleBuffered, setVisible, setForeground, setBackground, setFont, reshape, getX, getY, getWidth, getHeight, setPreferredSize, getPreferredSize, setMinimumSize, getMinimumSize, setMaximumSize, getMaximumSize, getAlignmentX, getAlignmentY, getBaseline, getBaselineResizeBehavior, revalidate, getGraphics, getFontMetrics, paint, repaint, repaint, printAll, getListeners, addNotify, removeNotify, setFocusTraversalKeys, requestFocus, requestFocus, requestFocusInWindow, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, isValidateRoot, getInsets, getInsets, updateUI, getUIClassID, addAncestorListener, setInheritsPopupMenu, getInheritsPopupMenu, setComponentPopupMenu, getComponentPopupMenu, isPaintingTile, isPaintingForPrint, isManagingFocus, setNextFocusableComponent, getNextFocusableComponent, setRequestFocusEnabled, isRequestFocusEnabled, grabFocus, setVerifyInputWhenFocusTarget, getVerifyInputWhenFocusTarget, setBorder, getBorder, setAlignmentY, setAlignmentX, setInputVerifier, getInputVerifier, setDebugGraphicsOptions, getDebugGraphicsOptions, registerKeyboardAction, registerKeyboardAction, unregisterKeyboardAction, getRegisteredKeyStrokes, getConditionForKeyStroke, getActionForKeyStroke, resetKeyboardActions, setInputMap, getInputMap, getInputMap, setActionMap, getActionMap, requestDefaultFocus, getDefaultLocale, setDefaultLocale, setToolTipText, getToolTipText, getToolTipText, getToolTipLocation, getPopupLocation, createToolTip, scrollRectToVisible, setAutoscrolls, getAutoscrolls, setTransferHandler, getTransferHandler, getClientProperty, putClientProperty, isLightweightComponent, computeVisibleRect, getVisibleRect, addVetoableChangeListener, removeVetoableChangeListener, getVetoableChangeListeners, getTopLevelAncestor, removeAncestorListener, getAncestorListeners, isOptimizedDrawingEnabled, paintImmediately, paintImmediately, setDoubleBuffered, add, add, add, add, add, remove, remove, list, list, removeAll, setLayout, layout, doLayout, getLayout, validate, setFocusCycleRoot, insets, setComponentZOrder, paintComponents, printComponents, addContainerListener, removeContainerListener, getContainerListeners, isAncestorOf, setFocusTraversalPolicy, isFocusTraversalPolicySet, setFocusTraversalPolicyProvider, isFocusTraversalPolicyProvider, transferFocusDownCycle, getMousePosition, preferredSize, minimumSize, invalidate, getComponentAt, getComponentAt, locate, deliverEvent, getFocusTraversalKeys, areFocusTraversalKeysSet, isFocusCycleRoot, isFocusCycleRoot, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, findComponentAt, findComponentAt, countComponents, getFocusTraversalPolicy, getComponents, getComponentZOrder, getComponent, getComponentCount, add, remove, toString, getName, contains, list, list, list, size, getParent, getLocation, setName, getSize, isValid, action, setSize, setSize, resize, resize, location, enable, isEnabled, move, getLocale, setLocale, bounds, getBounds, isLightweight, isDisplayable, isVisible, getPeer, setDropTarget, getDropTarget, getGraphicsConfiguration, getTreeLock, getToolkit, getMousePosition, isShowing, enableInputMethods, show, show, hide, getForeground, isForegroundSet, getBackground, isBackgroundSet, getFont, isFontSet, getColorModel, getLocationOnScreen, setLocation, setLocation, setBounds, setBounds, isPreferredSizeSet, isMinimumSizeSet, isMaximumSizeSet, setCursor, getCursor, isCursorSet, paintAll, repaint, repaint, repaint, imageUpdate, createImage, createImage, createVolatileImage, createVolatileImage, prepareImage, prepareImage, checkImage, checkImage, setIgnoreRepaint, getIgnoreRepaint, inside, dispatchEvent, postEvent, addComponentListener, removeComponentListener, getComponentListeners, addFocusListener, removeFocusListener, getFocusListeners, addHierarchyListener, removeHierarchyListener, getHierarchyListeners, addHierarchyBoundsListener, removeHierarchyBoundsListener, getHierarchyBoundsListeners, addKeyListener, removeKeyListener, getKeyListeners, addMouseListener, removeMouseListener, getMouseListeners, addMouseMotionListener, removeMouseMotionListener, getMouseMotionListeners, addMouseWheelListener, removeMouseWheelListener, getMouseWheelListeners, addInputMethodListener, removeInputMethodListener, getInputMethodListeners, getInputMethodRequests, getInputContext, handleEvent, mouseDown, mouseDrag, mouseUp, mouseMove, mouseEnter, mouseExit, keyDown, keyUp, gotFocus, lostFocus, isFocusTraversable, isFocusable, setFocusable, setFocusTraversalKeysEnabled, getFocusTraversalKeysEnabled, getFocusCycleRootAncestor, transferFocus, nextFocus, transferFocusBackward, transferFocusUpCycle, hasFocus, isFocusOwner, removePropertyChangeListener, removePropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, setComponentOrientation, getComponentOrientation, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll
 

Constructor Detail

TableLayout

public TableLayout()


 
Method Detail

addCell

public void addCell(TableLayoutCell cell)
Adds a new cell to the current grid
Parameters:
cell - the td component


getCellpadding

public int getCellpadding()


nextRowIndex

public int nextRowIndex()
Creates a new row index for child tags
Returns:
nextRowIndex the row number


setCellpadding

public void setCellpadding(int cellpadding)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.