Package OurApplication
Klasse OurHybridWindow<DRAW extends DrawArea,TEXT extends TextArea,PARAM extends ParameterArea,ALGORITHM extends Algorithm,LOG extends LogElement,LEGEND extends LegendArea,METHODBUTTONS extends ParameterArea>
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
javax.swing.JApplet
visualisation.HybridWindow
OurApplication.OurHybridWindow<DRAW,TEXT,PARAM,ALGORITHM,LOG,LEGEND,METHODBUTTONS>
- Typparameter:
DRAW
- Type of the draw area used in the hybrid window.TEXT
- Type of the text area used in the hybrid window.PARAM
- Type of the parameter area used in the hybrid window.ALGORITHM
- Type of the algorithm used in the hybrid window.LOG
- Type of logging elements used in the hybrid window.LEGEND
- Type of legend area used in the hybrid window.METHODBUTTONS
- Type of method buttons used in the hybrid window.
- Alle implementierten Schnittstellen:
ImageObserver
,MenuContainer
,Serializable
,Accessible
,RootPaneContainer
public class OurHybridWindow<DRAW extends DrawArea,TEXT extends TextArea,PARAM extends ParameterArea,ALGORITHM extends Algorithm,LOG extends LogElement,LEGEND extends LegendArea,METHODBUTTONS extends ParameterArea>
extends HybridWindow
This class provides an example for using visualization.HybridWindow.
It extends HybridWindow to integrate graphical components with algorithmic operations.
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibung(Package privat) class
ItemListener implementation for handling auto backward button state changes.(Package privat) class
ItemListener implementation for handling auto button state changes.(Package privat) class
ItemListener implementation for handling auto forward button state changes.(Package privat) class
ChangeListener implementation for handling auto slider changes.(Package privat) class
ActionListener implementation for moving to the first step.(Package privat) class
ActionListener implementation for moving to the last step.(Package privat) class
ActionListener implementation for moving to the next step.(Package privat) class
ActionListener implementation for handling pause button clicks.(Package privat) class
ActionListener implementation for moving to the previous step.(Package privat) class
ActionListener implementation for starting the algorithm.(Package privat) class
ActionListener implementation for stopping the algorithm.Von Klasse geerbte verschachtelte Klassen/Schnittstellen javax.swing.JApplet
JApplet.AccessibleJApplet
Von Klasse geerbte verschachtelte Klassen/Schnittstellen java.applet.Applet
Applet.AccessibleApplet
Von Klasse geerbte verschachtelte Klassen/Schnittstellen java.awt.Panel
Panel.AccessibleAWTPanel
Von Klasse geerbte verschachtelte Klassen/Schnittstellen java.awt.Container
Container.AccessibleAWTContainer
Von Klasse geerbte verschachtelte Klassen/Schnittstellen java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
-
Feldübersicht
Modifizierer und TypFeldBeschreibungItem listener for backward button.Item listener for auto button.Item listener for forward button.Change listener for auto slider.protected OurHybridWindow<DRAW,
TEXT, PARAM, ALGORITHM, LOG, LEGEND, METHODBUTTONS>.FirstListener Action listener for first button.protected OurHybridWindow<DRAW,
TEXT, PARAM, ALGORITHM, LOG, LEGEND, METHODBUTTONS>.LastListener Action listener for last button.protected METHODBUTTONS
protected OurHybridWindow<DRAW,
TEXT, PARAM, ALGORITHM, LOG, LEGEND, METHODBUTTONS>.NextListener Action listener for next button.Item listener for pause button.protected OurHybridWindow<DRAW,
TEXT, PARAM, ALGORITHM, LOG, LEGEND, METHODBUTTONS>.PrevListener Action listener for previous button.protected OurHybridWindow<DRAW,
TEXT, PARAM, ALGORITHM, LOG, LEGEND, METHODBUTTONS>.StartListener protected OurHybridWindow<DRAW,
TEXT, PARAM, ALGORITHM, LOG, LEGEND, METHODBUTTONS>.StopListener Action listener for stop button.Von Klasse geerbte Felder visualisation.HybridWindow
algorithm, autoBackwardButton, autoButton, autoForwardButton, autoSlider, AUTOSTATE, autoTimer, drawArea, firstButton, lastButton, legendArea, logList, nextButton, parameterArea, PARAMETERSTATE, pauseButton, prevButton, RUNSTATE, startButton, state, stopButton, tabbedPane, textArea
Von Klasse geerbte Felder javax.swing.JApplet
accessibleContext, rootPane, rootPaneCheckingEnabled
Von Klasse geerbte Felder java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Von Schnittstelle geerbte Felder java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-
Konstruktorübersicht
KonstruktorBeschreibungOurHybridWindow
(DRAW drawArea, TEXT textArea, PARAM parameterArea, ALGORITHM algorithm, LogElementList<LOG> logList, LEGEND legendArea, METHODBUTTONS methodButtons) Overwritten standard constructor. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
init()
Initializes the hybrid window by setting up UI components and event listeners.Von Klasse geerbte Methoden visualisation.HybridWindow
addNewComponent, addNewComponentWithIcon, getState, setState
Von Klasse geerbte Methoden javax.swing.JApplet
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isRootPaneCheckingEnabled, paramString, remove, repaint, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
Von Klasse geerbte Methoden java.applet.Applet
destroy, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, isValidateRoot, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop
Von Klasse geerbte Methoden java.awt.Container
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
Von Klasse geerbte Methoden java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, requestFocusInWindow, reshape, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setMixingCutoutShape, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Felddetails
-
methodButtons
-
startListener
protected OurHybridWindow<DRAW extends DrawArea,TEXT extends TextArea, startListenerPARAM extends ParameterArea, ALGORITHM extends Algorithm, LOG extends LogElement, LEGEND extends LegendArea, METHODBUTTONS extends ParameterArea>.StartListener -
stopListener
protected OurHybridWindow<DRAW extends DrawArea,TEXT extends TextArea, stopListenerPARAM extends ParameterArea, ALGORITHM extends Algorithm, LOG extends LogElement, LEGEND extends LegendArea, METHODBUTTONS extends ParameterArea>.StopListener Action listener for stop button. -
prevListener
protected OurHybridWindow<DRAW extends DrawArea,TEXT extends TextArea, prevListenerPARAM extends ParameterArea, ALGORITHM extends Algorithm, LOG extends LogElement, LEGEND extends LegendArea, METHODBUTTONS extends ParameterArea>.PrevListener Action listener for previous button. -
nextListener
protected OurHybridWindow<DRAW extends DrawArea,TEXT extends TextArea, nextListenerPARAM extends ParameterArea, ALGORITHM extends Algorithm, LOG extends LogElement, LEGEND extends LegendArea, METHODBUTTONS extends ParameterArea>.NextListener Action listener for next button. -
firstListener
protected OurHybridWindow<DRAW extends DrawArea,TEXT extends TextArea, firstListenerPARAM extends ParameterArea, ALGORITHM extends Algorithm, LOG extends LogElement, LEGEND extends LegendArea, METHODBUTTONS extends ParameterArea>.FirstListener Action listener for first button. -
lastListener
protected OurHybridWindow<DRAW extends DrawArea,TEXT extends TextArea, lastListenerPARAM extends ParameterArea, ALGORITHM extends Algorithm, LOG extends LogElement, LEGEND extends LegendArea, METHODBUTTONS extends ParameterArea>.LastListener Action listener for last button. -
autoButtonListener
protected OurHybridWindow<DRAW extends DrawArea,TEXT extends TextArea, autoButtonListenerPARAM extends ParameterArea, ALGORITHM extends Algorithm, LOG extends LogElement, LEGEND extends LegendArea, METHODBUTTONS extends ParameterArea>.AutoButtonListener Item listener for auto button. -
autoSliderListener
protected OurHybridWindow<DRAW extends DrawArea,TEXT extends TextArea, autoSliderListenerPARAM extends ParameterArea, ALGORITHM extends Algorithm, LOG extends LogElement, LEGEND extends LegendArea, METHODBUTTONS extends ParameterArea>.AutoSliderListener Change listener for auto slider. -
autoForwardListener
protected OurHybridWindow<DRAW extends DrawArea,TEXT extends TextArea, autoForwardListenerPARAM extends ParameterArea, ALGORITHM extends Algorithm, LOG extends LogElement, LEGEND extends LegendArea, METHODBUTTONS extends ParameterArea>.AutoForwardListener Item listener for forward button. -
autoBackwardListener
protected OurHybridWindow<DRAW extends DrawArea,TEXT extends TextArea, autoBackwardListenerPARAM extends ParameterArea, ALGORITHM extends Algorithm, LOG extends LogElement, LEGEND extends LegendArea, METHODBUTTONS extends ParameterArea>.AutoBackwardListener Item listener for backward button. -
pauseButtonListener
protected OurHybridWindow<DRAW extends DrawArea,TEXT extends TextArea, pauseButtonListenerPARAM extends ParameterArea, ALGORITHM extends Algorithm, LOG extends LogElement, LEGEND extends LegendArea, METHODBUTTONS extends ParameterArea>.PauseButtonListener Item listener for pause button.
-
-
Konstruktordetails
-
OurHybridWindow
public OurHybridWindow(DRAW drawArea, TEXT textArea, PARAM parameterArea, ALGORITHM algorithm, LogElementList<LOG> logList, LEGEND legendArea, METHODBUTTONS methodButtons) Overwritten standard constructor. Creates a HybridWindow with specified draw area, text area, parameter area, algorithm, log list, legend area, and method buttons.- Parameter:
drawArea
- the draw area used in the hybrid windowtextArea
- the text area used in the hybrid windowparameterArea
- the parameter area used in the hybrid windowalgorithm
- the algorithm used in the hybrid windowlogList
- the log element list used in the hybrid windowlegendArea
- the legend area used in the hybrid windowmethodButtons
- the method buttons used in the hybrid window
-
-
Methodendetails
-
init
public void init()Initializes the hybrid window by setting up UI components and event listeners.- Setzt außer Kraft:
init
in KlasseHybridWindow
-