|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
edu.bonn.xulu.gui.ModelControlFrame
edu.bonn.xulu.plugin.gui.ModelControlFrame_Basic
public class ModelControlFrame_Basic
Diese Klasse stellt ein Fenster, ueber welches ein Modell gesteuert werden kann. Es besteht im wesentlichen aus 3 Bereichen:
ModelControlContainer
)ModelContentManagerContainer
)JTextArea
)XuluModel.setStatusOut(PrintStream)
und
TextAreaPrintStream
)MultiModelControlPlugin
)
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JFrame |
---|
JFrame.AccessibleJFrame |
Nested classes/interfaces inherited from class java.awt.Frame |
---|
Frame.AccessibleAWTFrame |
Nested classes/interfaces inherited from class java.awt.Window |
---|
Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected XuluModellingPlatform |
appl
|
protected ModelContentManagerContainer |
contentContainer
|
protected Container |
contentPane
|
protected ModelControlContainer |
controlContainer
|
protected JButton |
reloadButton
|
Fields inherited from class edu.bonn.xulu.gui.ModelControlFrame |
---|
model |
Fields inherited from class javax.swing.JFrame |
---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Frame |
---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface edu.bonn.xulu.appl.XuluConstants |
---|
BUG_MAIL_ADDR, EXTENTION_BUNDLE, ICONS_DIR, LOCALES_BASE, RESOURCE_DIR, SWING_RES, VERSION, VERSION_DATE, XULU_ICON, XULU_INFOICON, XULU_STARTICON, XULU_VIS_RES, XULUERR_RES, XULUGUI_RES |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
ModelControlFrame_Basic(XuluModellingPlatform appl,
XuluModel model)
Erzeugt ein neues Kontrollfenster |
Method Summary | |
---|---|
void |
close()
Schliesst die Komponente komplett. |
ModelControlContainer |
getControlContainer()
|
ModelContentManagerContainer |
getModelContentManagerContainer()
|
protected void |
initContentPane()
inits the content pane |
protected void |
initControlContainer()
inits the control container |
protected void |
initReloadButton()
inits the reload button |
protected void |
initStatusArea()
inits the status Area |
protected ModelControlFrame_Basic |
newInstance(XuluModel newModel)
|
void |
refresh()
Aktualisiert die grafische Darstellung des internen Fensters, in dem die Auswahlfelder des ModelContentManagers neu organisiert werden. |
void |
setModelResources()
Belegt die Ressourcen des Modells mit den ausgewaehlten Objekten des Datenpools. |
void |
setTitle(String title)
Setzt die Bezeichnung fuer das Kontroll-Fenster. |
void |
setVisible(boolean visible)
Zeigt das Kontroll-Fenster an oder verbirgt es. |
Methods inherited from class edu.bonn.xulu.gui.ModelControlFrame |
---|
equals, getModel |
Methods inherited from class java.awt.Frame |
---|
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setUndecorated |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.bonn.xulu.appl.AbstractManager.ContentType |
---|
getTitle, isVisible |
Methods inherited from interface java.awt.MenuContainer |
---|
getFont, postEvent |
Field Detail |
---|
protected ModelContentManagerContainer contentContainer
protected ModelControlContainer controlContainer
protected JButton reloadButton
protected Container contentPane
protected XuluModellingPlatform appl
Constructor Detail |
---|
public ModelControlFrame_Basic(XuluModellingPlatform appl, XuluModel model)
appl
- Applikation in der das Modell laeuftmodel
- Modell, das durch das Fenster kontrolliert werden sollMethod Detail |
---|
protected void initStatusArea()
protected void initContentPane()
protected void initReloadButton()
protected void initControlContainer()
public void setVisible(boolean visible)
setVisible
in interface AbstractManager.ContentType
setVisible
in class Window
public void setTitle(String title)
setTitle
in interface AbstractManager.ContentType
setTitle
in class Frame
public void setModelResources()
ModelContentManager
die
Korrektheit geprueft.
XuluDataException
- falls eine Ressource nicht korrekt belegt wurdepublic void close()
close
in interface AbstractManager.ContentType
public void refresh()
refresh
in class ModelControlFrame
public ModelContentManagerContainer getModelContentManagerContainer()
public ModelControlContainer getControlContainer()
protected ModelControlFrame_Basic newInstance(XuluModel newModel)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |