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

Public Member Functions

 CtrlPropModel (DBase component)
 
void createProperties (DBase cl)
 
int getColumnCount ()
 
int getRowCount ()
 
Property getPropertyAt (int row)
 
Object getValueAt (int rowIndex, int columnIndex)
 
void setValueAt (Object aValue, int rowIndex, int columnIndex)
 
String getColumnName (int col)
 
boolean isCellEditable (int row, int col)
 
void hasBeenChanged ()
 

Private Attributes

String[] columnNames = new String[]{"Property", "Value"}
 
Property[] propData
 

Member Function Documentation

void g4p.tool.gui.propertygrid.CtrlPropModel.createProperties ( DBase  cl)

Given a GUI control object make a Property object for each public field that starts with an underscore.

Parameters
cl
void g4p.tool.gui.propertygrid.CtrlPropModel.setValueAt ( Object  aValue,
int  rowIndex,
int  columnIndex 
)

This must be used when changing the value in a field to ensure an event is generated to be caught and display in the GUI table


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