public class JRenameModel extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ACTION_ACCEPT |
static int |
ACTION_CANCEL |
Constructor and Description |
---|
JRenameModel(ScriptingManager manager,
ScriptingUnit unit) |
Modifier and Type | Method and Description |
---|---|
int |
getAction() |
String |
getNewName() |
ScriptingUnit |
getUnit() |
void |
setAction(int action) |
void |
setNewName(String newName) |
void |
setUnit(ScriptingUnit unit) |
void |
validate() |
public static final int ACTION_CANCEL
public static final int ACTION_ACCEPT
public JRenameModel(ScriptingManager manager, ScriptingUnit unit)
public void setAction(int action)
public int getAction()
public void setNewName(String newName)
public String getNewName()
public void setUnit(ScriptingUnit unit)
public ScriptingUnit getUnit()