| workbench.gui.renderer.ToolTipRenderer workbench.gui.renderer.StringColumnRenderer
StringColumnRenderer | public class StringColumnRenderer extends ToolTipRenderer (Code) | | This is basically a ToolTipRenderer, but for performance
reasons we are assuming the values are all of type string.
So we can use a type cast in the getDisplay() method
instead of toString() which is much faster when no exceptions
are thrown.
author: support@sql-workbench.net |
StringColumnRenderer | public StringColumnRenderer()(Code) | | |
prepareDisplay | public void prepareDisplay(Object aValue)(Code) | | |
Methods inherited from workbench.gui.renderer.ToolTipRenderer | protected boolean checkHighlightExpression()(Code)(Java Doc) protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc) protected Color getBackgroundColor()(Code)(Java Doc) public String getDisplayValue()(Code)(Java Doc) protected Color getForegroundColor()(Code)(Java Doc) public int getHorizontalAlignment()(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public Component getTableCellRendererComponent(JTable table, Object value, boolean selected, boolean focus, int row, int col)(Code)(Java Doc) public String getToolTipText()(Code)(Java Doc) protected void initDisplay(JTable table, Object value, boolean selected, boolean focus, int row, int col)(Code)(Java Doc) public boolean isOpaque()(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) public void prepareDisplay(Object value)(Code)(Java Doc) public void print(Graphics g)(Code)(Java Doc) public void setEditingRow(int row)(Code)(Java Doc) public void setHighlightBackground(Color c)(Code)(Java Doc) public void setHighlightColumns(boolean[] cols)(Code)(Java Doc) public void setHorizontalAlignment(int align)(Code)(Java Doc) protected void setTooltip(String tip)(Code)(Java Doc) public void setUseAlternatingColors(boolean flag)(Code)(Java Doc) public void setVerticalAlignment(int align)(Code)(Java Doc)
|
|
|