hep.geant4.jni
Class G4UImanager
java.lang.Object
hep.geant4.jni.G4VStateDependent
hep.geant4.jni.G4UImanager
public class G4UImanager
- extends G4VStateDependent
Constructor Summary |
G4UImanager(long cPtr,
boolean cMemoryOwn)
|
Method Summary |
void |
addNewCommand(G4UIcommand newCommand)
|
int |
applyCommand(String aCommand)
|
void |
createHTML()
|
void |
createHTML(String dir)
|
void |
delete()
|
boolean |
equals(Object obj)
|
void |
executeMacroFile(String fileName)
|
protected void |
finalize()
|
void |
foreach(String macroFile,
String variableName,
String candidates)
|
void |
foreachS(String valueList)
|
static long |
getCPtr(G4UImanager obj)
|
double |
getCurrentDoubleValue(String aCommand)
|
double |
getCurrentDoubleValue(String aCommand,
int parameterNumber)
|
double |
getCurrentDoubleValue(String aCommand,
int parameterNumber,
boolean reGet)
|
double |
getCurrentDoubleValue(String aCommand,
String aParameterName)
|
double |
getCurrentDoubleValue(String aCommand,
String aParameterName,
boolean reGet)
|
int |
getCurrentIntValue(String aCommand)
|
int |
getCurrentIntValue(String aCommand,
int parameterNumber)
|
int |
getCurrentIntValue(String aCommand,
int parameterNumber,
boolean reGet)
|
int |
getCurrentIntValue(String aCommand,
String aParameterName)
|
int |
getCurrentIntValue(String aCommand,
String aParameterName,
boolean reGet)
|
String |
getCurrentStringValue(String aCommand)
|
String |
getCurrentStringValue(String aCommand,
int parameterNumber)
|
String |
getCurrentStringValue(String aCommand,
int parameterNumber,
boolean reGet)
|
String |
getCurrentStringValue(String aCommand,
String aParameterName)
|
String |
getCurrentStringValue(String aCommand,
String aParameterName,
boolean reGet)
|
String |
getCurrentValues(String aCommand)
|
int |
getMaxHistSize()
|
int |
getNumberOfHistory()
|
boolean |
getPauseAtBeginOfEvent()
|
boolean |
getPauseAtEndOfEvent()
|
String |
getPreviousCommand(int i)
|
G4UIsession |
getSession()
|
G4UIcommandTree |
getTree()
|
static G4UImanager |
getUIpointer()
|
int |
getVerboseLevel()
|
void |
listAlias()
|
void |
listCommands(String direc)
|
void |
loop(String macroFile,
String variableName,
double initialValue,
double finalValue)
|
void |
loop(String macroFile,
String variableName,
double initialValue,
double finalValue,
double stepSize)
|
void |
loopS(String valueList)
|
boolean |
notify(G4ApplicationState requestedState)
|
void |
removeAlias(String aliasName)
|
void |
removeCommand(G4UIcommand aCommand)
|
void |
setAlias(String aliasLine)
|
void |
setCoutDestination(G4UIsession value)
|
void |
setMaxHistSize(int mx)
|
void |
setPauseAtBeginOfEvent(boolean vl)
|
void |
setPauseAtEndOfEvent(boolean vl)
|
void |
setSession(G4UIsession value)
|
void |
setVerboseLevel(int val)
|
String |
solveAlias(String aCmd)
|
void |
storeHistory()
|
void |
storeHistory(boolean historySwitch)
|
void |
storeHistory(boolean historySwitch,
String fileName)
|
void |
storeHistory(String fileName)
|
G4UImanager
public G4UImanager(long cPtr,
boolean cMemoryOwn)
getCPtr
public static long getCPtr(G4UImanager obj)
finalize
protected void finalize()
throws Throwable
- Overrides:
finalize
in class G4VStateDependent
- Throws:
Throwable
delete
public void delete()
- Overrides:
delete
in class G4VStateDependent
equals
public boolean equals(Object obj)
- Overrides:
equals
in class G4VStateDependent
getUIpointer
public static G4UImanager getUIpointer()
getCurrentValues
public String getCurrentValues(String aCommand)
addNewCommand
public void addNewCommand(G4UIcommand newCommand)
removeCommand
public void removeCommand(G4UIcommand aCommand)
executeMacroFile
public void executeMacroFile(String fileName)
loop
public void loop(String macroFile,
String variableName,
double initialValue,
double finalValue,
double stepSize)
loop
public void loop(String macroFile,
String variableName,
double initialValue,
double finalValue)
foreach
public void foreach(String macroFile,
String variableName,
String candidates)
applyCommand
public int applyCommand(String aCommand)
storeHistory
public void storeHistory(String fileName)
storeHistory
public void storeHistory()
storeHistory
public void storeHistory(boolean historySwitch,
String fileName)
storeHistory
public void storeHistory(boolean historySwitch)
listCommands
public void listCommands(String direc)
setAlias
public void setAlias(String aliasLine)
removeAlias
public void removeAlias(String aliasName)
listAlias
public void listAlias()
solveAlias
public String solveAlias(String aCmd)
createHTML
public void createHTML(String dir)
createHTML
public void createHTML()
loopS
public void loopS(String valueList)
foreachS
public void foreachS(String valueList)
notify
public boolean notify(G4ApplicationState requestedState)
- Overrides:
notify
in class G4VStateDependent
getCurrentStringValue
public String getCurrentStringValue(String aCommand,
int parameterNumber,
boolean reGet)
getCurrentStringValue
public String getCurrentStringValue(String aCommand,
int parameterNumber)
getCurrentStringValue
public String getCurrentStringValue(String aCommand)
getCurrentIntValue
public int getCurrentIntValue(String aCommand,
int parameterNumber,
boolean reGet)
getCurrentIntValue
public int getCurrentIntValue(String aCommand,
int parameterNumber)
getCurrentIntValue
public int getCurrentIntValue(String aCommand)
getCurrentDoubleValue
public double getCurrentDoubleValue(String aCommand,
int parameterNumber,
boolean reGet)
getCurrentDoubleValue
public double getCurrentDoubleValue(String aCommand,
int parameterNumber)
getCurrentDoubleValue
public double getCurrentDoubleValue(String aCommand)
getCurrentStringValue
public String getCurrentStringValue(String aCommand,
String aParameterName,
boolean reGet)
getCurrentStringValue
public String getCurrentStringValue(String aCommand,
String aParameterName)
getCurrentIntValue
public int getCurrentIntValue(String aCommand,
String aParameterName,
boolean reGet)
getCurrentIntValue
public int getCurrentIntValue(String aCommand,
String aParameterName)
getCurrentDoubleValue
public double getCurrentDoubleValue(String aCommand,
String aParameterName,
boolean reGet)
getCurrentDoubleValue
public double getCurrentDoubleValue(String aCommand,
String aParameterName)
setPauseAtBeginOfEvent
public void setPauseAtBeginOfEvent(boolean vl)
getPauseAtBeginOfEvent
public boolean getPauseAtBeginOfEvent()
setPauseAtEndOfEvent
public void setPauseAtEndOfEvent(boolean vl)
getPauseAtEndOfEvent
public boolean getPauseAtEndOfEvent()
getTree
public G4UIcommandTree getTree()
getSession
public G4UIsession getSession()
setSession
public void setSession(G4UIsession value)
setCoutDestination
public void setCoutDestination(G4UIsession value)
setVerboseLevel
public void setVerboseLevel(int val)
getVerboseLevel
public int getVerboseLevel()
getNumberOfHistory
public int getNumberOfHistory()
getPreviousCommand
public String getPreviousCommand(int i)
setMaxHistSize
public void setMaxHistSize(int mx)
getMaxHistSize
public int getMaxHistSize()
Copyright © 2000-2007 FreeHEP. All Rights Reserved.