|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atomikos.vendor.EvaluationLicensePanel
public class EvaluationLicensePanel
Copyright © 2003 Guy Pardon, Atomikos. All rights reserved.
Constructor Summary | |
---|---|
EvaluationLicensePanel(String[] products,
ResourceBundle resources)
|
Method Summary | |
---|---|
void |
deleteProperty(PropertiesTableModel table,
int index)
Notification that the delete button was pressed, and thus the indicated property should be deleted from the table. |
void |
editProperty(PropertiesTableModel table,
int index)
Notification that the edit button was pressed, and the user thus wishes to edit the currently selected property in the given table. |
protected long |
getExpiryDate()
|
protected long |
getExpiryDate(int months)
|
protected Properties |
getFeatures()
|
protected JPanel |
getJPanel()
|
protected String |
getOwner()
|
protected String |
getProductName()
|
protected String |
getResource(String name)
|
protected String |
getSecretKey()
|
void |
newProperty(PropertiesTableModel table)
Notification that the new button was pressed, and the user thus wishes to insert a new property in the given table. |
protected void |
saveToFile(String file)
This method is called when the user confirms that the license should be saved. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EvaluationLicensePanel(String[] products, ResourceBundle resources)
resources
- Method Detail |
---|
protected void saveToFile(String file) throws IOException
file
- The file where the license should go.
IOException
- On IO errors.protected String getResource(String name)
protected JPanel getJPanel()
protected String getProductName()
protected String getSecretKey()
protected long getExpiryDate(int months)
protected String getOwner()
protected long getExpiryDate()
protected Properties getFeatures()
public void deleteProperty(PropertiesTableModel table, int index)
PropertyListener
deleteProperty
in interface PropertyListener
table
- The table model.index
- The index of the row to delete.public void editProperty(PropertiesTableModel table, int index)
PropertyListener
editProperty
in interface PropertyListener
table
- The table model.index
- Indicates which row to edit.public void newProperty(PropertiesTableModel table)
PropertyListener
newProperty
in interface PropertyListener
table
- The table model.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |