|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atomikos.vendor.NodeLicensePanel
public class NodeLicensePanel
Copyright © 2003 Guy Pardon, Atomikos. All rights reserved.
| Constructor Summary | |
|---|---|
NodeLicensePanel(String[] products,
ResourceBundle resources,
int expiryInMonths)
|
|
| 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 NodeLicensePanel(String[] products,
ResourceBundle resources,
int expiryInMonths)
resources - | Method Detail |
|---|
protected JPanel getJPanel()
protected void saveToFile(String file)
throws IOException
file - The file where the license should go.
IOException - On IO errors.public void newProperty(PropertiesTableModel table)
PropertyListener
newProperty in interface PropertyListenertable - The table model.
public void editProperty(PropertiesTableModel table,
int index)
PropertyListener
editProperty in interface PropertyListenertable - The table model.index - Indicates which row to edit.
public void deleteProperty(PropertiesTableModel table,
int index)
PropertyListener
deleteProperty in interface PropertyListenertable - The table model.index - The index of the row to delete.protected String getResource(String name)
protected String getProductName()
protected String getSecretKey()
protected long getExpiryDate(int months)
protected String getOwner()
protected long getExpiryDate()
protected Properties getFeatures()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||