G4P GUI Builder  4.4
Visual GUI designer for the G4P v4.3.1 library
 All Classes Namespaces Functions Variables
g4p.tool.gui.propertygrid.CtrlPropView Class Reference
Inheritance diagram for g4p.tool.gui.propertygrid.CtrlPropView:

Public Member Functions

void setViewLinks (CtrlTabView tabs, CtrlSketchView tree)
 
void updateModelFor (DBase comp)
 
void showProprtiesFor (DBase comp)
 
String getColumnName (int col)
 
Object getValueAt (int rowIndex, int columnIndex)
 
void tableChanged (TableModelEvent e)
 
TableCellEditor getCellEditor (int row, int col)
 
TableCellRenderer getCellRenderer (int row, int col)
 
void modelHasBeenChanged ()
 
void updateProperty (Object value, int row, int col)
 
String getToolTipText (MouseEvent e)
 

Private Attributes

CtrlTabView tabs
 
CtrlSketchView tree
 

Detailed Description

A view of the property grid.

Author
Peter Lager

Member Function Documentation

TableCellEditor g4p.tool.gui.propertygrid.CtrlPropView.getCellEditor ( int  row,
int  col 
)

Get a cell editor and a validator.

If no editor available use default editor and renderer

Object g4p.tool.gui.propertygrid.CtrlPropView.getValueAt ( int  rowIndex,
int  columnIndex 
)

Retrieve a value from a given position in the table

void g4p.tool.gui.propertygrid.CtrlPropView.showProprtiesFor ( DBase  comp)

This method should be called when the selected object in either tab or tree view changes

void g4p.tool.gui.propertygrid.CtrlPropView.tableChanged ( TableModelEvent  e)

This method is triggered when a value in the table is changed using the setValueAt method in the CtrlPropModel class.


The documentation for this class was generated from the following file: