net.sf.jguiraffe.gui.platform.javafx.builder.components.table
the form for the current column
Installs a special ComponentManager proxy implementation for the current builder.
Installs a special ComponentManager proxy implementation for the current builder. This manager is used for executing the tags in a special sub form context.
the current tag opening the sub form context
the newly installed component manager
Registers a new cell at this manager.
Registers a new cell at this manager. This causes the body of the test tag to be executed again which creates a new form and a new UI. The form is associated with the passed in cell object. Thus it is accessed from the form representing the column whenever this cell is selected. The root component of the UI is returned.
the cell to be registered
the UI created during the tag execution
Selects the specified cell.
Selects the specified cell. This determines the form associated with this cell. It is filled with the current data values provided by the component handler proxies via the initFieldData() method.
the cell to be selected
the tag that created the form context controlled by this object
A class for managing a set of components to be used as renderers for a table cell.
The API of the JGUIraffe library allows that the display of a column in a table is defined using a renderer form. In contrast to the Swing-specific implementation (where the content of this form can simply be used as renderer component), in JavaFX this is not trivial to achieve. Here the main problem is that components (Nodes) may appear only once in the scene graph. Therefore, affected components have to be created multiple times - once for each existing table cell.
This class implements a solution for this problem. It works as follows: $ - A special proxy implementation for the ComponentManager interface is provided. Such a proxy is installed when a new form context for a column form is opened. $ - The special ComponentManager creates special ComponentHandler objects which are not associated with a specific control, but dynamically delegate to another handler based on the currently active table cell. $ - When a new cell is created, this object is asked to replay the body of the tag which has created the form context for a column. This time, the original ComponentManager is used; so the actual UI for this specific cell is created. $ - When the cell needs access to its data it ensures that it is selected as the active cell. Thus, the special ComponentHandler objects know from where to access the actual data.