Groovy 1.8.3

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()

Component getComponent()

@deprecated Simply returns this

int nextRowIndex()

Creates a new row index for child

void setCellpadding(int cellpadding)

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


getComponent

public Component getComponent()
deprecated:
Simply returns this
Returns:
this


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-2011 The Codehaus. All rights reserved.