Module org.autogui

Class GuiSwingTableColumnEmbeddedComponent

java.lang.Object
org.autogui.swing.table.GuiSwingTableColumnEmbeddedComponent
All Implemented Interfaces:
GuiSwingElement, GuiSwingTableColumn

public class GuiSwingTableColumnEmbeddedComponent extends Object implements GuiSwingTableColumn
a column factory for JComponent

The renderer is realized by GuiSwingTableColumnEmbeddedComponent.ColumnEmbeddedPane. The editor is realized by GuiSwingTableColumnEmbeddedComponent.ColumnEditEmbeddedPane.

To achieve active repainting of value-components, GuiSwingTableColumnEmbeddedComponent.EmbeddedComponentRepaintManager is used. Renderer and editor share the manager with mappings between the value-component and (row,col). Also, it installs the value-component GuiSwingTableColumnEmbeddedComponent.EmbeddedComponentHierarchyMaintainer for observe removed components and it can immediately add a orphan component to GuiSwingTableColumnEmbeddedComponent.EmbeddedComponentOrphanPane. The client can call repaint() of the parent component of the value-component in order to updating cells.