SandMark version 2.0


sandmark.gui
Class LightRenderer

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JLabel
                          |
                          +--javax.swing.table.DefaultTableCellRenderer
                                |
                                +--sandmark.gui.LightRenderer
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, SandMarkGUIConstants, java.io.Serializable, SMarkGUIConstants, javax.swing.SwingConstants, javax.swing.table.TableCellRenderer

public class LightRenderer
extends javax.swing.table.DefaultTableCellRenderer
implements SandMarkGUIConstants

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.table.DefaultTableCellRenderer
javax.swing.table.DefaultTableCellRenderer.UIResource
 
Nested classes inherited from class javax.swing.JLabel
javax.swing.JLabel.AccessibleJLabel
 
Nested classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
 
Fields inherited from class javax.swing.table.DefaultTableCellRenderer
noFocusBorder
 
Fields inherited from class javax.swing.JLabel
labelFor
 
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.Container
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface sandmark.gui.SandMarkGUIConstants
_12_CHARS_WIDE, ALL_NODE_SELECTION_TYPE, CANCEL_OPTION, CLASS_DIALOG_DIMS, CLASS_STAT_DIALOG_WIDTH_0, CLASS_STAT_DIALOG_WIDTH_1, CLASS_STAT_DIALOG_WIDTH_2, CLASS_STAT_DIALOG_WIDTH_3, CLASS_STAT_DIALOG_WIDTH_4, CLASS_STAT_DIALOG_WIDTH_5, CLASS_STAT_DIALOG_WIDTH_6, DARK_SAND_COLOR, DEFAULT_VALUES, FULL_OBFUSCATION, GREEN_LIGHT_IMAGE, HALF_OBFUSCATION, JDIALOG_OFFSET, LOGO_IMAGE, METHOD_DIALOG_DIMS, METHOD_STAT_DIALOG_WIDTH_0, METHOD_STAT_DIALOG_WIDTH_1, METHOD_STAT_DIALOG_WIDTH_2, METHOD_STAT_DIALOG_WIDTH_3, METHOD_STAT_DIALOG_WIDTH_4, METHOD_STAT_DIALOG_WIDTH_5, METHOD_STAT_DIALOG_WIDTH_6, NO_OBFUSCATION, NS_PANEL_DIMS, OK_OPTION, PACKAGE, PACKAGE_DIALOG_DIMS, PACKAGE_STAT_DIALOG_WIDTH_0, PERMUTATION_ENCODING_TYPE, RADIX_ENCODING_TYPE, RED_LIGHT_IMAGE, ROOT_NODE_SELECTION_TYPE, ROOT_PATH, SAND_COLOR, SAND_IMAGE, TITLE, W_PANEL_DIMS, YELLOW_LIGHT_IMAGE
 
Fields inherited from interface sandmark.gui.SMarkGUIConstants
ALGORITHM_LABEL_X, ALGORITHM_LABEL_Y, ARGUMENTS_LABEL_X, ARGUMENTS_LABEL_Y, BROWSE_BUTTON_X, BROWSE_BUTTON_Y, CLASSPATH_LABEL_X, CLASSPATH_LABEL_Y, COLS20, COLS30, CONFIGURE_BUTTON_X, CONFIGURE_BUTTON_Y, DONE_BUTTON_X, DONE_BUTTON_Y, EMBED_BUTTON_X, EMBED_BUTTON_Y, EMBED_LABEL_X, EMBED_LABEL_Y, JARFILE_LABEL_X, JARFILE_LABEL_Y, KEY_LABEL_X, KEY_LABEL_Y, MAIN_LABEL_X, MAIN_LABEL_Y, NEXT_BUTTON_X, NEXT_BUTTON_Y, OBFUSCATE_BUTTON_X, OBFUSCATE_BUTTON_Y, OBFUSCATED_LABEL_X, OBFUSCATED_LABEL_Y, OPTIMIZE_BUTTON_X, OPTIMIZE_BUTTON_Y, OPTIMIZED_LABEL_X, OPTIMIZED_LABEL_Y, RANDOM_BUTTON_X, RANDOM_BUTTON_Y, RECOGNIZE_BUTTON_X, RECOGNIZE_BUTTON_Y, RECOGNIZE_LABEL_X, RECOGNIZE_LABEL_Y, ROWS1, ROWS6, START_BUTTON_X, START_BUTTON_Y, STATISTICS_BUTTON_X, STATISTICS_BUTTON_Y, TEXTAREA_X, TEXTAREA_Y, TRACE_BUTTON_X, TRACE_BUTTON_Y, TRACE_LABEL_X, TRACE_LABEL_Y, TRACEFILE_LABEL_X, TRACEFILE_LABEL_Y, VIEW_BUTTON_X, VIEW_BUTTON_Y, WATERMARKS_LABEL_X, WATERMARKS_LABEL_Y, WMARKJAR_LABEL_X, WMARKJAR_LABEL_Y, WMARKVALUE_LABEL_X, WMARKVALUE_LABEL_Y
 
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
LightRenderer()
          Constructs a new LightRenderer with the default values.
 
Method Summary
 java.awt.Component getTableCellRendererComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, boolean hasFocus, int row, int column)
          Returns the Component that this cell's value translates to.
 
Methods inherited from class javax.swing.table.DefaultTableCellRenderer
firePropertyChange, firePropertyChange, isOpaque, repaint, repaint, revalidate, setBackground, setForeground, setValue, updateUI, validate
 
Methods inherited from class javax.swing.JLabel
checkHorizontalKey, checkVerticalKey, getAccessibleContext, getDisabledIcon, getDisplayedMnemonic, getDisplayedMnemonicIndex, getHorizontalAlignment, getHorizontalTextPosition, getIcon, getIconTextGap, getLabelFor, getText, getUI, getUIClassID, getVerticalAlignment, getVerticalTextPosition, imageUpdate, paramString, setDisabledIcon, setDisplayedMnemonic, setDisplayedMnemonic, setDisplayedMnemonicIndex, setHorizontalAlignment, setHorizontalTextPosition, setIcon, setIconTextGap, setLabelFor, setText, setUI, setVerticalAlignment, setVerticalTextPosition
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LightRenderer

public LightRenderer()
Constructs a new LightRenderer with the default values.

Method Detail

getTableCellRendererComponent

public java.awt.Component getTableCellRendererComponent(javax.swing.JTable table,
                                                        java.lang.Object value,
                                                        boolean isSelected,
                                                        boolean hasFocus,
                                                        int row,
                                                        int column)
Returns the Component that this cell's value translates to.

Specified by:
getTableCellRendererComponent in interface javax.swing.table.TableCellRenderer
Overrides:
getTableCellRendererComponent in class javax.swing.table.DefaultTableCellRenderer
Parameters:
table - the JTable that this Component is in.
value - the current value at the cell in the specified JTable
isSelected - true if the cell is currently selected
hasFocus - true if the cell has focus
row - the row of the cell
column - the column of the cell
Returns:
the Component that this cell's value translates to.

SandMark version 2.0

Mon Jun 17 12:30:47 MST 2002