Interface.Setup| Modifier and Type | Method and Description |
|---|---|
int |
addDevice(String path,
String model) |
int |
addNode(String name,
String usage) |
void |
clearNciFlag(int nid,
int flagMask) |
void |
close() |
static void |
closeSetups() |
void |
dataChanged(int... nids) |
void |
deleteNode(int nid) |
int |
doAction(int nid) |
void |
doDeviceMethod(int nid,
String method) |
String |
execute(String expr) |
Data |
getData(int nid) |
String |
getDataExpr(int nid) |
int |
getDefault() |
double |
getDouble(String expr) |
float |
getFloat(int nid) |
float |
getFloat(String expr) |
float[] |
getFloatArray(int nid) |
float[] |
getFloatArray(String expr) |
String |
getFullPath(int nid) |
NodeInfo |
getInfo(int nid) |
int |
getInt(int nid) |
int |
getInt(String expr) |
int[] |
getIntArray(int nid) |
int[] |
getIntArray(String expr) |
int[] |
getMembers(int nid) |
String |
getName() |
boolean |
getNciFlag(int nid,
int flagId) |
int |
getNciFlags(int nid) |
int |
getNode(String path) |
String |
getNodeName(int nid) |
int |
getNumConglomerateNids(int nid) |
int |
getShot() |
int[] |
getSons(int nid) |
String |
getString(String expr) |
String[] |
getStringArray(String expr) |
String[] |
getTags(int nid) |
String |
getUsage(int nid) |
int[] |
getWild(int usage_mask) |
int[] |
getWild(int nid,
int usage_mask) |
boolean |
isEditable() |
boolean |
isOn(int nid) |
boolean |
isOpen() |
boolean |
isReadonly() |
void |
open() |
void |
putData(int nid,
Data data) |
void |
putDataExpr(int nid,
String expr) |
void |
quit() |
void |
renameNode(int nid,
String name) |
void |
setDefault(int nid) |
void |
setEditable(boolean editable) |
void |
setNciFlag(int nid,
int flagId) |
void |
setOn(int nid,
boolean on) |
void |
setReadonly(boolean readonly) |
void |
setSubtree(int nid) |
void |
setTags(int nid,
String[] tags) |
static Interface.Setup |
showSetup(int nid,
String model,
Tree tree) |
void |
write() |
public Database(Tree tree)
public static void closeSetups()
public static Interface.Setup showSetup(int nid, String model, Tree tree) throws Exception
Exceptionpublic void dataChanged(int... nids)
dataChanged in interface Interfacepublic void doDeviceMethod(int nid,
String method)
throws Exception
doDeviceMethod in interface InterfaceExceptionpublic String getDataExpr(int nid) throws Exception
getDataExpr in interface InterfaceExceptionpublic int getDefault()
throws Exception
getDefault in interface InterfaceExceptionpublic float[] getFloatArray(String expr) throws Exception
getFloatArray in interface InterfaceExceptionpublic String getFullPath(int nid) throws Exception
getFullPath in interface InterfaceExceptionpublic int[] getIntArray(String expr) throws Exception
getIntArray in interface InterfaceExceptionpublic String getNodeName(int nid) throws Exception
getNodeName in interface InterfaceExceptionpublic int getNumConglomerateNids(int nid)
throws Exception
getNumConglomerateNids in interface InterfaceExceptionpublic String[] getStringArray(String expr) throws Exception
getStringArray in interface InterfaceExceptionpublic boolean isEditable()
public boolean isOn(int nid)
throws Exception
public boolean isOpen()
public boolean isReadonly()
public void putDataExpr(int nid,
String expr)
throws Exception
putDataExpr in interface InterfaceExceptionpublic void setDefault(int nid)
throws Exception
setDefault in interface InterfaceExceptionpublic void setEditable(boolean editable)
public void setOn(int nid,
boolean on)
throws Exception
public void setReadonly(boolean readonly)
Copyright © 2022. All rights reserved.