程序包 | 说明 |
---|---|
de.mpg.mpimet.yacgui.controller |
Contains the classes for controlling the work flow of application.
|
de.mpg.mpimet.yacgui.junit |
Contains the test classes based on j-unit framework
|
de.mpg.mpimet.yacgui.model |
Contains the classes representing the model (structure) of data used application and xml-files
|
de.mpg.mpimet.yacgui.ui |
Provides the classes responsible for application UI elements: panels, dialogs,
file choosers and so on.
|
限定符和类型 | 方法和说明 |
---|---|
private void |
GuiController.checkTransientCheckBox(Model.Align align,
int index)
Set checkbox at given align and index enabled.
|
private void |
GuiController.disableAllCheckBoxesBut(Model.Align align,
int index)
Disables all CheckBoxes on side align but the one at index.
|
private void |
GuiController.disableAllCheckBoxesBut(Model.Align align,
java.lang.String transientStandardName,
int collectionSize)
Disables all CheckBoxes on side align but the ones that have the given
transient standard name and collectionSize
|
void |
GuiController.onTransientCheckBoxCheck(Model.Align align,
int index)
Callback to be called when the user checks any of checkboxes of transient panels.
|
void |
GuiController.onTransientCheckBoxUncheck(Model.Align align,
int index)
Callback to be called when the user unchecks any of checkboxes of transient panels.
|
void |
GuiController.openComponent(Model.Align align,
java.io.File componentFile)
Lets the user choose a component XML file and loads it into the GUI at
the side given by align.
|
void |
GuiController.removeComponent(Model.Align align)
Removes a component in specific aligh from model
|
private void |
GuiController.setTransientsSelectedState(boolean selected,
Model.Align align,
int index)
Updates a state of TransientPanel
|
private void |
GuiController.uncheckTransientCheckBox(Model.Align align,
int index)
Set checkbox at given align and index disabled.
|
private void |
GuiController.uncheckUnconnectedTransientCheckBoxes(Model.Align align)
Uncheck all checkboxes that do not have connections.
|
private void |
GuiController.unpairTransientPanels(Model.Align align,
int index)
Unpairs a pair of transient panels,
GuiController.pairTransientPanels(Connection) |
private void |
GuiController.updateGuiWithComponent(Model.Align align) |
限定符和类型 | 字段和说明 |
---|---|
private static Model.Align |
ModelTest.LEFT |
private static Model.Align |
ModelTest.RIGHT |
限定符和类型 | 字段和说明 |
---|---|
private Model.Align |
Connection.sourceAlign |
private Model.Align |
Connection.targetAlign |
限定符和类型 | 方法和说明 |
---|---|
Model.Align |
Model.Align.getOpposite() |
Model.Align |
Connection.getSourceAlign() |
Model.Align |
Connection.getTargetAlign() |
static Model.Align |
Model.Align.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static Model.Align[] |
Model.Align.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
void |
Model.addComponent(Component component,
Model.Align align)
Loads given Component at given align, or removes it if component is null
|
Connection |
Model.addConnection(Model.Align sourceAlign,
int sourceIndex,
int targetIndex)
Creates and saves new Connection.
|
Connection |
Connections.addConnection(Model.Align sourceAlign,
int sourceIndex,
int targetIndex,
boolean hasInterpolation)
Creates a Connection and adds it to the collection.
|
private boolean |
Model.checkComponentOverwrite(Model.Align align)
Checks if component exists at given Align.
|
private void |
Model.checkIndex(Model.Align align,
int index)
Checks if given index is in range of the array of TransientGridRefs of
the component at given align.
|
private static java.lang.String |
IllegalConnectionException.createMessagePrefix(Model.Align sourceAlign,
int sourceIndex,
int targetIndex) |
int |
Model.getCollectionSize(Model.Align align,
int index)
Gets collection size parameter of TransientGridRef
at given index at given half.
|
int |
Model.getComponentId(Model.Align align) |
java.lang.String |
Model.getComponentModel(Model.Align align) |
java.lang.String |
Model.getComponentName(Model.Align align) |
java.lang.String |
Model.getComponentSimulated(Model.Align align) |
Connection |
Model.getConnectionAt(Model.Align align,
int index)
Returns a connection starting or ending at given Align and index if present.
|
Connection |
Connections.getConnectionAt(Model.Align align,
int index)
Returns a Connection that have the specified Align and
index values either at source or at target if present.
|
java.lang.String |
Model.getGridName(Model.Align align,
int index)
Gets alias name of Grid referenced by TransientGridRef at given index at
given half.
|
int |
Connection.getIndexAt(Model.Align align)
Gets the index at given Align.
|
int |
Model.getLastSelectedTransientPanelIndex(Model.Align align) |
private Model.Side |
Model.getSide(Model.Align align) |
int |
Model.getSize(Model.Align align) |
java.util.List<TransientGridRef> |
Model.getTransientGridRefs(Model.Align align)
Gets list of TransientGridRefs of given half.
|
java.util.List<TransientPanel.TransientPanelData> |
Model.getTransientPanelsData(Model.Align align)
Retrieves all ui data of the TransientGridRef objects
that belong to given half.
|
java.lang.String |
Model.getTransientStandardName(Model.Align align,
int index)
Gets transient standard name of Transient referenced by TransientGridRef
at given index at given half.
|
boolean |
Connections.hasConnectionAt(Model.Align align,
int index)
Checks if Connection exists that is either source or target at given
align and given index.
|
boolean |
Model.hasLastSelectedTransient(Model.Align align) |
boolean |
Connections.hasSourceAt(Model.Align align,
int index)
Checks if collection contains a Connection with given source Align and
index.
|
boolean |
Model.isComponentCoupled(Model.Align align)
Returns true, if component specified with align is coupled with any other component
|
boolean |
Model.isConnectedAt(Model.Align align,
int index)
Checks if there is an incoming or outgoing connection at given align at
given index.
|
boolean |
Model.isEmpty(Model.Align align) |
boolean |
Model.isSource(Model.Align align,
int index)
Checks if a connection at given align and given index is a source.
|
void |
Model.removeConnection(Model.Align align,
int index)
Removes Connection at given align and given index.
|
void |
Connections.removeConnection(Model.Align align,
int index)
Removes Connections at given align and given index.
|
void |
Model.resetLastSelectedTransientPanelIndex(Model.Align align) |
void |
Model.setLastSelectedTransientPanelIndex(Model.Align align,
int index) |
private void |
Model.setSide(Model.Align align,
Model.Side side)
Replaces side with given side.
|
构造器和说明 |
---|
Connection(Model.Align sourceAlign,
int sourceIndex,
int targetIndex,
boolean hasInterpolation)
Creates a new Connection.
|
Connection(Model.Align sourceAlign,
Model.Align targetAlign,
int sourceIndex,
int targetIndex,
boolean hasInterpolations)
Creates a new Connection.
|
IllegalConnectionException(Model.Align sourceAlign,
int sourceIndex,
int targetIndex,
java.lang.String message) |
IllegalConnectionException(Model.Align sourceAlign,
int sourceIndex,
int targetIndex,
java.lang.String message,
java.lang.Throwable throwable) |
限定符和类型 | 字段和说明 |
---|---|
private Model.Align |
TransientPanel.align |
private Model.Align |
ComponentPanel.align |
protected Model.Align |
ConnectionsGlassPane.Arrow.sourceAlign |
限定符和类型 | 方法和说明 |
---|---|
Model.Align |
TransientPanel.getAlign() |
限定符和类型 | 方法和说明 |
---|---|
ComponentPanel |
CouplingGui.getComponentPanel(Model.Align align) |
void |
ConnectionsGlassPane.removeArrowForTransient(Model.Align align,
int index) |
void |
CouplingGui.resetComponentPanel(Model.Align align)
Resets component panel at side given by align.
|
构造器和说明 |
---|
Arrow(Model.Align sourceAlign,
int sourceIndex,
int destIndex) |
Arrow(Model.Align sourceAlign,
int sourceIndex,
int destIndex,
java.awt.Color color) |
ComponentPanel(Model.Align align) |
TransientPanel(TransientPanel.onMouseCursorViewEnterEventListener listener,
Model.Align align,
int index,
TransientPanel.TransientPanelData data) |