Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ikayaki.gui.StyledWrapper Class Reference

List of all members.

Public Member Functions

Override Object clone ()

Public Attributes

Object value
int horizontalAlignment = SwingConstants.LEADING
int verticalAlignment = SwingConstants.CENTER
boolean opaque = true
Border border = null
Border selectedBorder = null
Border focusBorder = null
Border selectedFocusBorder = null
Color background = null
Color selectedBackground = null
Color focusBackground = null
Color selectedFocusBackground = null
Color foreground = null
Font font = null

Detailed Description

Wrapper class for holding the value to be rendered and its style parameters. Used by StyledTableCellRenderer and StyledCellEditor.

Author:
Esko Luontola

Definition at line 35 of file StyledWrapper.java.


Member Function Documentation

Override Object ikayaki.gui.StyledWrapper.clone  ) 
 

Creates and returns a copy of this object. The value property of the copy will be null.

Definition at line 116 of file StyledWrapper.java.

References ikayaki.gui.null, and ikayaki.gui.StyledWrapper.value.


Member Data Documentation

Color ikayaki.gui.StyledWrapper.background = null
 

The background color of this component or null to use the parent's background color.

Definition at line 85 of file StyledWrapper.java.

Referenced by ikayaki.gui.StyledTableCellRenderer.getTableCellRendererComponent().

Border ikayaki.gui.StyledWrapper.border = null
 

The border of this component or null if no border is currently set.

Definition at line 63 of file StyledWrapper.java.

Referenced by ikayaki.gui.StyledTableCellRenderer.getTableCellRendererComponent().

Color ikayaki.gui.StyledWrapper.focusBackground = null
 

The background color of this component when it has focus or null to use the parent's background color.

Definition at line 95 of file StyledWrapper.java.

Referenced by ikayaki.gui.StyledTableCellRenderer.getTableCellRendererComponent().

Border ikayaki.gui.StyledWrapper.focusBorder = null
 

The border of this component when it has focus or null to use the default border.

Definition at line 73 of file StyledWrapper.java.

Referenced by ikayaki.gui.StyledTableCellRenderer.getTableCellRendererComponent().

Font ikayaki.gui.StyledWrapper.font = null
 

The font of this component or null to use the parent's font.

Definition at line 111 of file StyledWrapper.java.

Referenced by ikayaki.gui.MeasurementDetailsPanel.DetailsTableModel.DetailsTableModel(), ikayaki.gui.MeasurementDetailsPanel.ErrorsTableModel.ErrorsTableModel(), ikayaki.gui.StyledCellEditor.getTableCellEditorComponent(), ikayaki.gui.StyledTableCellRenderer.getTableCellRendererComponent(), ikayaki.gui.StyledCellEditor.getTreeCellEditorComponent(), and ikayaki.gui.ProjectExplorerTable.ProjectExplorerTableModel.getValueAt().

Color ikayaki.gui.StyledWrapper.foreground = null
 

The foreground color of this component or null to use the parent's foreground color.

Definition at line 106 of file StyledWrapper.java.

Referenced by ikayaki.gui.StyledCellEditor.getTableCellEditorComponent(), ikayaki.gui.StyledTableCellRenderer.getTableCellRendererComponent(), and ikayaki.gui.StyledCellEditor.getTreeCellEditorComponent().

int ikayaki.gui.StyledWrapper.horizontalAlignment = SwingConstants.LEADING
 

The value of the horizontalAlignment property, one of the following constants defined in SwingConstants: LEFT, CENTER, RIGHT, LEADING or TRAILING.

Definition at line 46 of file StyledWrapper.java.

Referenced by ikayaki.gui.MeasurementDetailsPanel.DetailsTableModel.DetailsTableModel(), ikayaki.gui.MeasurementDetailsPanel.ErrorsTableModel.ErrorsTableModel(), ikayaki.gui.StyledCellEditor.getTableCellEditorComponent(), ikayaki.gui.StyledTableCellRenderer.getTableCellRendererComponent(), and ikayaki.gui.StyledCellEditor.getTreeCellEditorComponent().

boolean ikayaki.gui.StyledWrapper.opaque = true
 

If true the component paints every pixel within its bounds. Otherwise, the component may not paint some or all of its pixels, allowing the underlying pixels to show through.

Definition at line 58 of file StyledWrapper.java.

Referenced by ikayaki.gui.StyledTableCellRenderer.getTableCellRendererComponent().

Color ikayaki.gui.StyledWrapper.selectedBackground = null
 

The background color of this component when it is selected or null to use the parent's background color.

Definition at line 90 of file StyledWrapper.java.

Referenced by ikayaki.gui.StyledTableCellRenderer.getTableCellRendererComponent().

Border ikayaki.gui.StyledWrapper.selectedBorder = null
 

The border of this component when it is selected or null to use the default border.

Definition at line 68 of file StyledWrapper.java.

Referenced by ikayaki.gui.StyledTableCellRenderer.getTableCellRendererComponent().

Color ikayaki.gui.StyledWrapper.selectedFocusBackground = null
 

The background color of this component when it is selected and has focus or null to use the parent's background color.

Definition at line 101 of file StyledWrapper.java.

Referenced by ikayaki.gui.StyledTableCellRenderer.getTableCellRendererComponent().

Border ikayaki.gui.StyledWrapper.selectedFocusBorder = null
 

The border of this component when it is selected and has focus or null to use the default border.

Definition at line 78 of file StyledWrapper.java.

Referenced by ikayaki.gui.StyledTableCellRenderer.getTableCellRendererComponent().

Object ikayaki.gui.StyledWrapper.value
 

The wrapped value.

Definition at line 40 of file StyledWrapper.java.

Referenced by ikayaki.gui.StyledWrapper.clone(), ikayaki.gui.StyledCellEditor.getTableCellEditorComponent(), ikayaki.gui.StyledTableCellRenderer.getTableCellRendererComponent(), ikayaki.gui.StyledCellEditor.getTreeCellEditorComponent(), ikayaki.gui.ProjectExplorerTable.ProjectExplorerTableModel.getValueAt(), ikayaki.gui.PrintPanel.PrintSequenceTableModel.getValueAt(), ikayaki.gui.MeasurementDetailsPanel.ErrorsTableModel.wrap(), and ikayaki.gui.MeasurementDetailsPanel.DetailsTableModel.wrap().

int ikayaki.gui.StyledWrapper.verticalAlignment = SwingConstants.CENTER
 

The value of the verticalAlignment property, one of the following constants defined in SwingConstants: TOP, CENTER, or BOTTOM.

Definition at line 52 of file StyledWrapper.java.

Referenced by ikayaki.gui.StyledTableCellRenderer.getTableCellRendererComponent().


The documentation for this class was generated from the following file:
Generated on Fri May 6 16:01:13 2005 for Squid by  doxygen 1.4.1