|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UserInterface
This interface provides information from the user interface.
| Method Summary | |
|---|---|
void |
adjustReferencePoint(Cell cell,
double cX,
double cY)
Method to adjust reference point in WindowFrame containing the cell |
void |
alignToGrid(java.awt.geom.Point2D pt)
Method to align a database coordinate with the current grid. |
int |
askForChoice(java.lang.String message,
java.lang.String title,
java.lang.String[] choices,
java.lang.String defaultChoice)
Method to ask for a choice among possibilities. |
java.lang.String |
askForInput(java.lang.Object message,
java.lang.String title,
java.lang.String def)
Method to ask for a line of text. |
boolean |
confirmMessage(java.lang.Object message)
Method to show a message and ask for confirmation. |
EditWindow_ |
displayCell(Cell cell)
Method to request that a Cell be displayed in a new window. |
void |
exportPrefs()
Method to export the preferences to an XML file. |
Cell |
getCurrentCell()
Method to return the current Cell in the current Library. |
Cell |
getCurrentCell(Library lib)
Method to get the current Cell in a given Library. |
EditWindow_ |
getCurrentEditWindow_()
Method to return the current "EditWindow_" object. |
int |
getDefaultTextSize()
Method to return the height of default text (in points). |
Dimension2D |
getGridAlignment()
Method to get the current grid alignment. |
java.lang.String |
getProgressNote()
Method to get text message in the progress dialgo. |
void |
importPrefs()
Method to import the preferences from an XML file. |
Cell |
needCurrentCell()
Method to demand the current Cell. |
EditWindow_ |
needCurrentEditWindow_()
Method to demand the current "EditWindow_" object. |
void |
repaintAllWindows()
Method to request that all windows be redisplayed including palettes. |
java.lang.String |
reportLog(ErrorLogger.MessageLog log,
boolean showhigh,
Geometric[] gPair)
Method to return the error message associated with the current error. |
void |
setCurrentCell(Library lib,
Cell curCell)
Method to set the current Cell in a Library. |
void |
setProgressNote(java.lang.String message)
Method to set a text message in the progress dialog. |
void |
setProgressValue(long pct)
Method to update the progress bar |
void |
showErrorMessage(java.lang.Object message,
java.lang.String title)
Method to show an error message. |
void |
showInformationMessage(java.lang.Object message,
java.lang.String title)
Method to show an informational message. |
void |
startProgressDialog(java.lang.String msg,
java.lang.String filePath)
Method to start the display of a progress dialog. |
void |
stopProgressDialog()
Method to stop the progress bar |
void |
termLogging(ErrorLogger logger,
boolean explain,
boolean terminate)
|
| Method Detail |
|---|
EditWindow_ getCurrentEditWindow_()
EditWindow_ needCurrentEditWindow_()
Cell getCurrentCell()
Cell getCurrentCell(Library lib)
lib - the library to query.
Cell needCurrentCell()
void setCurrentCell(Library lib,
Cell curCell)
lib - the library in which to set a current cell.curCell - the new current Cell in the Library (can be null).
void adjustReferencePoint(Cell cell,
double cX,
double cY)
void repaintAllWindows()
void alignToGrid(java.awt.geom.Point2D pt)
pt - the database coordinate. It's value is adjusted.Dimension2D getGridAlignment()
int getDefaultTextSize()
EditWindow_ displayCell(Cell cell)
cell - the Cell to be displayed.
void termLogging(ErrorLogger logger,
boolean explain,
boolean terminate)
java.lang.String reportLog(ErrorLogger.MessageLog log,
boolean showhigh,
Geometric[] gPair)
void showErrorMessage(java.lang.Object message,
java.lang.String title)
message - the error message to show.title - the title of a dialog with the error message.
void showInformationMessage(java.lang.Object message,
java.lang.String title)
message - the message to show.title - the title of a dialog with the message.boolean confirmMessage(java.lang.Object message)
message - the message to show.
int askForChoice(java.lang.String message,
java.lang.String title,
java.lang.String[] choices,
java.lang.String defaultChoice)
message - the message to show.title - the title of the dialog with the query.choices - an array of choices to present, each in a button.defaultChoice - the default choice.
java.lang.String askForInput(java.lang.Object message,
java.lang.String title,
java.lang.String def)
message - the prompt message.title - the title of a dialog with the message.def - the default response.
void importPrefs()
void exportPrefs()
void startProgressDialog(java.lang.String msg,
java.lang.String filePath)
msg - the message to show in the progress dialog.filePath - the file being read (null if not reading a file).void stopProgressDialog()
void setProgressValue(long pct)
pct - the percentage done (from 0 to 100).void setProgressNote(java.lang.String message)
message - the new progress message.java.lang.String getProgressNote()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||