public class DataChangeListener
extends java.lang.Object
Constructor and Description |
---|
DataChangeListener() |
Modifier and Type | Method and Description |
---|---|
boolean |
dataChanged() |
javax.swing.JFrame |
getFrame() |
void |
setDataChanged(boolean b)
Allows to set the flag indicating that the data has
changed to true or false.
|
void |
setFrame(javax.swing.JFrame f) |
void |
setTitleName(java.lang.String s) |
void |
setTitleString()
Write the title of the CHESS frame with the actual CHESS script file,
adding a '*' if the file is modified but not yet saved.
|
public boolean dataChanged()
public void setFrame(javax.swing.JFrame f)
f
- framepublic javax.swing.JFrame getFrame()
public void setTitleName(java.lang.String s)
s
- new name to be displayed in the titlepublic void setDataChanged(boolean b)
b
- true if the settings are changedpublic void setTitleString()
JHepSim. A part of HSTOOLS. version-1.2