1421 |
} |
} |
1422 |
|
|
1423 |
/** |
/** |
1424 |
* Set the value of the {@link #autoCreateColumnsFromModel} property. |
* Set the value of the {@link #autoCreateColumnsFromModel} flag. If the |
1425 |
|
* flag changes from <code>false</code> to <code>true</code>, the |
1426 |
|
* {@link #createDefaultColumnsFromModel()} method is called. |
1427 |
* |
* |
1428 |
* @param a The new value of the autoCreateColumnsFromModel property |
* @param autoCreate the new value of the flag. |
1429 |
*/ |
*/ |
1430 |
public void setAutoCreateColumnsFromModel(boolean a) |
public void setAutoCreateColumnsFromModel(boolean autoCreate) |
1431 |
{ |
{ |
1432 |
autoCreateColumnsFromModel = a; |
if (autoCreateColumnsFromModel != autoCreate) |
1433 |
|
{ |
1434 |
|
autoCreateColumnsFromModel = autoCreate; |
1435 |
|
if (autoCreate) |
1436 |
|
createDefaultColumnsFromModel(); |
1437 |
|
} |
1438 |
} |
} |
1439 |
|
|
1440 |
/** |
/** |