Compare commits
3 Commits
776b080fce
...
59c56802ed
Author | SHA1 | Date | |
---|---|---|---|
|
59c56802ed | ||
|
b427be34ab | ||
|
046047b4bc |
Binary file not shown.
0
Neuer Ordner/workspace/.metadata/.lock
Normal file
0
Neuer Ordner/workspace/.metadata/.lock
Normal file
814
Neuer Ordner/workspace/.metadata/.log
Normal file
814
Neuer Ordner/workspace/.metadata/.log
Normal file
@ -0,0 +1,814 @@
|
||||
!SESSION 2010-10-12 15:45:14.525 -----------------------------------------------
|
||||
eclipse.buildId=unknown
|
||||
java.version=1.6.0_21
|
||||
java.vendor=Sun Microsystems Inc.
|
||||
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
|
||||
Framework arguments: -product org.eclipse.epp.package.jee.product
|
||||
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
|
||||
|
||||
!ENTRY org.eclipse.core.resources 4 4 2010-10-12 15:46:20.343
|
||||
!MESSAGE Exception loading preferences from: /FifaSpielplan/.settings/org.eclipse.jdt.core.prefs.
|
||||
!STACK 1
|
||||
org.eclipse.core.internal.resources.ResourceException: Resource '/FifaSpielplan/.settings/org.eclipse.jdt.core.prefs' does not exist.
|
||||
at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:319)
|
||||
at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:196)
|
||||
at org.eclipse.core.internal.resources.File.getContents(File.java:286)
|
||||
at org.eclipse.core.internal.resources.ProjectPreferences.load(ProjectPreferences.java:457)
|
||||
at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:307)
|
||||
at org.eclipse.core.internal.preferences.EclipsePreferences.getChild(EclipsePreferences.java:412)
|
||||
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:541)
|
||||
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:669)
|
||||
at org.eclipse.core.resources.ProjectScope.getNode(ProjectScope.java:67)
|
||||
at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor$EclipsePreferencesAdapter.getNode(JavaEditor.java:360)
|
||||
at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor$EclipsePreferencesAdapter.contains(JavaEditor.java:386)
|
||||
at org.eclipse.ui.texteditor.ChainedPreferenceStore.getVisibleStore(ChainedPreferenceStore.java:529)
|
||||
at org.eclipse.ui.texteditor.ChainedPreferenceStore.handlePropertyChangeEvent(ChainedPreferenceStore.java:413)
|
||||
at org.eclipse.ui.texteditor.ChainedPreferenceStore.access$0(ChainedPreferenceStore.java:408)
|
||||
at org.eclipse.ui.texteditor.ChainedPreferenceStore$PropertyChangeListener.propertyChange(ChainedPreferenceStore.java:69)
|
||||
at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor$EclipsePreferencesAdapter.firePropertyChangeEvent(JavaEditor.java:396)
|
||||
at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor$1.run(JavaEditor.java:329)
|
||||
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
|
||||
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
|
||||
at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:173)
|
||||
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:388)
|
||||
at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.run(RefactoringWizardDialog2.java:330)
|
||||
at org.eclipse.ltk.ui.refactoring.RefactoringWizard.internalPerformFinish(RefactoringWizard.java:557)
|
||||
at org.eclipse.ltk.ui.refactoring.UserInputWizardPage.performFinish(UserInputWizardPage.java:153)
|
||||
at org.eclipse.ltk.ui.refactoring.resource.DeleteResourcesWizard$DeleteResourcesRefactoringConfigurationPage.performFinish(DeleteResourcesWizard.java:151)
|
||||
at org.eclipse.ltk.ui.refactoring.RefactoringWizard.performFinish(RefactoringWizard.java:621)
|
||||
at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.okPressed(RefactoringWizardDialog2.java:453)
|
||||
at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:472)
|
||||
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
|
||||
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
|
||||
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
|
||||
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
|
||||
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
|
||||
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
|
||||
at org.eclipse.jface.window.Window.open(Window.java:801)
|
||||
at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:143)
|
||||
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
|
||||
at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:155)
|
||||
at org.eclipse.ltk.internal.ui.refactoring.actions.DeleteResourcesHandler.execute(DeleteResourcesHandler.java:40)
|
||||
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
|
||||
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
|
||||
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
|
||||
at org.eclipse.ui.internal.handlers.HandlerService.executeCommandInContext(HandlerService.java:270)
|
||||
at org.eclipse.ui.internal.ide.actions.LTKLauncher.runCommand(LTKLauncher.java:95)
|
||||
at org.eclipse.ui.internal.ide.actions.LTKLauncher.openDeleteWizard(LTKLauncher.java:47)
|
||||
at org.eclipse.ui.actions.DeleteResourceAction.run(DeleteResourceAction.java:481)
|
||||
at org.eclipse.jdt.internal.ui.refactoring.reorg.DeleteAction.run(DeleteAction.java:162)
|
||||
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274)
|
||||
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:250)
|
||||
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
|
||||
at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:119)
|
||||
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
|
||||
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
|
||||
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
|
||||
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:470)
|
||||
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:824)
|
||||
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:880)
|
||||
at org.eclipse.ui.internal.keys.OutOfOrderListener.handleEvent(OutOfOrderListener.java:76)
|
||||
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
|
||||
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
|
||||
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
|
||||
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
|
||||
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1040)
|
||||
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1036)
|
||||
at org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1669)
|
||||
at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:4281)
|
||||
at org.eclipse.swt.widgets.Tree.WM_KEYDOWN(Tree.java:5953)
|
||||
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3977)
|
||||
at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5821)
|
||||
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
|
||||
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
|
||||
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
|
||||
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
|
||||
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
|
||||
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
|
||||
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
|
||||
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
|
||||
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
|
||||
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
|
||||
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
|
||||
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
|
||||
at java.lang.reflect.Method.invoke(Unknown Source)
|
||||
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
|
||||
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
|
||||
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
|
||||
!SUBENTRY 1 org.eclipse.core.resources 4 368 2010-10-12 15:46:20.347
|
||||
!MESSAGE Resource '/FifaSpielplan/.settings/org.eclipse.jdt.core.prefs' does not exist.
|
||||
|
||||
!ENTRY org.eclipse.equinox.preferences 4 4 2010-10-12 15:46:20.370
|
||||
!MESSAGE Exception loading preferences from: .
|
||||
!STACK 0
|
||||
org.osgi.service.prefs.BackingStoreException: Exception loading preferences from: /FifaSpielplan/.settings/org.eclipse.jdt.core.prefs.
|
||||
at org.eclipse.core.internal.resources.ProjectPreferences.load(ProjectPreferences.java:462)
|
||||
at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:307)
|
||||
at org.eclipse.core.internal.preferences.EclipsePreferences.getChild(EclipsePreferences.java:412)
|
||||
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:541)
|
||||
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:669)
|
||||
at org.eclipse.core.resources.ProjectScope.getNode(ProjectScope.java:67)
|
||||
at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor$EclipsePreferencesAdapter.getNode(JavaEditor.java:360)
|
||||
at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor$EclipsePreferencesAdapter.contains(JavaEditor.java:386)
|
||||
at org.eclipse.ui.texteditor.ChainedPreferenceStore.getVisibleStore(ChainedPreferenceStore.java:529)
|
||||
at org.eclipse.ui.texteditor.ChainedPreferenceStore.handlePropertyChangeEvent(ChainedPreferenceStore.java:413)
|
||||
at org.eclipse.ui.texteditor.ChainedPreferenceStore.access$0(ChainedPreferenceStore.java:408)
|
||||
at org.eclipse.ui.texteditor.ChainedPreferenceStore$PropertyChangeListener.propertyChange(ChainedPreferenceStore.java:69)
|
||||
at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor$EclipsePreferencesAdapter.firePropertyChangeEvent(JavaEditor.java:396)
|
||||
at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor$1.run(JavaEditor.java:329)
|
||||
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
|
||||
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
|
||||
at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:173)
|
||||
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:388)
|
||||
at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.run(RefactoringWizardDialog2.java:330)
|
||||
at org.eclipse.ltk.ui.refactoring.RefactoringWizard.internalPerformFinish(RefactoringWizard.java:557)
|
||||
at org.eclipse.ltk.ui.refactoring.UserInputWizardPage.performFinish(UserInputWizardPage.java:153)
|
||||
at org.eclipse.ltk.ui.refactoring.resource.DeleteResourcesWizard$DeleteResourcesRefactoringConfigurationPage.performFinish(DeleteResourcesWizard.java:151)
|
||||
at org.eclipse.ltk.ui.refactoring.RefactoringWizard.performFinish(RefactoringWizard.java:621)
|
||||
at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.okPressed(RefactoringWizardDialog2.java:453)
|
||||
at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:472)
|
||||
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
|
||||
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
|
||||
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
|
||||
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
|
||||
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
|
||||
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
|
||||
at org.eclipse.jface.window.Window.open(Window.java:801)
|
||||
at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:143)
|
||||
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
|
||||
at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:155)
|
||||
at org.eclipse.ltk.internal.ui.refactoring.actions.DeleteResourcesHandler.execute(DeleteResourcesHandler.java:40)
|
||||
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
|
||||
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
|
||||
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
|
||||
at org.eclipse.ui.internal.handlers.HandlerService.executeCommandInContext(HandlerService.java:270)
|
||||
at org.eclipse.ui.internal.ide.actions.LTKLauncher.runCommand(LTKLauncher.java:95)
|
||||
at org.eclipse.ui.internal.ide.actions.LTKLauncher.openDeleteWizard(LTKLauncher.java:47)
|
||||
at org.eclipse.ui.actions.DeleteResourceAction.run(DeleteResourceAction.java:481)
|
||||
at org.eclipse.jdt.internal.ui.refactoring.reorg.DeleteAction.run(DeleteAction.java:162)
|
||||
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274)
|
||||
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:250)
|
||||
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
|
||||
at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:119)
|
||||
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
|
||||
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
|
||||
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
|
||||
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:470)
|
||||
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:824)
|
||||
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:880)
|
||||
at org.eclipse.ui.internal.keys.OutOfOrderListener.handleEvent(OutOfOrderListener.java:76)
|
||||
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
|
||||
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
|
||||
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
|
||||
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
|
||||
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1040)
|
||||
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1036)
|
||||
at org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1669)
|
||||
at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:4281)
|
||||
at org.eclipse.swt.widgets.Tree.WM_KEYDOWN(Tree.java:5953)
|
||||
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3977)
|
||||
at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5821)
|
||||
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
|
||||
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
|
||||
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
|
||||
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
|
||||
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
|
||||
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
|
||||
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
|
||||
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
|
||||
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
|
||||
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
|
||||
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
|
||||
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
|
||||
at java.lang.reflect.Method.invoke(Unknown Source)
|
||||
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
|
||||
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
|
||||
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
|
||||
|
||||
!ENTRY org.eclipse.ui 4 0 2010-10-12 15:46:20.442
|
||||
!MESSAGE Unable to create editor ID org.eclipse.jdt.ui.CompilationUnitEditor: The file does not exist.
|
||||
!STACK 1
|
||||
org.eclipse.core.runtime.CoreException: The file does not exist.
|
||||
at org.eclipse.core.internal.filebuffers.ResourceFileBuffer.create(ResourceFileBuffer.java:237)
|
||||
at org.eclipse.core.internal.filebuffers.TextFileBufferManager.connect(TextFileBufferManager.java:113)
|
||||
at org.eclipse.ui.editors.text.TextFileDocumentProvider.createFileInfo(TextFileDocumentProvider.java:559)
|
||||
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider.createFileInfo(CompilationUnitDocumentProvider.java:962)
|
||||
at org.eclipse.ui.editors.text.TextFileDocumentProvider.connect(TextFileDocumentProvider.java:478)
|
||||
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider.connect(CompilationUnitDocumentProvider.java:1198)
|
||||
at org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:4135)
|
||||
at org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:203)
|
||||
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1413)
|
||||
at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.internalDoSetInput(JavaEditor.java:2552)
|
||||
at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.doSetInput(JavaEditor.java:2525)
|
||||
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.doSetInput(CompilationUnitEditor.java:1371)
|
||||
at org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3116)
|
||||
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
|
||||
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
|
||||
at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759)
|
||||
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
|
||||
at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756)
|
||||
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2579)
|
||||
at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3134)
|
||||
at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3161)
|
||||
at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:798)
|
||||
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:644)
|
||||
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
|
||||
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
|
||||
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
|
||||
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
|
||||
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
|
||||
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
|
||||
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
|
||||
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
|
||||
at org.eclipse.ui.internal.PartStack.handleDeferredEvents(PartStack.java:1224)
|
||||
at org.eclipse.ui.internal.LayoutPart.deferUpdates(LayoutPart.java:400)
|
||||
at org.eclipse.ui.internal.PartSashContainer.handleDeferredEvents(PartSashContainer.java:1409)
|
||||
at org.eclipse.ui.internal.LayoutPart.deferUpdates(LayoutPart.java:400)
|
||||
at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1416)
|
||||
at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1406)
|
||||
at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1380)
|
||||
at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1444)
|
||||
at org.eclipse.ui.texteditor.AbstractTextEditor$23.run(AbstractTextEditor.java:4235)
|
||||
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
|
||||
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
|
||||
at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:173)
|
||||
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:388)
|
||||
at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.run(RefactoringWizardDialog2.java:330)
|
||||
at org.eclipse.ltk.ui.refactoring.RefactoringWizard.internalPerformFinish(RefactoringWizard.java:557)
|
||||
at org.eclipse.ltk.ui.refactoring.UserInputWizardPage.performFinish(UserInputWizardPage.java:153)
|
||||
at org.eclipse.ltk.ui.refactoring.resource.DeleteResourcesWizard$DeleteResourcesRefactoringConfigurationPage.performFinish(DeleteResourcesWizard.java:151)
|
||||
at org.eclipse.ltk.ui.refactoring.RefactoringWizard.performFinish(RefactoringWizard.java:621)
|
||||
at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.okPressed(RefactoringWizardDialog2.java:453)
|
||||
at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:472)
|
||||
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
|
||||
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
|
||||
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
|
||||
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
|
||||
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
|
||||
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
|
||||
at org.eclipse.jface.window.Window.open(Window.java:801)
|
||||
at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:143)
|
||||
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
|
||||
at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:155)
|
||||
at org.eclipse.ltk.internal.ui.refactoring.actions.DeleteResourcesHandler.execute(DeleteResourcesHandler.java:40)
|
||||
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
|
||||
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
|
||||
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
|
||||
at org.eclipse.ui.internal.handlers.HandlerService.executeCommandInContext(HandlerService.java:270)
|
||||
at org.eclipse.ui.internal.ide.actions.LTKLauncher.runCommand(LTKLauncher.java:95)
|
||||
at org.eclipse.ui.internal.ide.actions.LTKLauncher.openDeleteWizard(LTKLauncher.java:47)
|
||||
at org.eclipse.ui.actions.DeleteResourceAction.run(DeleteResourceAction.java:481)
|
||||
at org.eclipse.jdt.internal.ui.refactoring.reorg.DeleteAction.run(DeleteAction.java:162)
|
||||
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274)
|
||||
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:250)
|
||||
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
|
||||
at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:119)
|
||||
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
|
||||
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
|
||||
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
|
||||
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:470)
|
||||
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:824)
|
||||
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:880)
|
||||
at org.eclipse.ui.internal.keys.OutOfOrderListener.handleEvent(OutOfOrderListener.java:76)
|
||||
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
|
||||
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
|
||||
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
|
||||
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
|
||||
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1040)
|
||||
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1036)
|
||||
at org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1669)
|
||||
at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:4281)
|
||||
at org.eclipse.swt.widgets.Tree.WM_KEYDOWN(Tree.java:5953)
|
||||
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3977)
|
||||
at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5821)
|
||||
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
|
||||
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
|
||||
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
|
||||
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
|
||||
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
|
||||
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
|
||||
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
|
||||
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
|
||||
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
|
||||
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
|
||||
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
|
||||
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
|
||||
at java.lang.reflect.Method.invoke(Unknown Source)
|
||||
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
|
||||
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
|
||||
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
|
||||
!SUBENTRY 1 org.eclipse.core.filebuffers 4 0 2010-10-12 15:46:20.443
|
||||
!MESSAGE The file does not exist.
|
||||
|
||||
!ENTRY org.eclipse.ui 2 2 2010-10-12 15:46:20.468
|
||||
!MESSAGE Ignored attempt to add saveable that was already registered
|
||||
!STACK 0
|
||||
org.eclipse.core.runtime.AssertionFailedException: unknown saveable: org.eclipse.ui.internal.DefaultSaveable@36ea72 from part: org.eclipse.ui.internal.ErrorEditorPart@36ea72
|
||||
at org.eclipse.ui.internal.SaveablesList.logWarning(SaveablesList.java:187)
|
||||
at org.eclipse.ui.internal.SaveablesList.addModel(SaveablesList.java:117)
|
||||
at org.eclipse.ui.internal.SaveablesList.addModels(SaveablesList.java:289)
|
||||
at org.eclipse.ui.internal.SaveablesList.postOpen(SaveablesList.java:684)
|
||||
at org.eclipse.ui.internal.PartList.partOpened(PartList.java:234)
|
||||
at org.eclipse.ui.internal.PartList.access$0(PartList.java:210)
|
||||
at org.eclipse.ui.internal.PartList$1.propertyChanged(PartList.java:40)
|
||||
at org.eclipse.ui.internal.WorkbenchPartReference.fireInternalPropertyChange(WorkbenchPartReference.java:375)
|
||||
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:610)
|
||||
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
|
||||
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
|
||||
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
|
||||
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
|
||||
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
|
||||
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
|
||||
at org.eclipse.ui.internal.PartStack.handleDeferredEvents(PartStack.java:1224)
|
||||
at org.eclipse.ui.internal.LayoutPart.deferUpdates(LayoutPart.java:400)
|
||||
at org.eclipse.ui.internal.PartSashContainer.handleDeferredEvents(PartSashContainer.java:1409)
|
||||
at org.eclipse.ui.internal.LayoutPart.deferUpdates(LayoutPart.java:400)
|
||||
at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1416)
|
||||
at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1406)
|
||||
at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1380)
|
||||
at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1444)
|
||||
at org.eclipse.ui.texteditor.AbstractTextEditor$23.run(AbstractTextEditor.java:4235)
|
||||
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
|
||||
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
|
||||
at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:173)
|
||||
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:388)
|
||||
at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.run(RefactoringWizardDialog2.java:330)
|
||||
at org.eclipse.ltk.ui.refactoring.RefactoringWizard.internalPerformFinish(RefactoringWizard.java:557)
|
||||
at org.eclipse.ltk.ui.refactoring.UserInputWizardPage.performFinish(UserInputWizardPage.java:153)
|
||||
at org.eclipse.ltk.ui.refactoring.resource.DeleteResourcesWizard$DeleteResourcesRefactoringConfigurationPage.performFinish(DeleteResourcesWizard.java:151)
|
||||
at org.eclipse.ltk.ui.refactoring.RefactoringWizard.performFinish(RefactoringWizard.java:621)
|
||||
at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.okPressed(RefactoringWizardDialog2.java:453)
|
||||
at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:472)
|
||||
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
|
||||
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
|
||||
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
|
||||
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
|
||||
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
|
||||
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
|
||||
at org.eclipse.jface.window.Window.open(Window.java:801)
|
||||
at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:143)
|
||||
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
|
||||
at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:155)
|
||||
at org.eclipse.ltk.internal.ui.refactoring.actions.DeleteResourcesHandler.execute(DeleteResourcesHandler.java:40)
|
||||
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
|
||||
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
|
||||
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
|
||||
at org.eclipse.ui.internal.handlers.HandlerService.executeCommandInContext(HandlerService.java:270)
|
||||
at org.eclipse.ui.internal.ide.actions.LTKLauncher.runCommand(LTKLauncher.java:95)
|
||||
at org.eclipse.ui.internal.ide.actions.LTKLauncher.openDeleteWizard(LTKLauncher.java:47)
|
||||
at org.eclipse.ui.actions.DeleteResourceAction.run(DeleteResourceAction.java:481)
|
||||
at org.eclipse.jdt.internal.ui.refactoring.reorg.DeleteAction.run(DeleteAction.java:162)
|
||||
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274)
|
||||
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:250)
|
||||
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
|
||||
at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:119)
|
||||
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
|
||||
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
|
||||
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
|
||||
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:470)
|
||||
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:824)
|
||||
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:880)
|
||||
at org.eclipse.ui.internal.keys.OutOfOrderListener.handleEvent(OutOfOrderListener.java:76)
|
||||
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
|
||||
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
|
||||
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
|
||||
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
|
||||
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1040)
|
||||
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1036)
|
||||
at org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1669)
|
||||
at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:4281)
|
||||
at org.eclipse.swt.widgets.Tree.WM_KEYDOWN(Tree.java:5953)
|
||||
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3977)
|
||||
at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5821)
|
||||
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
|
||||
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
|
||||
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
|
||||
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
|
||||
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
|
||||
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
|
||||
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
|
||||
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
|
||||
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
|
||||
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
|
||||
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
|
||||
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
|
||||
at java.lang.reflect.Method.invoke(Unknown Source)
|
||||
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
|
||||
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
|
||||
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
|
||||
!SESSION 2010-10-21 22:06:34.030 -----------------------------------------------
|
||||
eclipse.buildId=unknown
|
||||
java.version=1.6.0_21
|
||||
java.vendor=Sun Microsystems Inc.
|
||||
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
|
||||
Framework arguments: -product org.eclipse.epp.package.jee.product
|
||||
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
|
||||
|
||||
!ENTRY org.eclipse.core.resources 2 10035 2010-10-21 22:06:49.965
|
||||
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
|
||||
!SESSION 2010-10-29 14:09:21.300 -----------------------------------------------
|
||||
eclipse.buildId=unknown
|
||||
java.version=1.6.0_21
|
||||
java.vendor=Sun Microsystems Inc.
|
||||
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
|
||||
Framework arguments: -product org.eclipse.epp.package.jee.product
|
||||
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
|
||||
|
||||
!ENTRY org.eclipse.debug.core 4 2 2010-10-29 16:14:09.775
|
||||
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.debug.core".
|
||||
!STACK 0
|
||||
org.eclipse.swt.SWTException: Device is disposed
|
||||
at org.eclipse.swt.SWT.error(SWT.java:3884)
|
||||
at org.eclipse.swt.SWT.error(SWT.java:3799)
|
||||
at org.eclipse.swt.SWT.error(SWT.java:3770)
|
||||
at org.eclipse.swt.widgets.Display.error(Display.java:1204)
|
||||
at org.eclipse.swt.widgets.Display.asyncExec(Display.java:655)
|
||||
at org.eclipse.debug.internal.ui.views.console.ProcessConsole.resetName(ProcessConsole.java:459)
|
||||
at org.eclipse.debug.internal.ui.views.console.ProcessConsole.handleDebugEvents(ProcessConsole.java:441)
|
||||
at org.eclipse.debug.core.DebugPlugin$EventNotifier.run(DebugPlugin.java:1081)
|
||||
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
|
||||
at org.eclipse.debug.core.DebugPlugin$EventNotifier.dispatch(DebugPlugin.java:1115)
|
||||
at org.eclipse.debug.core.DebugPlugin$EventDispatchJob.run(DebugPlugin.java:382)
|
||||
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
|
||||
|
||||
!ENTRY org.eclipse.debug.core 4 125 2010-10-29 16:14:09.822
|
||||
!MESSAGE An exception occurred while dispatching debug events.
|
||||
!STACK 0
|
||||
org.eclipse.swt.SWTException: Device is disposed
|
||||
at org.eclipse.swt.SWT.error(SWT.java:3884)
|
||||
at org.eclipse.swt.SWT.error(SWT.java:3799)
|
||||
at org.eclipse.swt.SWT.error(SWT.java:3770)
|
||||
at org.eclipse.swt.widgets.Display.error(Display.java:1204)
|
||||
at org.eclipse.swt.widgets.Display.asyncExec(Display.java:655)
|
||||
at org.eclipse.debug.internal.ui.views.console.ProcessConsole.resetName(ProcessConsole.java:459)
|
||||
at org.eclipse.debug.internal.ui.views.console.ProcessConsole.handleDebugEvents(ProcessConsole.java:441)
|
||||
at org.eclipse.debug.core.DebugPlugin$EventNotifier.run(DebugPlugin.java:1081)
|
||||
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
|
||||
at org.eclipse.debug.core.DebugPlugin$EventNotifier.dispatch(DebugPlugin.java:1115)
|
||||
at org.eclipse.debug.core.DebugPlugin$EventDispatchJob.run(DebugPlugin.java:382)
|
||||
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
|
||||
!SESSION 2010-12-07 17:26:48.015 -----------------------------------------------
|
||||
eclipse.buildId=I20080617-2000
|
||||
java.version=1.6.0_20
|
||||
java.vendor=Sun Microsystems Inc.
|
||||
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
|
||||
Command-line arguments: -os win32 -ws win32 -arch x86 -data C:\Dokumente und Einstellungen\Marco\Desktop\Studienarbeit T3100\workspace
|
||||
|
||||
!ENTRY org.eclipse.ui 4 0 2010-12-07 17:27:01.640
|
||||
!MESSAGE Problems occurred restoring workbench.
|
||||
!SUBENTRY 1 org.eclipse.ui 0 0 2010-12-07 17:27:01.640
|
||||
!MESSAGE
|
||||
!SUBENTRY 1 org.eclipse.core.runtime 0 0 2010-12-07 17:27:01.640
|
||||
!MESSAGE OK
|
||||
!SUBENTRY 1 org.eclipse.core.runtime 0 0 2010-12-07 17:27:01.640
|
||||
!MESSAGE OK
|
||||
!SUBENTRY 1 org.eclipse.core.runtime 0 0 2010-12-07 17:27:01.640
|
||||
!MESSAGE OK
|
||||
!SUBENTRY 1 org.eclipse.ui 4 0 2010-12-07 17:27:01.640
|
||||
!MESSAGE Unable to restore perspective: Workspace - Java.
|
||||
!SUBENTRY 2 org.eclipse.ui 0 0 2010-12-07 17:27:01.640
|
||||
!MESSAGE Problems occurred restoring perspective.
|
||||
!SUBENTRY 3 org.eclipse.ui 0 0 2010-12-07 17:27:01.640
|
||||
!MESSAGE
|
||||
!SUBENTRY 2 org.eclipse.ui 0 0 2010-12-07 17:27:01.640
|
||||
!MESSAGE
|
||||
!SUBENTRY 2 org.eclipse.ui 0 0 2010-12-07 17:27:01.640
|
||||
!MESSAGE
|
||||
!SUBENTRY 2 org.eclipse.ui 0 0 2010-12-07 17:27:01.640
|
||||
!MESSAGE
|
||||
!SUBENTRY 2 org.eclipse.ui 4 4 2010-12-07 17:27:01.640
|
||||
!MESSAGE Could not create view: org.eclipse.wst.server.ui.ServersView
|
||||
!STACK 1
|
||||
org.eclipse.ui.PartInitException: Could not create view: org.eclipse.wst.server.ui.ServersView
|
||||
at org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.java:157)
|
||||
at org.eclipse.ui.internal.Perspective.createReferences(Perspective.java:1173)
|
||||
at org.eclipse.ui.internal.Perspective.restoreState(Perspective.java:1143)
|
||||
at org.eclipse.ui.internal.WorkbenchPage$16.runWithException(WorkbenchPage.java:3168)
|
||||
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
|
||||
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
|
||||
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
|
||||
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
|
||||
at org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1361)
|
||||
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
|
||||
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
|
||||
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
|
||||
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2293)
|
||||
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
|
||||
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
|
||||
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
|
||||
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
|
||||
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
|
||||
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
|
||||
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
|
||||
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
|
||||
at java.lang.reflect.Method.invoke(Unknown Source)
|
||||
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
|
||||
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
|
||||
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
|
||||
!SUBENTRY 3 org.eclipse.ui 4 0 2010-12-07 17:27:01.640
|
||||
!MESSAGE Could not create view: org.eclipse.wst.server.ui.ServersView
|
||||
!SUBENTRY 2 org.eclipse.ui 4 4 2010-12-07 17:27:01.640
|
||||
!MESSAGE Could not create view: org.eclipse.datatools.connectivity.DataSourceExplorerNavigator
|
||||
!STACK 1
|
||||
org.eclipse.ui.PartInitException: Could not create view: org.eclipse.datatools.connectivity.DataSourceExplorerNavigator
|
||||
at org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.java:157)
|
||||
at org.eclipse.ui.internal.Perspective.createReferences(Perspective.java:1173)
|
||||
at org.eclipse.ui.internal.Perspective.restoreState(Perspective.java:1143)
|
||||
at org.eclipse.ui.internal.WorkbenchPage$16.runWithException(WorkbenchPage.java:3168)
|
||||
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
|
||||
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
|
||||
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
|
||||
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
|
||||
at org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1361)
|
||||
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
|
||||
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
|
||||
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
|
||||
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2293)
|
||||
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
|
||||
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
|
||||
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
|
||||
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
|
||||
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
|
||||
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
|
||||
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
|
||||
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
|
||||
at java.lang.reflect.Method.invoke(Unknown Source)
|
||||
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
|
||||
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
|
||||
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
|
||||
!SUBENTRY 3 org.eclipse.ui 4 0 2010-12-07 17:27:01.640
|
||||
!MESSAGE Could not create view: org.eclipse.datatools.connectivity.DataSourceExplorerNavigator
|
||||
!SUBENTRY 2 org.eclipse.ui 4 4 2010-12-07 17:27:01.640
|
||||
!MESSAGE Could not create view: org.eclipse.wst.common.snippets.internal.ui.SnippetsView
|
||||
!STACK 1
|
||||
org.eclipse.ui.PartInitException: Could not create view: org.eclipse.wst.common.snippets.internal.ui.SnippetsView
|
||||
at org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.java:157)
|
||||
at org.eclipse.ui.internal.Perspective.createReferences(Perspective.java:1173)
|
||||
at org.eclipse.ui.internal.Perspective.restoreState(Perspective.java:1143)
|
||||
at org.eclipse.ui.internal.WorkbenchPage$16.runWithException(WorkbenchPage.java:3168)
|
||||
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
|
||||
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
|
||||
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
|
||||
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
|
||||
at org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1361)
|
||||
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
|
||||
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
|
||||
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
|
||||
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2293)
|
||||
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
|
||||
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
|
||||
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
|
||||
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
|
||||
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
|
||||
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
|
||||
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
|
||||
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
|
||||
at java.lang.reflect.Method.invoke(Unknown Source)
|
||||
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
|
||||
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
|
||||
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
|
||||
!SUBENTRY 3 org.eclipse.ui 4 0 2010-12-07 17:27:01.640
|
||||
!MESSAGE Could not create view: org.eclipse.wst.common.snippets.internal.ui.SnippetsView
|
||||
!SUBENTRY 2 org.eclipse.ui 4 4 2010-12-07 17:27:01.656
|
||||
!MESSAGE Could not create view: org.eclipse.mylyn.tasks.ui.views.tasks
|
||||
!STACK 1
|
||||
org.eclipse.ui.PartInitException: Could not create view: org.eclipse.mylyn.tasks.ui.views.tasks
|
||||
at org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.java:157)
|
||||
at org.eclipse.ui.internal.Perspective.createReferences(Perspective.java:1173)
|
||||
at org.eclipse.ui.internal.Perspective.restoreState(Perspective.java:1143)
|
||||
at org.eclipse.ui.internal.WorkbenchPage$16.runWithException(WorkbenchPage.java:3168)
|
||||
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
|
||||
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
|
||||
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
|
||||
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
|
||||
at org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1361)
|
||||
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
|
||||
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
|
||||
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
|
||||
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2293)
|
||||
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
|
||||
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
|
||||
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
|
||||
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
|
||||
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
|
||||
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
|
||||
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
|
||||
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
|
||||
at java.lang.reflect.Method.invoke(Unknown Source)
|
||||
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
|
||||
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
|
||||
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
|
||||
!SUBENTRY 3 org.eclipse.ui 4 0 2010-12-07 17:27:01.656
|
||||
!MESSAGE Could not create view: org.eclipse.mylyn.tasks.ui.views.tasks
|
||||
!SUBENTRY 2 org.eclipse.ui 0 0 2010-12-07 17:27:01.656
|
||||
!MESSAGE
|
||||
!SUBENTRY 2 org.eclipse.ui 4 4 2010-12-07 17:27:01.656
|
||||
!MESSAGE Could not create view: org.eclipse.mylyn.tasks.ui.views.tasks
|
||||
!STACK 1
|
||||
org.eclipse.ui.PartInitException: Could not create view: org.eclipse.mylyn.tasks.ui.views.tasks
|
||||
at org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.java:157)
|
||||
at org.eclipse.ui.internal.Perspective.createReferences(Perspective.java:1173)
|
||||
at org.eclipse.ui.internal.Perspective.restoreState(Perspective.java:1143)
|
||||
at org.eclipse.ui.internal.WorkbenchPage$16.runWithException(WorkbenchPage.java:3168)
|
||||
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
|
||||
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
|
||||
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
|
||||
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
|
||||
at org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1361)
|
||||
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
|
||||
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
|
||||
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
|
||||
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2293)
|
||||
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
|
||||
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
|
||||
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
|
||||
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
|
||||
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
|
||||
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
|
||||
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
|
||||
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
|
||||
at java.lang.reflect.Method.invoke(Unknown Source)
|
||||
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
|
||||
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
|
||||
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
|
||||
!SUBENTRY 3 org.eclipse.ui 4 0 2010-12-07 17:27:01.671
|
||||
!MESSAGE Could not create view: org.eclipse.mylyn.tasks.ui.views.tasks
|
||||
!SUBENTRY 2 org.eclipse.ui 0 0 2010-12-07 17:27:01.671
|
||||
!MESSAGE
|
||||
!SUBENTRY 2 org.eclipse.ui 4 4 2010-12-07 17:27:01.671
|
||||
!MESSAGE Could not create view: org.eclipse.wst.server.ui.ServersView
|
||||
!STACK 1
|
||||
org.eclipse.ui.PartInitException: Could not create view: org.eclipse.wst.server.ui.ServersView
|
||||
at org.eclipse.ui.internal.ViewFactory.createView(ViewFactory.java:157)
|
||||
at org.eclipse.ui.internal.Perspective.createReferences(Perspective.java:1173)
|
||||
at org.eclipse.ui.internal.Perspective.restoreState(Perspective.java:1143)
|
||||
at org.eclipse.ui.internal.WorkbenchPage$16.runWithException(WorkbenchPage.java:3168)
|
||||
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
|
||||
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
|
||||
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
|
||||
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
|
||||
at org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1361)
|
||||
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
|
||||
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
|
||||
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
|
||||
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2293)
|
||||
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
|
||||
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
|
||||
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
|
||||
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
|
||||
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
|
||||
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
|
||||
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
|
||||
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
|
||||
at java.lang.reflect.Method.invoke(Unknown Source)
|
||||
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
|
||||
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
|
||||
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
|
||||
!SUBENTRY 3 org.eclipse.ui 4 0 2010-12-07 17:27:01.671
|
||||
!MESSAGE Could not create view: org.eclipse.wst.server.ui.ServersView
|
||||
!SUBENTRY 2 org.eclipse.ui 0 0 2010-12-07 17:27:01.671
|
||||
!MESSAGE
|
||||
!SUBENTRY 2 org.eclipse.ui 0 0 2010-12-07 17:27:01.671
|
||||
!MESSAGE
|
||||
!SUBENTRY 2 org.eclipse.ui 0 0 2010-12-07 17:27:01.671
|
||||
!MESSAGE
|
||||
!SUBENTRY 2 org.eclipse.ui 0 0 2010-12-07 17:27:01.671
|
||||
!MESSAGE
|
||||
!SUBENTRY 2 org.eclipse.ui 0 0 2010-12-07 17:27:01.671
|
||||
!MESSAGE
|
||||
!SUBENTRY 2 org.eclipse.ui 4 0 2010-12-07 17:27:01.671
|
||||
!MESSAGE Could not find view: org.eclipse.mylyn.tasks.ui.views.tasks
|
||||
!SUBENTRY 1 org.eclipse.core.runtime 0 0 2010-12-07 17:27:01.671
|
||||
!MESSAGE OK
|
||||
!SESSION 2011-01-16 19:52:25.176 -----------------------------------------------
|
||||
eclipse.buildId=unknown
|
||||
java.version=1.6.0_23
|
||||
java.vendor=Sun Microsystems Inc.
|
||||
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
|
||||
Framework arguments: -product org.eclipse.epp.package.jee.product
|
||||
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
|
||||
|
||||
!ENTRY org.eclipse.wst.validation 2 0 2011-01-16 19:54:22.226
|
||||
!MESSAGE Resource '/visualizationFramework/start.html' does not exist.
|
||||
!STACK 1
|
||||
org.eclipse.core.internal.resources.ResourceException: Resource '/visualizationFramework/start.html' does not exist.
|
||||
at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:319)
|
||||
at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:196)
|
||||
at org.eclipse.core.internal.resources.Resource.checkAccessibleAndLocal(Resource.java:202)
|
||||
at org.eclipse.core.internal.resources.Resource.setSessionProperty(Resource.java:1684)
|
||||
at org.eclipse.wst.validation.internal.ValManager.putValProperty(ValManager.java:919)
|
||||
at org.eclipse.wst.validation.internal.ValManager.accept(ValManager.java:812)
|
||||
at org.eclipse.wst.validation.internal.DisabledValidatorManager$DisabledValidationFinder.findDisabledValidatorsFor(DisabledValidatorManager.java:109)
|
||||
at org.eclipse.wst.validation.internal.DisabledValidatorManager.getDisabledValidatorsFor(DisabledValidatorManager.java:62)
|
||||
at org.eclipse.wst.validation.ValidationFramework.getDisabledValidatorsFor(ValidationFramework.java:238)
|
||||
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:193)
|
||||
at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:199)
|
||||
at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:221)
|
||||
at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor.run(DirtyRegionProcessor.java:641)
|
||||
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
|
||||
!SUBENTRY 1 org.eclipse.core.resources 4 368 2011-01-16 19:54:22.227
|
||||
!MESSAGE Resource '/visualizationFramework/start.html' does not exist.
|
BIN
Neuer Ordner/workspace/.metadata/.mylyn/.tasks.xml.zip
Normal file
BIN
Neuer Ordner/workspace/.metadata/.mylyn/.tasks.xml.zip
Normal file
Binary file not shown.
BIN
Neuer Ordner/workspace/.metadata/.mylyn/repositories.xml.zip
Normal file
BIN
Neuer Ordner/workspace/.metadata/.mylyn/repositories.xml.zip
Normal file
Binary file not shown.
BIN
Neuer Ordner/workspace/.metadata/.mylyn/tasks.xml.zip
Normal file
BIN
Neuer Ordner/workspace/.metadata/.mylyn/tasks.xml.zip
Normal file
Binary file not shown.
@ -0,0 +1,15 @@
|
||||
import java.util.Vector;
|
||||
|
||||
|
||||
public class Generator {
|
||||
|
||||
public static Vector<String> GenereateSchedule(Vector<String> players){
|
||||
Vector<String> schedule = new Vector<String>();
|
||||
|
||||
String[][] pyramids = new String[][];
|
||||
|
||||
|
||||
|
||||
return schedule;
|
||||
}
|
||||
}
|
@ -0,0 +1,144 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:09:00 CET 2011 -->
|
||||
<TITLE>
|
||||
Uses of Class visualizationElements.BarChart
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class visualizationElements.BarChart";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../visualizationElements/BarChart.html" title="class in visualizationElements"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../index.html?visualizationElements/\class-useBarChart.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="BarChart.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<CENTER>
|
||||
<H2>
|
||||
<B>Uses of Class<br>visualizationElements.BarChart</B></H2>
|
||||
</CENTER>
|
||||
No usage of visualizationElements.BarChart
|
||||
<P>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../visualizationElements/BarChart.html" title="class in visualizationElements"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../index.html?visualizationElements/\class-useBarChart.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="BarChart.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,8 @@
|
||||
#Thu Oct 21 22:08:59 CEST 2010
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
|
||||
org.eclipse.jdt.core.compiler.compliance=1.6
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.source=1.6
|
@ -0,0 +1,49 @@
|
||||
//package sumUp;
|
||||
//
|
||||
//import logging.LogElementList;
|
||||
//import visualization.TextArea;
|
||||
//
|
||||
///**
|
||||
// * This class provides an example for using visualization.TextArea.
|
||||
// * Constructors and print() method have been overwritten.
|
||||
// * @see visualization.TextArea
|
||||
// * @author Björn Strobel<br><small>
|
||||
// * University of Cooperative Education Stuttgart,
|
||||
// * Campus Horb<br>
|
||||
// * Department of Information Technology<br>
|
||||
// * it2003<br></small>
|
||||
// */
|
||||
//public class SumUpTextArea extends TextArea{
|
||||
//
|
||||
// /**
|
||||
// * Standard constructor.
|
||||
// */
|
||||
// public SumUpTextArea() {
|
||||
// super();
|
||||
// // TODO Auto-generated constructor stub
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * Extended constructor.
|
||||
// * Sets LogElementList of SumUpLogElements as log list.
|
||||
// * @param logList the text area's log element list.
|
||||
// */
|
||||
// public SumUpTextArea(LogElementList<SumUpLogElement>logList){
|
||||
// super(logList);
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * Textual output of a log element.
|
||||
// * Outputting step number, description and sum up value.
|
||||
// */
|
||||
// public boolean print(){
|
||||
// SumUpLogElement logElement=(SumUpLogElement)logList.get();
|
||||
// if(getText().equals("")){
|
||||
// setText("Step "+logElement.getStep()+": "+logElement.getDescription()+": "+logElement.getValue());
|
||||
// }
|
||||
// else{
|
||||
// setText(getText()+"\n"+"Step "+logElement.getStep()+": "+logElement.getDescription()+": "+logElement.getValue());
|
||||
// }
|
||||
// return true;
|
||||
// }
|
||||
//}
|
@ -0,0 +1,36 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc on Wed Jan 12 18:52:34 CET 2011-->
|
||||
<TITLE>
|
||||
Generated Documentation (Untitled)
|
||||
</TITLE>
|
||||
<SCRIPT type="text/javascript">
|
||||
targetPage = "" + window.location.search;
|
||||
if (targetPage != "" && targetPage != "undefined")
|
||||
targetPage = targetPage.substring(1);
|
||||
if (targetPage.indexOf(":") != -1)
|
||||
targetPage = "undefined";
|
||||
function loadFrames() {
|
||||
if (targetPage != "" && targetPage != "undefined")
|
||||
top.classFrame.location = top.targetPage;
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
</HEAD>
|
||||
<FRAMESET cols="20%,80%" title="" onLoad="top.loadFrames()">
|
||||
<FRAME src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
|
||||
<FRAME src="TestApplication/package-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
|
||||
<NOFRAMES>
|
||||
<H2>
|
||||
Frame Alert</H2>
|
||||
|
||||
<P>
|
||||
This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
|
||||
<BR>
|
||||
Link to<A HREF="TestApplication/package-summary.html">Non-frame version.</A>
|
||||
</NOFRAMES>
|
||||
</FRAMESET>
|
||||
</HTML>
|
@ -0,0 +1,144 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 18:52:34 CET 2011 -->
|
||||
<TITLE>
|
||||
Constant Field Values
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Constant Field Values";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="TestApplication/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index.html?constant-values.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="constant-values.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<CENTER>
|
||||
<H1>
|
||||
Constant Field Values</H1>
|
||||
</CENTER>
|
||||
<HR SIZE="4" NOSHADE>
|
||||
<B>Contents</B><UL>
|
||||
</UL>
|
||||
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="TestApplication/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index.html?constant-values.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="constant-values.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,238 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:09:00 CET 2011 -->
|
||||
<TITLE>
|
||||
Uses of Class logging.Algorithm
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class logging.Algorithm";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../logging/Algorithm.html" title="class in logging"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../index.html?logging/\class-useAlgorithm.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Algorithm.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<CENTER>
|
||||
<H2>
|
||||
<B>Uses of Class<br>logging.Algorithm</B></H2>
|
||||
</CENTER>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Packages that use <A HREF="../../logging/Algorithm.html" title="class in logging">Algorithm</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><A HREF="#sumUp"><B>sumUp</B></A></TD>
|
||||
<TD>A small example showing how logging and visualization work. </TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><A HREF="#TestApplication"><B>TestApplication</B></A></TD>
|
||||
<TD> </TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><A HREF="#visualization"><B>visualization</B></A></TD>
|
||||
<TD>Provides the classes necessary to create a visualization of a logged algorithm. </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<A NAME="sumUp"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Uses of <A HREF="../../logging/Algorithm.html" title="class in logging">Algorithm</A> in <A HREF="../../sumUp/package-summary.html">sumUp</A></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../logging/Algorithm.html" title="class in logging">Algorithm</A> in <A HREF="../../sumUp/package-summary.html">sumUp</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> class</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../sumUp/SumUpAlgorithm.html" title="class in sumUp">SumUpAlgorithm</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
This class provides an example for using logging.Algorithm.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<A NAME="TestApplication"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Uses of <A HREF="../../logging/Algorithm.html" title="class in logging">Algorithm</A> in <A HREF="../../TestApplication/package-summary.html">TestApplication</A></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../logging/Algorithm.html" title="class in logging">Algorithm</A> in <A HREF="../../TestApplication/package-summary.html">TestApplication</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> class</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../TestApplication/TestAlgorithm.html" title="class in TestApplication">TestAlgorithm</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
This class provides an example for using logging.Algorithm.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<A NAME="visualization"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Uses of <A HREF="../../logging/Algorithm.html" title="class in logging">Algorithm</A> in <A HREF="../../visualization/package-summary.html">visualization</A></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../visualization/package-summary.html">visualization</A> with type parameters of type <A HREF="../../logging/Algorithm.html" title="class in logging">Algorithm</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> class</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../visualization/HybridWindow.html" title="class in visualization">HybridWindow<DRAW extends DrawArea,TEXT extends TextArea,PARAM extends ParameterArea,ALGORITHM extends Algorithm,LOG extends LogElement,LEGEND extends LegendArea></A></B></CODE>
|
||||
|
||||
<BR>
|
||||
This is the central class for using packages logging and visualization.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../logging/Algorithm.html" title="class in logging"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../index.html?logging/\class-useAlgorithm.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Algorithm.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,59 @@
|
||||
package testApplication;
|
||||
|
||||
import logging.Algorithm;
|
||||
import logging.LogElementList;
|
||||
|
||||
/**
|
||||
* This class provides an example for using logging.Algorithm.
|
||||
* It sums up integer number starting with 0 up to the maximum value specified in the parameter area.
|
||||
* @see logging.Algorithm
|
||||
* @author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestAlgorithm extends Algorithm{
|
||||
|
||||
public TestAlgorithm() {
|
||||
super();
|
||||
// TODO Auto-generated constructor stub
|
||||
}
|
||||
/**
|
||||
* Creates a sum up algorithm.
|
||||
* @param parameterArea the sum up parameter area the algorithm gets its parameters from
|
||||
*/
|
||||
public TestAlgorithm(TestParameterArea parameterArea){
|
||||
super(parameterArea,"Test algorithm");
|
||||
}
|
||||
|
||||
/**
|
||||
* Overwritten from super class.
|
||||
* Runs the algorithm with parameters specified in parameterArea.
|
||||
* Returns the LogElementList produced by the algorithm processing.
|
||||
* Sums up integer number starting with 0 up to the maximum value specified in the parameter area.
|
||||
* @return a LogElementList containing the algorithm processings single steps
|
||||
*/
|
||||
public LogElementList run(){
|
||||
LogElementList<TestLogElement>logList = new LogElementList<TestLogElement>();
|
||||
//barChartAndTableTest(logList);
|
||||
//chessBoardTest(logList);
|
||||
return logList;
|
||||
}
|
||||
private void chessBoardTest(LogElementList<TestLogElement> logList) {
|
||||
;
|
||||
}
|
||||
private void barChartAndTableTest(LogElementList<TestLogElement> logList) {
|
||||
for(int i=1;i<=10;i++){
|
||||
try{
|
||||
|
||||
logList.add(new TestLogElement(i, "Value", i));
|
||||
}
|
||||
catch(OutOfMemoryError e){
|
||||
|
||||
System.err.println("Out of memory");
|
||||
//logList.clear();
|
||||
//logList.add(new SumUpLogElement(0,"Nicht genügend Speicher verfügbar!", 0));
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,560 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:08:57 CET 2011 -->
|
||||
<TITLE>
|
||||
DrawArea
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="DrawArea";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DrawArea.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV CLASS
|
||||
<A HREF="../visualization/HybridWindow.html" title="class in visualization"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?visualization/DrawArea.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="DrawArea.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: <A HREF="#nested_classes_inherited_from_class_javax.swing.JComponent">NESTED</A> | <A HREF="#fields_inherited_from_class_javax.swing.JComponent">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<H2>
|
||||
<FONT SIZE="-1">
|
||||
visualization</FONT>
|
||||
<BR>
|
||||
Class DrawArea<LOG extends <A HREF="../logging/LogElement.html" title="class in logging">LogElement</A>></H2>
|
||||
<PRE>
|
||||
java.lang.Object
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">java.awt.Component
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">java.awt.Container
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">javax.swing.JComponent
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">javax.swing.JPanel
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>visualization.DrawArea<LOG></B>
|
||||
</PRE>
|
||||
<DL>
|
||||
<DT><B>All Implemented Interfaces:</B> <DD>java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible</DD>
|
||||
</DL>
|
||||
<DL>
|
||||
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../sumUp/SumUpDrawArea.html" title="class in sumUp">SumUpDrawArea</A>, <A HREF="../TestApplication/TestDrawArea.html" title="class in TestApplication">TestDrawArea</A></DD>
|
||||
</DL>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT><PRE>public abstract class <B>DrawArea<LOG extends <A HREF="../logging/LogElement.html" title="class in logging">LogElement</A>></B><DT>extends javax.swing.JPanel</DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
This class provides the basic draw area for a HybridWindow.
|
||||
Use it in assoziation with packages logging and visualization.
|
||||
Just overwrite the draw(Graphics) method to get a graphic output from a log list element.
|
||||
Parameters for algorithm processing are read from member parameterArea that ist part of the user interface.
|
||||
<P>
|
||||
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Author:</B></DT>
|
||||
<DD>Björn Strobel<br><small>
|
||||
University of Cooperative Education Stuttgart,
|
||||
Campus Horb<br>
|
||||
Department of Information Technology<br>
|
||||
it2003<br></small></DD>
|
||||
<DT><B>See Also:</B><DD><A HREF="../logging/LogElement.html" title="class in logging"><CODE>LogElement</CODE></A>,
|
||||
<A HREF="../logging/LogElementList.html" title="class in logging"><CODE>LogElementList</CODE></A>,
|
||||
<A HREF="../visualization/HybridWindow.html" title="class in visualization"><CODE>HybridWindow</CODE></A>,
|
||||
<CODE>JPanel</CODE>,
|
||||
<A HREF="../serialized-form.html#visualization.DrawArea">Serialized Form</A></DL>
|
||||
<HR>
|
||||
|
||||
<P>
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
|
||||
<A NAME="nested_class_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Nested Class Summary</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="nested_classes_inherited_from_class_javax.swing.JComponent"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class javax.swing.JComponent</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>javax.swing.JComponent.AccessibleJComponent</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="nested_classes_inherited_from_class_java.awt.Component"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Component</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>java.awt.Component.BaselineResizeBehavior</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
|
||||
<A NAME="field_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Field Summary</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="fields_inherited_from_class_javax.swing.JComponent"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Fields inherited from class javax.swing.JComponent</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="fields_inherited_from_class_java.awt.Component"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Fields inherited from class java.awt.Component</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="fields_inherited_from_class_java.awt.image.ImageObserver"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Fields inherited from interface java.awt.image.ImageObserver</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
|
||||
<A NAME="constructor_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../visualization/DrawArea.html#DrawArea()">DrawArea</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Standard constructor.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../visualization/DrawArea.html#DrawArea(logging.LogElementList, java.lang.String)">DrawArea</A></B>(<A HREF="../logging/LogElementList.html" title="class in logging">LogElementList</A><<A HREF="../visualization/DrawArea.html" title="type parameter in DrawArea">LOG</A>> logList,
|
||||
java.lang.String drawAreaName)</CODE>
|
||||
|
||||
<BR>
|
||||
Creates an empty draw area with scroll pane and sets the specified log list and tab name.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
|
||||
<A NAME="method_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualization/DrawArea.html#clear()">clear</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Provided for convenience.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualization/DrawArea.html#draw(java.awt.Graphics)">draw</A></B>(java.awt.Graphics g)</CODE>
|
||||
|
||||
<BR>
|
||||
Draws the actual log element's graphical output.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualization/DrawArea.html#drawStep()">drawStep</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Calls repaint().</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> java.lang.String</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualization/DrawArea.html#getDrawAreaName()">getDrawAreaName</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Gets the draw area's name</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> javax.swing.JScrollPane</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualization/DrawArea.html#getScrollPane()">getScrollPane</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Returns the draw area'a scroll pane.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualization/DrawArea.html#paint(java.awt.Graphics)">paint</A></B>(java.awt.Graphics g)</CODE>
|
||||
|
||||
<BR>
|
||||
Paints the draw area background and calls draw(Graphics).</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualization/DrawArea.html#setDrawAreaName(java.lang.String)">setDrawAreaName</A></B>(java.lang.String drawAreaName)</CODE>
|
||||
|
||||
<BR>
|
||||
Sets the draw area's name</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualization/DrawArea.html#setLogList(logging.LogElementList)">setLogList</A></B>(<A HREF="../logging/LogElementList.html" title="class in logging">LogElementList</A><<A HREF="../visualization/DrawArea.html" title="type parameter in DrawArea">LOG</A>> logList)</CODE>
|
||||
|
||||
<BR>
|
||||
Sets the draw area's log list.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_javax.swing.JPanel"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class javax.swing.JPanel</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>getAccessibleContext, getUI, getUIClassID, setUI, updateUI</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_javax.swing.JComponent"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class javax.swing.JComponent</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.awt.Container</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.awt.Component</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
|
||||
<A NAME="constructor_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="DrawArea()"><!-- --></A><H3>
|
||||
DrawArea</H3>
|
||||
<PRE>
|
||||
public <B>DrawArea</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Standard constructor.
|
||||
Creates an empty draw area with scroll pane.
|
||||
<P>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="DrawArea(logging.LogElementList, java.lang.String)"><!-- --></A><H3>
|
||||
DrawArea</H3>
|
||||
<PRE>
|
||||
public <B>DrawArea</B>(<A HREF="../logging/LogElementList.html" title="class in logging">LogElementList</A><<A HREF="../visualization/DrawArea.html" title="type parameter in DrawArea">LOG</A>> logList,
|
||||
java.lang.String drawAreaName)</PRE>
|
||||
<DL>
|
||||
<DD>Creates an empty draw area with scroll pane and sets the specified log list and tab name.
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>logList</CODE> - the draw area's log list<DD><CODE>drawAreaName</CODE> - the name for the draw area to be displayed on the hybrid window's tab</DL>
|
||||
</DL>
|
||||
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
|
||||
<A NAME="method_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="getScrollPane()"><!-- --></A><H3>
|
||||
getScrollPane</H3>
|
||||
<PRE>
|
||||
public javax.swing.JScrollPane <B>getScrollPane</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Returns the draw area'a scroll pane.
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the draw area'a scroll pane</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setLogList(logging.LogElementList)"><!-- --></A><H3>
|
||||
setLogList</H3>
|
||||
<PRE>
|
||||
public void <B>setLogList</B>(<A HREF="../logging/LogElementList.html" title="class in logging">LogElementList</A><<A HREF="../visualization/DrawArea.html" title="type parameter in DrawArea">LOG</A>> logList)</PRE>
|
||||
<DL>
|
||||
<DD>Sets the draw area's log list.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>logList</CODE> - the draw area's log list</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getDrawAreaName()"><!-- --></A><H3>
|
||||
getDrawAreaName</H3>
|
||||
<PRE>
|
||||
public java.lang.String <B>getDrawAreaName</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Gets the draw area's name
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the name to be returned</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setDrawAreaName(java.lang.String)"><!-- --></A><H3>
|
||||
setDrawAreaName</H3>
|
||||
<PRE>
|
||||
public void <B>setDrawAreaName</B>(java.lang.String drawAreaName)</PRE>
|
||||
<DL>
|
||||
<DD>Sets the draw area's name
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>drawAreaName</CODE> - the name to be set</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="drawStep()"><!-- --></A><H3>
|
||||
drawStep</H3>
|
||||
<PRE>
|
||||
public void <B>drawStep</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Calls repaint().
|
||||
<P>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="paint(java.awt.Graphics)"><!-- --></A><H3>
|
||||
paint</H3>
|
||||
<PRE>
|
||||
public void <B>paint</B>(java.awt.Graphics g)</PRE>
|
||||
<DL>
|
||||
<DD>Paints the draw area background and calls draw(Graphics).
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE>paint</CODE> in class <CODE>javax.swing.JComponent</CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="draw(java.awt.Graphics)"><!-- --></A><H3>
|
||||
draw</H3>
|
||||
<PRE>
|
||||
public void <B>draw</B>(java.awt.Graphics g)</PRE>
|
||||
<DL>
|
||||
<DD>Draws the actual log element's graphical output.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>g</CODE> - Graphics object given by paint(Graphics);</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="clear()"><!-- --></A><H3>
|
||||
clear</H3>
|
||||
<PRE>
|
||||
public void <B>clear</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Provided for convenience. Does the same as drawStep.
|
||||
Use it with logElementList.clear().
|
||||
<P>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DrawArea.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV CLASS
|
||||
<A HREF="../visualization/HybridWindow.html" title="class in visualization"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?visualization/DrawArea.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="DrawArea.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: <A HREF="#nested_classes_inherited_from_class_javax.swing.JComponent">NESTED</A> | <A HREF="#fields_inherited_from_class_javax.swing.JComponent">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,48 @@
|
||||
package testApplication;
|
||||
|
||||
import logging.LogElement;
|
||||
|
||||
/**
|
||||
* This class provides an example for using logging.LogElement.
|
||||
* The super class has been extended by member value and corresponding get method.
|
||||
* The standard constructor has been overwritten and a new one has been introduced.
|
||||
* @see logging.LogElement
|
||||
* @author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestLogElement extends LogElement{
|
||||
|
||||
/** The log elements sum up value. */
|
||||
protected long value;
|
||||
|
||||
/**
|
||||
* Standard constructor.
|
||||
* Calls the constructor of super class and sets value 0.
|
||||
*/
|
||||
public TestLogElement() {
|
||||
super();
|
||||
value=0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Extended constructor.
|
||||
* Sets specified step number, description and sum up value.
|
||||
* @param step the log element's step number
|
||||
* @param description the log element's step description
|
||||
* @param value the log element's sum up value
|
||||
*/
|
||||
public TestLogElement(int step,String description,long value){
|
||||
this.step=step;
|
||||
this.description=description;
|
||||
this.value=value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the log element's sum up value.
|
||||
* @return the log element's sum up value
|
||||
*/
|
||||
public long getValue(){
|
||||
return value;
|
||||
}
|
||||
}
|
@ -0,0 +1,319 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:09:00 CET 2011 -->
|
||||
<TITLE>
|
||||
S-Index
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="S-Index";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index-15.html"><B>PREV LETTER</B></A>
|
||||
<A HREF="index-17.html"><B>NEXT LETTER</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?index-filesindex-16.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="index-16.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">H</A> <A HREF="index-9.html">I</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">V</A> <HR>
|
||||
<A NAME="_S_"><!-- --></A><H2>
|
||||
<B>S</B></H2>
|
||||
<DL>
|
||||
<DT><A HREF="../visualizationElements/Cell.html#setAsGoal()"><B>setAsGoal()</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Cell.html" title="class in visualizationElements">Cell</A>
|
||||
<DD>Sets the cell as the goal of the maze.
|
||||
<DT><A HREF="../visualizationElements/Cell.html#setAsStart()"><B>setAsStart()</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Cell.html" title="class in visualizationElements">Cell</A>
|
||||
<DD>Sets the cell as the start cell of the maze it contains to.
|
||||
<DT><A HREF="../visualizationElements/ChessBoard.html#setBoard(boolean[][])"><B>setBoard(boolean[][])</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/ChessBoard.html" title="class in visualizationElements">ChessBoard</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/ChessBoard.html#setCellHeight(int)"><B>setCellHeight(int)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/ChessBoard.html" title="class in visualizationElements">ChessBoard</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/ChessBoard.html#setCellWidth(int)"><B>setCellWidth(int)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/ChessBoard.html" title="class in visualizationElements">ChessBoard</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/BarChartElement.html#setColor(java.awt.Color)"><B>setColor(Color)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/BarChartElement.html" title="class in visualizationElements">BarChartElement</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Edge.html#setColor(java.awt.Color)"><B>setColor(Color)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Edge.html" title="class in visualizationElements">Edge</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Vertex.html#setColor(java.awt.Color)"><B>setColor(Color)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Vertex.html" title="class in visualizationElements">Vertex</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Table.html#setColumnCaptions(java.lang.String[])"><B>setColumnCaptions(String[])</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Table.html" title="class in visualizationElements">Table</A>
|
||||
<DD>
|
||||
<DT><A HREF="../logging/LogElement.html#setDescription(java.lang.String)"><B>setDescription(String)</B></A> -
|
||||
Method in class logging.<A HREF="../logging/LogElement.html" title="class in logging">LogElement</A>
|
||||
<DD>Sets the step's description.
|
||||
<DT><A HREF="../visualizationElements/Edge.html#setDestination(visualizationElements.Vertex)"><B>setDestination(Vertex)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Edge.html" title="class in visualizationElements">Edge</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Graph.html#setDirected(boolean)"><B>setDirected(boolean)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Graph.html" title="class in visualizationElements">Graph</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualization/DrawArea.html#setDrawAreaName(java.lang.String)"><B>setDrawAreaName(String)</B></A> -
|
||||
Method in class visualization.<A HREF="../visualization/DrawArea.html" title="class in visualization">DrawArea</A>
|
||||
<DD>Sets the draw area's name
|
||||
<DT><A HREF="../visualizationElements/Cell.html#setEastWall(boolean)"><B>setEastWall(boolean)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Cell.html" title="class in visualizationElements">Cell</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Graph.html#setEdges(java.util.Vector)"><B>setEdges(Vector<Edge>)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Graph.html" title="class in visualizationElements">Graph</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Graph.html#setEdgeStyle(visualizationElements.EdgeStyle)"><B>setEdgeStyle(EdgeStyle)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Graph.html" title="class in visualizationElements">Graph</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/BarChart.html#setHeight(int)"><B>setHeight(int)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/BarChart.html" title="class in visualizationElements">BarChart</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/DotChart.html#setHeight(int)"><B>setHeight(int)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/DotChart.html" title="class in visualizationElements">DotChart</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Table.html#setHeight(int)"><B>setHeight(int)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Table.html" title="class in visualizationElements">Table</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Maze.html#setHeigth(int)"><B>setHeigth(int)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Maze.html" title="class in visualizationElements">Maze</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualization/DrawArea.html#setLogList(logging.LogElementList)"><B>setLogList(LogElementList<LOG>)</B></A> -
|
||||
Method in class visualization.<A HREF="../visualization/DrawArea.html" title="class in visualization">DrawArea</A>
|
||||
<DD>Sets the draw area's log list.
|
||||
<DT><A HREF="../visualization/TextArea.html#setLogList(logging.LogElementList)"><B>setLogList(LogElementList<LOG>)</B></A> -
|
||||
Method in class visualization.<A HREF="../visualization/TextArea.html" title="class in visualization">TextArea</A>
|
||||
<DD>Sets the text area's logList.
|
||||
<DT><A HREF="../visualizationElements/ChessBoard.html#setMarking(java.lang.String)"><B>setMarking(String)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/ChessBoard.html" title="class in visualizationElements">ChessBoard</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Edge.html#setMarking(java.lang.String)"><B>setMarking(String)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Edge.html" title="class in visualizationElements">Edge</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Vertex.html#setMarking(java.lang.String)"><B>setMarking(String)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Vertex.html" title="class in visualizationElements">Vertex</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Maze.html#setMaze(visualizationElements.Cell[][])"><B>setMaze(Cell[][])</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Maze.html" title="class in visualizationElements">Maze</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Cell.html#setNorthWall(boolean)"><B>setNorthWall(boolean)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Cell.html" title="class in visualizationElements">Cell</A>
|
||||
<DD>
|
||||
<DT><A HREF="../logging/Algorithm.html#setParameterArea(PARAM)"><B>setParameterArea(PARAM)</B></A> -
|
||||
Method in class logging.<A HREF="../logging/Algorithm.html" title="class in logging">Algorithm</A>
|
||||
<DD>Sets the algorithm's parameter area.
|
||||
<DT><A HREF="../visualizationElements/ChessBoard.html#setSize(int)"><B>setSize(int)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/ChessBoard.html" title="class in visualizationElements">ChessBoard</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Edge.html#setSource(visualizationElements.Vertex)"><B>setSource(Vertex)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Edge.html" title="class in visualizationElements">Edge</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Cell.html#setSouthWall(boolean)"><B>setSouthWall(boolean)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Cell.html" title="class in visualizationElements">Cell</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/DotChart.html#setStartXPos(int)"><B>setStartXPos(int)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/DotChart.html" title="class in visualizationElements">DotChart</A>
|
||||
<DD>
|
||||
<DT><A HREF="../logging/LogElement.html#setStep(int)"><B>setStep(int)</B></A> -
|
||||
Method in class logging.<A HREF="../logging/LogElement.html" title="class in logging">LogElement</A>
|
||||
<DD>Sets the step's step number.
|
||||
<DT><A HREF="../logging/Algorithm.html#setTitle(java.lang.String)"><B>setTitle(String)</B></A> -
|
||||
Method in class logging.<A HREF="../logging/Algorithm.html" title="class in logging">Algorithm</A>
|
||||
<DD>Sets the algorithm's title.
|
||||
<DT><A HREF="../visualizationElements/BarChartElement.html#setValue(int)"><B>setValue(int)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/BarChartElement.html" title="class in visualizationElements">BarChartElement</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/BarChart.html#setValues(java.util.Vector)"><B>setValues(Vector<BarChartElement>)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/BarChart.html" title="class in visualizationElements">BarChart</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/DotChart.html#setValues(java.util.Vector)"><B>setValues(Vector<Integer>)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/DotChart.html" title="class in visualizationElements">DotChart</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Table.html#setValues(java.lang.Object[][])"><B>setValues(Object[][])</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Table.html" title="class in visualizationElements">Table</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Graph.html#setVertexes(java.util.Vector)"><B>setVertexes(Vector<Vertex>)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Graph.html" title="class in visualizationElements">Graph</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Cell.html#setWestWall(boolean)"><B>setWestWall(boolean)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Cell.html" title="class in visualizationElements">Cell</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/BarChart.html#setWidth(int)"><B>setWidth(int)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/BarChart.html" title="class in visualizationElements">BarChart</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/DotChart.html#setWidth(int)"><B>setWidth(int)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/DotChart.html" title="class in visualizationElements">DotChart</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Maze.html#setWidth(int)"><B>setWidth(int)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Maze.html" title="class in visualizationElements">Maze</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Table.html#setWidth(int)"><B>setWidth(int)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Table.html" title="class in visualizationElements">Table</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Vertex.html#setXpos(int)"><B>setXpos(int)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Vertex.html" title="class in visualizationElements">Vertex</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Vertex.html#setYpos(int)"><B>setYpos(int)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Vertex.html" title="class in visualizationElements">Vertex</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Stack.html" title="class in visualizationElements"><B>Stack</B></A> - Class in <A HREF="../visualizationElements/package-summary.html">visualizationElements</A><DD>Represents a Stack to visualize.<DT><A HREF="../visualizationElements/Stack.html#Stack(java.util.Vector)"><B>Stack(Vector<?>)</B></A> -
|
||||
Constructor for class visualizationElements.<A HREF="../visualizationElements/Stack.html" title="class in visualizationElements">Stack</A>
|
||||
<DD>Creates a new Stack.
|
||||
<DT><A HREF="../visualizationElements/Stack.html#Stack(java.lang.Object[])"><B>Stack(Object[])</B></A> -
|
||||
Constructor for class visualizationElements.<A HREF="../visualizationElements/Stack.html" title="class in visualizationElements">Stack</A>
|
||||
<DD>Creates a new Stack.
|
||||
<DT><A HREF="../sumUp/package-summary.html"><B>sumUp</B></A> - package sumUp<DD>A small example showing how logging and visualization work.<DT><A HREF="../sumUp/SumUpAlgorithm.html" title="class in sumUp"><B>SumUpAlgorithm</B></A> - Class in <A HREF="../sumUp/package-summary.html">sumUp</A><DD>This class provides an example for using logging.Algorithm.<DT><A HREF="../sumUp/SumUpAlgorithm.html#SumUpAlgorithm()"><B>SumUpAlgorithm()</B></A> -
|
||||
Constructor for class sumUp.<A HREF="../sumUp/SumUpAlgorithm.html" title="class in sumUp">SumUpAlgorithm</A>
|
||||
<DD>
|
||||
<DT><A HREF="../sumUp/SumUpAlgorithm.html#SumUpAlgorithm(sumUp.SumUpParameterArea)"><B>SumUpAlgorithm(SumUpParameterArea)</B></A> -
|
||||
Constructor for class sumUp.<A HREF="../sumUp/SumUpAlgorithm.html" title="class in sumUp">SumUpAlgorithm</A>
|
||||
<DD>Creates a sum up algorithm.
|
||||
<DT><A HREF="../sumUp/SumUpDrawArea.html" title="class in sumUp"><B>SumUpDrawArea</B></A> - Class in <A HREF="../sumUp/package-summary.html">sumUp</A><DD>This class provides an example for using visualization.DrawArea.<DT><A HREF="../sumUp/SumUpDrawArea.html#SumUpDrawArea()"><B>SumUpDrawArea()</B></A> -
|
||||
Constructor for class sumUp.<A HREF="../sumUp/SumUpDrawArea.html" title="class in sumUp">SumUpDrawArea</A>
|
||||
<DD>Standard constructor.
|
||||
<DT><A HREF="../sumUp/SumUpDrawArea.html#SumUpDrawArea(logging.LogElementList, java.lang.String)"><B>SumUpDrawArea(LogElementList<SumUpLogElement>, String)</B></A> -
|
||||
Constructor for class sumUp.<A HREF="../sumUp/SumUpDrawArea.html" title="class in sumUp">SumUpDrawArea</A>
|
||||
<DD>Creates a sum up draw area and sets the specified log list.
|
||||
<DT><A HREF="../sumUp/SumUpHybridWindow.html" title="class in sumUp"><B>SumUpHybridWindow</B></A> - Class in <A HREF="../sumUp/package-summary.html">sumUp</A><DD>This class provides an example for using visualization.HybridWindow.<DT><A HREF="../sumUp/SumUpHybridWindow.html#SumUpHybridWindow()"><B>SumUpHybridWindow()</B></A> -
|
||||
Constructor for class sumUp.<A HREF="../sumUp/SumUpHybridWindow.html" title="class in sumUp">SumUpHybridWindow</A>
|
||||
<DD>Overwritten standard constructor.
|
||||
<DT><A HREF="../sumUp/SumUpLegendArea.html" title="class in sumUp"><B>SumUpLegendArea</B></A> - Class in <A HREF="../sumUp/package-summary.html">sumUp</A><DD>This class represents a visualization.LegendArea implementation and has been created for demonstration purposes only.<DT><A HREF="../sumUp/SumUpLegendArea.html#SumUpLegendArea()"><B>SumUpLegendArea()</B></A> -
|
||||
Constructor for class sumUp.<A HREF="../sumUp/SumUpLegendArea.html" title="class in sumUp">SumUpLegendArea</A>
|
||||
<DD>Standard constructor
|
||||
<DT><A HREF="../sumUp/SumUpLogElement.html" title="class in sumUp"><B>SumUpLogElement</B></A> - Class in <A HREF="../sumUp/package-summary.html">sumUp</A><DD>This class provides an example for using logging.LogElement.<DT><A HREF="../sumUp/SumUpLogElement.html#SumUpLogElement()"><B>SumUpLogElement()</B></A> -
|
||||
Constructor for class sumUp.<A HREF="../sumUp/SumUpLogElement.html" title="class in sumUp">SumUpLogElement</A>
|
||||
<DD>Standard constructor.
|
||||
<DT><A HREF="../sumUp/SumUpLogElement.html#SumUpLogElement(int, java.lang.String, long)"><B>SumUpLogElement(int, String, long)</B></A> -
|
||||
Constructor for class sumUp.<A HREF="../sumUp/SumUpLogElement.html" title="class in sumUp">SumUpLogElement</A>
|
||||
<DD>Extended constructor.
|
||||
<DT><A HREF="../sumUp/SumUpParameterArea.html" title="class in sumUp"><B>SumUpParameterArea</B></A> - Class in <A HREF="../sumUp/package-summary.html">sumUp</A><DD>This class provides an example for using visualization.ParameterArea.<DT><A HREF="../sumUp/SumUpParameterArea.html#SumUpParameterArea()"><B>SumUpParameterArea()</B></A> -
|
||||
Constructor for class sumUp.<A HREF="../sumUp/SumUpParameterArea.html" title="class in sumUp">SumUpParameterArea</A>
|
||||
<DD>Standard constructor.
|
||||
<DT><A HREF="../sumUp/SumUpTextArea.html" title="class in sumUp"><B>SumUpTextArea</B></A> - Class in <A HREF="../sumUp/package-summary.html">sumUp</A><DD>This class provides an example for using visualization.TextArea.<DT><A HREF="../sumUp/SumUpTextArea.html#SumUpTextArea()"><B>SumUpTextArea()</B></A> -
|
||||
Constructor for class sumUp.<A HREF="../sumUp/SumUpTextArea.html" title="class in sumUp">SumUpTextArea</A>
|
||||
<DD>Standard constructor.
|
||||
<DT><A HREF="../sumUp/SumUpTextArea.html#SumUpTextArea(logging.LogElementList)"><B>SumUpTextArea(LogElementList<SumUpLogElement>)</B></A> -
|
||||
Constructor for class sumUp.<A HREF="../sumUp/SumUpTextArea.html" title="class in sumUp">SumUpTextArea</A>
|
||||
<DD>Extended constructor.
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index-15.html"><B>PREV LETTER</B></A>
|
||||
<A HREF="index-17.html"><B>NEXT LETTER</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?index-filesindex-16.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="index-16.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">H</A> <A HREF="index-9.html">I</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">V</A> <HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,59 @@
|
||||
package sumUp;
|
||||
|
||||
import logging.Algorithm;
|
||||
import logging.LogElementList;
|
||||
|
||||
/**
|
||||
* This class provides an example for using logging.Algorithm.
|
||||
* It sums up integer number starting with 0 up to the maximum value specified in the parameter area.
|
||||
* @see logging.Algorithm
|
||||
* @author Björn Strobel<br><small>
|
||||
* University of Cooperative Education Stuttgart,
|
||||
* Campus Horb<br>
|
||||
* Department of Information Technology<br>
|
||||
* it2003<br></small>
|
||||
*/
|
||||
public class SumUpAlgorithm extends Algorithm{
|
||||
|
||||
public SumUpAlgorithm() {
|
||||
super();
|
||||
// TODO Auto-generated constructor stub
|
||||
}
|
||||
/**
|
||||
* Creates a sum up algorithm.
|
||||
* @param parameterArea the sum up parameter area the algorithm gets its parameters from
|
||||
*/
|
||||
public SumUpAlgorithm(SumUpParameterArea parameterArea){
|
||||
super(parameterArea,"Sum up algorithm");
|
||||
}
|
||||
|
||||
/**
|
||||
* Overwritten from super class.
|
||||
* Runs the algorithm with parameters specified in parameterArea.
|
||||
* Returns the LogElementList produced by the algorithm processing.
|
||||
* Sums up integer number starting with 0 up to the maximum value specified in the parameter area.
|
||||
* @return a LogElementList containing the algorithm processings single steps
|
||||
*/
|
||||
public LogElementList run(){
|
||||
LogElementList<SumUpLogElement>logList=new LogElementList<SumUpLogElement>();
|
||||
long val=0;
|
||||
int maxval=((SumUpParameterArea)parameterArea).getMaxValue();
|
||||
|
||||
for(int i=0;i<=maxval;i++){
|
||||
try{
|
||||
|
||||
val+=i;
|
||||
logList.add(new SumUpLogElement(i,"Adding "+i, val));
|
||||
}
|
||||
catch(OutOfMemoryError e){
|
||||
|
||||
System.err.println("Out of memory");
|
||||
//logList.clear();
|
||||
//logList.add(new SumUpLogElement(0,"Nicht genügend Speicher verfügbar!", 0));
|
||||
return logList;
|
||||
}
|
||||
}
|
||||
return logList;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,162 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:09:00 CET 2011 -->
|
||||
<TITLE>
|
||||
logging Class Hierarchy
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="logging Class Hierarchy";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
<A HREF="../sumUp/package-tree.html"><B>NEXT</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?logging/package-tree.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<CENTER>
|
||||
<H2>
|
||||
Hierarchy For Package logging
|
||||
</H2>
|
||||
</CENTER>
|
||||
<DL>
|
||||
<DT><B>Package Hierarchies:</B><DD><A HREF="../overview-tree.html">All Packages</A></DL>
|
||||
<HR>
|
||||
<H2>
|
||||
Class Hierarchy
|
||||
</H2>
|
||||
<UL>
|
||||
<LI TYPE="circle">java.lang.Object<UL>
|
||||
<LI TYPE="circle">java.util.AbstractCollection<E> (implements java.util.Collection<E>)
|
||||
<UL>
|
||||
<LI TYPE="circle">java.util.AbstractList<E> (implements java.util.List<E>)
|
||||
<UL>
|
||||
<LI TYPE="circle">java.util.Vector<E> (implements java.lang.Cloneable, java.util.List<E>, java.util.RandomAccess, java.io.Serializable)
|
||||
<UL>
|
||||
<LI TYPE="circle">logging.<A HREF="../logging/LogElementList.html" title="class in logging"><B>LogElementList</B></A><LOG></UL>
|
||||
</UL>
|
||||
</UL>
|
||||
<LI TYPE="circle">logging.<A HREF="../logging/Algorithm.html" title="class in logging"><B>Algorithm</B></A><PARAM,LOG><LI TYPE="circle">logging.<A HREF="../logging/LogElement.html" title="class in logging"><B>LogElement</B></A></UL>
|
||||
</UL>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
<A HREF="../sumUp/package-tree.html"><B>NEXT</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?logging/package-tree.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,180 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:09:00 CET 2011 -->
|
||||
<TITLE>
|
||||
Uses of Class visualizationElements.List
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class visualizationElements.List";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../visualizationElements/List.html" title="class in visualizationElements"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../index.html?visualizationElements/\class-useList.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="List.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<CENTER>
|
||||
<H2>
|
||||
<B>Uses of Class<br>visualizationElements.List</B></H2>
|
||||
</CENTER>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Packages that use <A HREF="../../visualizationElements/List.html" title="class in visualizationElements">List</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><A HREF="#visualizationElements"><B>visualizationElements</B></A></TD>
|
||||
<TD>Provides all classes to visualize algorithms, and abstract data types with predefined visualization elements. </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<A NAME="visualizationElements"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Uses of <A HREF="../../visualizationElements/List.html" title="class in visualizationElements">List</A> in <A HREF="../../visualizationElements/package-summary.html">visualizationElements</A></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../visualizationElements/List.html" title="class in visualizationElements">List</A> in <A HREF="../../visualizationElements/package-summary.html">visualizationElements</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> class</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../visualizationElements/Queue.html" title="class in visualizationElements">Queue</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
Represents a queue to visualize.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../visualizationElements/List.html" title="class in visualizationElements"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../index.html?visualizationElements/\class-useList.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="List.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,60 @@
|
||||
package sumUp;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Dimension;
|
||||
import java.awt.FontMetrics;
|
||||
import java.awt.Graphics;
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import javax.imageio.ImageIO;
|
||||
import javax.swing.BorderFactory;
|
||||
import visualization.LegendArea;
|
||||
|
||||
/**
|
||||
* This class represents a visualization.LegendArea implementation and has been created for demonstration purposes only.
|
||||
* Method initialize(Graphics) is overridden and now implements logic for drawing parameters on the legend area.
|
||||
* @author Fabian Hamm
|
||||
* DHBW Stuttgart Campus Horb
|
||||
*/
|
||||
public class SumUpLegendArea extends LegendArea{
|
||||
|
||||
/**
|
||||
* Standard constructor
|
||||
*/
|
||||
public SumUpLegendArea(){
|
||||
super();
|
||||
|
||||
//set the legend area's preferred size manually for best visualization
|
||||
setPreferredSize(new Dimension(150, 170));
|
||||
}
|
||||
|
||||
/**
|
||||
* Overridden method from super class.
|
||||
* Draws all elements and descriptions on the LegendArea
|
||||
* @param g the Graphics object of the corresponding panel
|
||||
*/
|
||||
public void initialize(Graphics g){
|
||||
|
||||
//Create a new TitledBorder for the LegendArea
|
||||
setBorder(BorderFactory.createTitledBorder("LegendArea"));
|
||||
|
||||
//LegendParameter 1
|
||||
g.setColor(new Color(255, 128, 128));
|
||||
g.fillRoundRect( 20, 20, 30, 30,30,30);
|
||||
g.setColor(Color.BLACK);
|
||||
g.drawString("Element 1", 60,40);
|
||||
|
||||
//LegendParameter 2
|
||||
g.setColor(new Color(0, 255, 64));
|
||||
g.fill3DRect(20,70, 50, 30, true);
|
||||
g.setColor(Color.BLACK);
|
||||
g.drawString("Element 2", 80,90);
|
||||
|
||||
//LegendParameter 3
|
||||
g.setColor(new Color(255, 0, 128));
|
||||
g.fill3DRect(20,120, 30, 30, true);
|
||||
g.setColor(Color.BLACK);
|
||||
g.drawString("Element 3", 60,140);
|
||||
}
|
||||
}
|
@ -0,0 +1,224 @@
|
||||
package testApplication;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Graphics;
|
||||
import java.util.Vector;
|
||||
|
||||
import visualization.DrawArea;
|
||||
import visualizationElements.BarChart;
|
||||
import visualizationElements.BarChartElement;
|
||||
import visualizationElements.ChessBoard;
|
||||
import visualizationElements.DotChart;
|
||||
import visualizationElements.Edge;
|
||||
import visualizationElements.EdgeStyle;
|
||||
import visualizationElements.Graph;
|
||||
import visualizationElements.Hashtable;
|
||||
import visualizationElements.List;
|
||||
import visualizationElements.Maze;
|
||||
import visualizationElements.Queue;
|
||||
import visualizationElements.Stack;
|
||||
import visualizationElements.Table;
|
||||
import visualizationElements.Vertex;
|
||||
|
||||
import logging.LogElementList;
|
||||
|
||||
/**
|
||||
* This class provides an example for using visualization.DrawArea.
|
||||
* @see logging.Algorithm
|
||||
@author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestDrawArea extends DrawArea{
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private Maze maze;
|
||||
|
||||
/**
|
||||
* Standard constructor.
|
||||
*/
|
||||
public TestDrawArea() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a test draw area and sets the specified log list.
|
||||
* @param logList the draw area's log list test log elements.
|
||||
* @param drawAreaName The display name over the draw area.
|
||||
*/
|
||||
public TestDrawArea(LogElementList<TestLogElement> logList, String drawAreaName){
|
||||
super(logList, drawAreaName);
|
||||
|
||||
this.maze = new Maze(10, 10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Draws a visualization element.
|
||||
*/
|
||||
public void draw(Graphics g){
|
||||
|
||||
//drawBarChart(g);
|
||||
|
||||
//drawDotChart(g);
|
||||
|
||||
//drawTable(g);
|
||||
|
||||
//drawChessBoard(g);
|
||||
|
||||
drawHashtable(g);
|
||||
|
||||
//drawList(g);
|
||||
|
||||
//drawQueue(g);
|
||||
|
||||
//drawStack(g);
|
||||
|
||||
//drawMaze(g, maze);
|
||||
|
||||
//drawGraph(g);
|
||||
}
|
||||
|
||||
private void drawGraph(Graphics g) {
|
||||
|
||||
// create/add vertexes
|
||||
Vector<Vertex> vertexes = new Vector<Vertex>();
|
||||
|
||||
vertexes.add(new Vertex(20, 20, "1", Color.BLACK));
|
||||
vertexes.add(new Vertex(80, 20, "2", Color.BLACK));
|
||||
vertexes.add(new Vertex(100, 80, "3", Color.BLACK));
|
||||
vertexes.add(new Vertex(180, 60, "4", Color.BLUE));
|
||||
vertexes.add(new Vertex(20, 80, "5", Color.BLACK));
|
||||
vertexes.add(new Vertex(120, 140, "6", Color.BLACK));
|
||||
vertexes.add(new Vertex(20, 180, "7", Color.BLACK));
|
||||
|
||||
|
||||
// create/add edges
|
||||
Vector<Edge> edges = new Vector<Edge>();
|
||||
|
||||
edges.add(new Edge(vertexes.get(0), vertexes.get(1), "1", Color.WHITE));
|
||||
edges.add(new Edge(vertexes.get(1), vertexes.get(4), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(0), vertexes.get(4), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(2), vertexes.get(3), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(3), vertexes.get(2), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(4), vertexes.get(6), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(6), vertexes.get(6), "1", Color.BLACK));
|
||||
|
||||
|
||||
// create graph
|
||||
Graph graph = new Graph(vertexes, edges, false, EdgeStyle.Direct);
|
||||
|
||||
graph.draw(g);
|
||||
}
|
||||
|
||||
private void drawDotChart(Graphics g) {
|
||||
Vector<Integer> valueList = new Vector<Integer>();
|
||||
for(int i = 0; i< 2*logList.size(); i++){
|
||||
valueList.add(i);
|
||||
}
|
||||
|
||||
DotChart dotChart = new DotChart(valueList, this.getHeight(), this.getWidth());
|
||||
dotChart.draw(g);
|
||||
}
|
||||
|
||||
private void drawMaze(Graphics g, Maze maze) {
|
||||
maze.draw(g);
|
||||
}
|
||||
|
||||
private void drawStack(Graphics g) {
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
Stack stack = new Stack(values) ;
|
||||
stack.draw(g);
|
||||
}
|
||||
|
||||
private void drawQueue(Graphics g) {
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
Queue queue = new Queue(values);
|
||||
queue.draw(g);
|
||||
|
||||
}
|
||||
|
||||
private void drawList(Graphics g) {
|
||||
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
List list = new List(values);
|
||||
list.draw(g);
|
||||
}
|
||||
|
||||
private void drawHashtable(Graphics g) {
|
||||
String[][] array = new String[10][2];
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][0] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][1] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
Hashtable table = new Hashtable(array);
|
||||
table.draw(g);
|
||||
}
|
||||
|
||||
private void drawChessBoard(Graphics g) {
|
||||
boolean[][] board = new boolean[8][8];
|
||||
board[0][0]= true;
|
||||
board[0][1]= true;
|
||||
ChessBoard chessBoard = new ChessBoard(board, this.getWidth(), this.getHeight(), "D");
|
||||
chessBoard.draw(g);
|
||||
}
|
||||
|
||||
private void drawTable(Graphics g) {
|
||||
String[][] array = new String[10][2];
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][0] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][1] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
String[] captions = new String[2];
|
||||
captions[0] = "Caption 1";
|
||||
captions[1] = "Caption 2";
|
||||
Table table = new Table(array, captions, 0, 0);
|
||||
table.draw(g);
|
||||
}
|
||||
|
||||
private void drawBarChart(Graphics g) {
|
||||
Vector<BarChartElement> valueList = new Vector<BarChartElement>();
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement logElement = (TestLogElement) logList.get(i);
|
||||
BarChartElement barChartElement = new BarChartElement((int) logElement.getValue(), Color.BLUE);
|
||||
valueList.add(barChartElement);
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement logElement = (TestLogElement) logList.get(i);
|
||||
BarChartElement barChartElement = new BarChartElement((int) logElement.getValue(), Color.RED);
|
||||
valueList.add(barChartElement);
|
||||
}
|
||||
BarChart barChart = new BarChart(valueList, this.getWidth(), this.getHeight());
|
||||
barChart.draw(g);
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStreamReader;
|
||||
import java.util.Vector;
|
||||
|
||||
|
||||
public class Input {
|
||||
|
||||
/**
|
||||
* @param args
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));
|
||||
|
||||
|
||||
System.out.println("Wie viele Spieler nehmen am Turnier teil?");
|
||||
try {
|
||||
String readLine = buffer.readLine();
|
||||
int numberOfPlayers = Integer.parseInt(readLine);
|
||||
|
||||
Vector<String> players = new Vector<String>();
|
||||
System.out.println();
|
||||
|
||||
for(int i = 0; i < numberOfPlayers; i++){
|
||||
System.out.println("Spieler " + (i+1) + ":");
|
||||
String playerName = buffer.readLine();
|
||||
players.add(playerName);
|
||||
}
|
||||
Generator.GenereateSchedule(players);
|
||||
|
||||
} catch (IOException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,148 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:09:00 CET 2011 -->
|
||||
<TITLE>
|
||||
Q-Index
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Q-Index";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index-13.html"><B>PREV LETTER</B></A>
|
||||
<A HREF="index-15.html"><B>NEXT LETTER</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?index-filesindex-14.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="index-14.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">H</A> <A HREF="index-9.html">I</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">V</A> <HR>
|
||||
<A NAME="_Q_"><!-- --></A><H2>
|
||||
<B>Q</B></H2>
|
||||
<DL>
|
||||
<DT><A HREF="../visualizationElements/Queue.html" title="class in visualizationElements"><B>Queue</B></A> - Class in <A HREF="../visualizationElements/package-summary.html">visualizationElements</A><DD>Represents a queue to visualize.<DT><A HREF="../visualizationElements/Queue.html#Queue(java.util.Vector)"><B>Queue(Vector<?>)</B></A> -
|
||||
Constructor for class visualizationElements.<A HREF="../visualizationElements/Queue.html" title="class in visualizationElements">Queue</A>
|
||||
<DD>Creates a new Queue.
|
||||
<DT><A HREF="../visualizationElements/Queue.html#Queue(java.lang.Object[])"><B>Queue(Object[])</B></A> -
|
||||
Constructor for class visualizationElements.<A HREF="../visualizationElements/Queue.html" title="class in visualizationElements">Queue</A>
|
||||
<DD>Creates a new Queue.
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index-13.html"><B>PREV LETTER</B></A>
|
||||
<A HREF="index-15.html"><B>NEXT LETTER</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?index-filesindex-14.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="index-14.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">H</A> <A HREF="index-9.html">I</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">V</A> <HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,62 @@
|
||||
package testApplication;
|
||||
|
||||
import javax.swing.JFrame;
|
||||
import javax.swing.JPanel;
|
||||
|
||||
import logging.LogElementList;
|
||||
|
||||
import visualization.HybridWindow;
|
||||
|
||||
/**
|
||||
* This application provides an example for using logging and visualization packages.
|
||||
* It uses extended classes from logging and visualization found in package sumUp.
|
||||
* It sums up integer number starting with 0 up to the maximum value specified in the parameter area.
|
||||
* @see testApplication.TestAlgorithm
|
||||
* @see testApplication.TestApplication
|
||||
* @see testApplication.TestDrawArea
|
||||
* @see testApplication.TestHybridWindow
|
||||
* @see testApplication.TestLogElement
|
||||
* @see testApplication.TestParameterArea
|
||||
* @see testApplication.TestTextArea
|
||||
* @see testApplication.TestLegendArea
|
||||
* @see javax.swing.JPanel
|
||||
* @author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestApplication {
|
||||
|
||||
/**
|
||||
* Standard constructor.
|
||||
*/
|
||||
public TestApplication() {
|
||||
super();
|
||||
// TODO Auto-generated constructor stub
|
||||
}
|
||||
|
||||
/**
|
||||
* The applications main method.
|
||||
* Creates a HybridWindow with SumUpParameterArea,SumUpLegendArea ,SumUpDrawArea, SumUpTextArea and SumUpAlgorithm and starts it.
|
||||
* @param args
|
||||
*/
|
||||
public static void main(String[]args){
|
||||
LogElementList<TestLogElement>logList=new LogElementList<TestLogElement>();
|
||||
TestParameterArea parameterArea=new TestParameterArea();
|
||||
TestDrawArea drawArea=new TestDrawArea(logList,"visualization");
|
||||
TestTextArea textArea=new TestTextArea(logList);
|
||||
TestAlgorithm algorithm=new TestAlgorithm(parameterArea);
|
||||
TestLegendArea legendArea=new TestLegendArea();
|
||||
HybridWindow applet=new HybridWindow<TestDrawArea,TestTextArea,TestParameterArea,TestAlgorithm,TestLogElement,TestLegendArea>(drawArea,textArea,parameterArea,algorithm,logList,legendArea);
|
||||
|
||||
|
||||
JFrame frame=new JFrame("Visualise");
|
||||
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
frame.getContentPane().add(applet);
|
||||
frame.pack();
|
||||
applet.init();
|
||||
applet.start();
|
||||
frame.setSize(800,600);
|
||||
frame.setVisible(true);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,167 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:09:00 CET 2011 -->
|
||||
<TITLE>
|
||||
Overview
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Overview";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Overview</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index.html?overview-summary.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="overview-summary.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Packages</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD WIDTH="20%"><B><A HREF="logging/package-summary.html">logging</A></B></TD>
|
||||
<TD>Provides the classes necessary to create logged algorithms.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD WIDTH="20%"><B><A HREF="sumUp/package-summary.html">sumUp</A></B></TD>
|
||||
<TD>A small example showing how logging and visualization work.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD WIDTH="20%"><B><A HREF="TestApplication/package-summary.html">TestApplication</A></B></TD>
|
||||
<TD> </TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD WIDTH="20%"><B><A HREF="visualization/package-summary.html">visualization</A></B></TD>
|
||||
<TD>Provides the classes necessary to create a visualization of a logged algorithm.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD WIDTH="20%"><B><A HREF="visualizationElements/package-summary.html">visualizationElements</A></B></TD>
|
||||
<TD>Provides all classes to visualize algorithms, and abstract data types with predefined visualization elements.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Overview</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index.html?overview-summary.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="overview-summary.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,39 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc on Wed Jan 12 19:09:00 CET 2011-->
|
||||
<TITLE>
|
||||
Generated Documentation (Untitled)
|
||||
</TITLE>
|
||||
<SCRIPT type="text/javascript">
|
||||
targetPage = "" + window.location.search;
|
||||
if (targetPage != "" && targetPage != "undefined")
|
||||
targetPage = targetPage.substring(1);
|
||||
if (targetPage.indexOf(":") != -1)
|
||||
targetPage = "undefined";
|
||||
function loadFrames() {
|
||||
if (targetPage != "" && targetPage != "undefined")
|
||||
top.classFrame.location = top.targetPage;
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
</HEAD>
|
||||
<FRAMESET cols="20%,80%" title="" onLoad="top.loadFrames()">
|
||||
<FRAMESET rows="30%,70%" title="" onLoad="top.loadFrames()">
|
||||
<FRAME src="overview-frame.html" name="packageListFrame" title="All Packages">
|
||||
<FRAME src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
|
||||
</FRAMESET>
|
||||
<FRAME src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
|
||||
<NOFRAMES>
|
||||
<H2>
|
||||
Frame Alert</H2>
|
||||
|
||||
<P>
|
||||
This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
|
||||
<BR>
|
||||
Link to<A HREF="overview-summary.html">Non-frame version.</A>
|
||||
</NOFRAMES>
|
||||
</FRAMESET>
|
||||
</HTML>
|
@ -0,0 +1,388 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:08:55 CET 2011 -->
|
||||
<TITLE>
|
||||
SumUpLegendArea
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="SumUpLegendArea";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SumUpLegendArea.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../sumUp/SumUpHybridWindow.html" title="class in sumUp"><B>PREV CLASS</B></A>
|
||||
<A HREF="../sumUp/SumUpLogElement.html" title="class in sumUp"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?sumUp/SumUpLegendArea.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="SumUpLegendArea.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: <A HREF="#nested_classes_inherited_from_class_javax.swing.JComponent">NESTED</A> | <A HREF="#fields_inherited_from_class_javax.swing.JComponent">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<H2>
|
||||
<FONT SIZE="-1">
|
||||
sumUp</FONT>
|
||||
<BR>
|
||||
Class SumUpLegendArea</H2>
|
||||
<PRE>
|
||||
java.lang.Object
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">java.awt.Component
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">java.awt.Container
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">javax.swing.JComponent
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">javax.swing.JPanel
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><A HREF="../visualization/LegendArea.html" title="class in visualization">visualization.LegendArea</A>
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>sumUp.SumUpLegendArea</B>
|
||||
</PRE>
|
||||
<DL>
|
||||
<DT><B>All Implemented Interfaces:</B> <DD>java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT><PRE>public class <B>SumUpLegendArea</B><DT>extends <A HREF="../visualization/LegendArea.html" title="class in visualization">LegendArea</A></DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
This class represents a visualization.LegendArea implementation and has been created for demonstration purposes only.
|
||||
Method initialize(Graphics) is overridden and now implements logic for drawing parameters on the legend area.
|
||||
<P>
|
||||
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Author:</B></DT>
|
||||
<DD>Fabian Hamm
|
||||
DHBW Stuttgart Campus Horb</DD>
|
||||
<DT><B>See Also:</B><DD><A HREF="../serialized-form.html#sumUp.SumUpLegendArea">Serialized Form</A></DL>
|
||||
<HR>
|
||||
|
||||
<P>
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
|
||||
<A NAME="nested_class_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Nested Class Summary</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="nested_classes_inherited_from_class_javax.swing.JComponent"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class javax.swing.JComponent</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>javax.swing.JComponent.AccessibleJComponent</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="nested_classes_inherited_from_class_java.awt.Component"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Component</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>java.awt.Component.BaselineResizeBehavior</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
|
||||
<A NAME="field_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Field Summary</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="fields_inherited_from_class_javax.swing.JComponent"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Fields inherited from class javax.swing.JComponent</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="fields_inherited_from_class_java.awt.Component"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Fields inherited from class java.awt.Component</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="fields_inherited_from_class_java.awt.image.ImageObserver"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Fields inherited from interface java.awt.image.ImageObserver</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
|
||||
<A NAME="constructor_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../sumUp/SumUpLegendArea.html#SumUpLegendArea()">SumUpLegendArea</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Standard constructor</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
|
||||
<A NAME="method_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../sumUp/SumUpLegendArea.html#initialize(java.awt.Graphics)">initialize</A></B>(java.awt.Graphics g)</CODE>
|
||||
|
||||
<BR>
|
||||
Overridden method from super class.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_visualization.LegendArea"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class visualization.<A HREF="../visualization/LegendArea.html" title="class in visualization">LegendArea</A></B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><A HREF="../visualization/LegendArea.html#getScrollPane()">getScrollPane</A>, <A HREF="../visualization/LegendArea.html#paint(java.awt.Graphics)">paint</A></CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_javax.swing.JPanel"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class javax.swing.JPanel</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>getAccessibleContext, getUI, getUIClassID, setUI, updateUI</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_javax.swing.JComponent"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class javax.swing.JComponent</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.awt.Container</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.awt.Component</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
|
||||
<A NAME="constructor_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="SumUpLegendArea()"><!-- --></A><H3>
|
||||
SumUpLegendArea</H3>
|
||||
<PRE>
|
||||
public <B>SumUpLegendArea</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Standard constructor
|
||||
<P>
|
||||
</DL>
|
||||
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
|
||||
<A NAME="method_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="initialize(java.awt.Graphics)"><!-- --></A><H3>
|
||||
initialize</H3>
|
||||
<PRE>
|
||||
public void <B>initialize</B>(java.awt.Graphics g)</PRE>
|
||||
<DL>
|
||||
<DD>Overridden method from super class.
|
||||
Draws all elements and descriptions on the LegendArea
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Specified by:</B><DD><CODE><A HREF="../visualization/LegendArea.html#initialize(java.awt.Graphics)">initialize</A></CODE> in class <CODE><A HREF="../visualization/LegendArea.html" title="class in visualization">LegendArea</A></CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>g</CODE> - the Graphics object of the corresponding panel</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SumUpLegendArea.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../sumUp/SumUpHybridWindow.html" title="class in sumUp"><B>PREV CLASS</B></A>
|
||||
<A HREF="../sumUp/SumUpLogElement.html" title="class in sumUp"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?sumUp/SumUpLegendArea.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="SumUpLegendArea.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: <A HREF="#nested_classes_inherited_from_class_javax.swing.JComponent">NESTED</A> | <A HREF="#fields_inherited_from_class_javax.swing.JComponent">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,144 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:09:00 CET 2011 -->
|
||||
<TITLE>
|
||||
Uses of Class visualizationElements.Maze
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class visualizationElements.Maze";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../visualizationElements/Maze.html" title="class in visualizationElements"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../index.html?visualizationElements/\class-useMaze.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Maze.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<CENTER>
|
||||
<H2>
|
||||
<B>Uses of Class<br>visualizationElements.Maze</B></H2>
|
||||
</CENTER>
|
||||
No usage of visualizationElements.Maze
|
||||
<P>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../visualizationElements/Maze.html" title="class in visualizationElements"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../index.html?visualizationElements/\class-useMaze.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Maze.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,37 @@
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStreamReader;
|
||||
import java.util.Vector;
|
||||
|
||||
|
||||
public class Input {
|
||||
|
||||
/**
|
||||
* @param args
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));
|
||||
|
||||
|
||||
System.out.println("Wie viele Spieler nehmen am Turnier teil?");
|
||||
try {
|
||||
String readLine = buffer.readLine();
|
||||
int numberOfPlayers = Integer.parseInt(readLine);
|
||||
|
||||
Vector<String> players = new Vector<String>();
|
||||
System.out.println();
|
||||
|
||||
for(int i = 0; i<=numberOfPlayers; i++){
|
||||
System.out.println("Spieler " + (i+1) + ":");
|
||||
String playerName = buffer.readLine();
|
||||
players.add(playerName);
|
||||
}
|
||||
|
||||
|
||||
} catch (IOException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,143 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 18:52:34 CET 2011 -->
|
||||
<TITLE>
|
||||
T-Index
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="T-Index";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../TestApplication/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV LETTER
|
||||
NEXT LETTER</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?index-filesindex-1.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="index-1.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<A HREF="index-1.html">T</A> <HR>
|
||||
<A NAME="_T_"><!-- --></A><H2>
|
||||
<B>T</B></H2>
|
||||
<DL>
|
||||
<DT><A HREF="../TestApplication/package-summary.html"><B>TestApplication</B></A> - package TestApplication<DD> <DT><A HREF="../TestApplication/TestHybridWindow.html" title="class in TestApplication"><B>TestHybridWindow</B></A> - Class in <A HREF="../TestApplication/package-summary.html">TestApplication</A><DD>This class provides an example for using visualization.HybridWindow.<DT><A HREF="../TestApplication/TestHybridWindow.html#TestHybridWindow()"><B>TestHybridWindow()</B></A> -
|
||||
Constructor for class TestApplication.<A HREF="../TestApplication/TestHybridWindow.html" title="class in TestApplication">TestHybridWindow</A>
|
||||
<DD>Overwritten standard constructor.
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../TestApplication/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV LETTER
|
||||
NEXT LETTER</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?index-filesindex-1.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="index-1.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<A HREF="index-1.html">T</A> <HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,145 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:09:00 CET 2011 -->
|
||||
<TITLE>
|
||||
N-Index
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="N-Index";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index-11.html"><B>PREV LETTER</B></A>
|
||||
<A HREF="index-13.html"><B>NEXT LETTER</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?index-filesindex-12.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="index-12.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">H</A> <A HREF="index-9.html">I</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">V</A> <HR>
|
||||
<A NAME="_N_"><!-- --></A><H2>
|
||||
<B>N</B></H2>
|
||||
<DL>
|
||||
<DT><A HREF="../logging/LogElementList.html#next()"><B>next()</B></A> -
|
||||
Method in class logging.<A HREF="../logging/LogElementList.html" title="class in logging">LogElementList</A>
|
||||
<DD>Sets the actual's element's next as actual.
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index-11.html"><B>PREV LETTER</B></A>
|
||||
<A HREF="index-13.html"><B>NEXT LETTER</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?index-filesindex-12.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="index-12.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">H</A> <A HREF="index-9.html">I</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">V</A> <HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,212 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:09:00 CET 2011 -->
|
||||
<TITLE>
|
||||
Uses of Class visualizationElements.Table
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class visualizationElements.Table";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../visualizationElements/Table.html" title="class in visualizationElements"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../index.html?visualizationElements/\class-useTable.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Table.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<CENTER>
|
||||
<H2>
|
||||
<B>Uses of Class<br>visualizationElements.Table</B></H2>
|
||||
</CENTER>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Packages that use <A HREF="../../visualizationElements/Table.html" title="class in visualizationElements">Table</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><A HREF="#visualizationElements"><B>visualizationElements</B></A></TD>
|
||||
<TD>Provides all classes to visualize algorithms, and abstract data types with predefined visualization elements. </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<A NAME="visualizationElements"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Uses of <A HREF="../../visualizationElements/Table.html" title="class in visualizationElements">Table</A> in <A HREF="../../visualizationElements/package-summary.html">visualizationElements</A></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../visualizationElements/Table.html" title="class in visualizationElements">Table</A> in <A HREF="../../visualizationElements/package-summary.html">visualizationElements</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> class</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../visualizationElements/ChessBoard.html" title="class in visualizationElements">ChessBoard</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
Represents a chess board.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> class</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../visualizationElements/Hashtable.html" title="class in visualizationElements">Hashtable</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
Represents a hash table to visualize hash algorithms.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> class</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../visualizationElements/List.html" title="class in visualizationElements">List</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
Represents the abstract data type List.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> class</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../visualizationElements/Queue.html" title="class in visualizationElements">Queue</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
Represents a queue to visualize.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> class</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../visualizationElements/Stack.html" title="class in visualizationElements">Stack</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
Represents a Stack to visualize.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../visualizationElements/Table.html" title="class in visualizationElements"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../index.html?visualizationElements/\class-useTable.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Table.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,41 @@
|
||||
package testApplication;
|
||||
|
||||
import javax.swing.JPanel;
|
||||
|
||||
import logging.LogElementList;
|
||||
import visualization.HybridWindow;
|
||||
|
||||
/**
|
||||
* This class provides an example for using visualization.HybridWindow.
|
||||
* Overwriting the constructor is necessary to run as an applet.
|
||||
* For running as an application overwriting the constructor is not necessary
|
||||
* @see visualization.HybridWindow
|
||||
* @see testApplication.TestApplication
|
||||
* @author Marco Schäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br></small>
|
||||
*/
|
||||
public class TestHybridWindow extends HybridWindow{
|
||||
|
||||
/**
|
||||
* Overwritten standard constructor.
|
||||
* Creates a TestUpHybridWindow with
|
||||
* TestParameterArea,SumUpLegendArea, TestDrawArea, TestTextArea,
|
||||
* TestAlgorithm and a LogElementList of TestLogElements.
|
||||
*/
|
||||
public TestHybridWindow() {
|
||||
super();
|
||||
logList=new LogElementList<TestLogElement>();
|
||||
parameterArea=new TestParameterArea();
|
||||
drawArea=new TestDrawArea(logList,"visualization");
|
||||
textArea=new TestTextArea(logList);
|
||||
legendArea=new TestLegendArea();
|
||||
algorithm=new TestAlgorithm((TestParameterArea)parameterArea);
|
||||
|
||||
// This is a small show case on how to add additional components to a hybrid window's tabbed pane.
|
||||
// An empty JPanel will be added to the tabbed pane for demonstrational purposes only.
|
||||
JPanel dummyPanel=new JPanel();
|
||||
addNewComponent("Dummy component", dummyPanel);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
package testApplication;
|
||||
|
||||
import logging.Algorithm;
|
||||
import logging.LogElementList;
|
||||
|
||||
/**
|
||||
* This class provides an example for using logging.Algorithm.
|
||||
* It sums up integer number starting with 0 up to the maximum value specified in the parameter area.
|
||||
* @see logging.Algorithm
|
||||
* @author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestAlgorithm extends Algorithm{
|
||||
|
||||
public TestAlgorithm() {
|
||||
super();
|
||||
}
|
||||
/**
|
||||
* Creates a sum up algorithm.
|
||||
* @param parameterArea the sum up parameter area the algorithm gets its parameters from
|
||||
*/
|
||||
public TestAlgorithm(TestParameterArea parameterArea){
|
||||
super(parameterArea,"Test algorithm");
|
||||
}
|
||||
|
||||
/**
|
||||
* Overwritten from super class.
|
||||
* Runs the algorithm..
|
||||
* Returns the LogElementList produced by the algorithm processing.
|
||||
* Adds integer number starting with 0 up to the maximum value.
|
||||
* @return a LogElementList containing the algorithm processings single steps
|
||||
*/
|
||||
public LogElementList run(){
|
||||
LogElementList<TestLogElement>logList = new LogElementList<TestLogElement>();
|
||||
for(int i=1;i<=10;i++){
|
||||
try{
|
||||
|
||||
logList.add(new TestLogElement(i, "Value", i));
|
||||
}
|
||||
catch(OutOfMemoryError e){
|
||||
|
||||
System.err.println("Out of memory");
|
||||
}
|
||||
}
|
||||
return logList;
|
||||
}
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
package testApplication;
|
||||
|
||||
import javax.swing.JPanel;
|
||||
|
||||
import logging.LogElementList;
|
||||
import visualization.HybridWindow;
|
||||
|
||||
/**
|
||||
* This class provides an example for using visualization.HybridWindow.
|
||||
* Overwriting the constructor is necessary to run as an applet.
|
||||
* For running as an application overwriting the constructor is not necessary
|
||||
* @see visualization.HybridWindow
|
||||
* @see testApplication.TestApplication
|
||||
* @author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestHybridWindow extends HybridWindow{
|
||||
|
||||
/**
|
||||
* Overwritten standard constructor.
|
||||
* Creates a TestUpHybridWindow with
|
||||
* TestParameterArea,SumUpLegendArea, TestDrawArea, TestTextArea,
|
||||
* TestAlgorithm and a LogElementList of TestLogElements.
|
||||
*/
|
||||
public TestHybridWindow() {
|
||||
super();
|
||||
logList=new LogElementList<TestLogElement>();
|
||||
parameterArea=new TestParameterArea();
|
||||
drawArea=new TestDrawArea(logList,"visualization");
|
||||
textArea=new TestTextArea(logList);
|
||||
legendArea=new TestLegendArea();
|
||||
algorithm=new TestAlgorithm((TestParameterArea)parameterArea);
|
||||
|
||||
/*JPanel dummyPanel=new JPanel();
|
||||
addNewComponent("Dummy component", dummyPanel);*/
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
package testApplication;
|
||||
|
||||
import logging.LogElement;
|
||||
|
||||
/**
|
||||
* This class provides an example for using logging.LogElement.
|
||||
* The super class has been extended by member value and corresponding get method.
|
||||
* The standard constructor has been overwritten and a new one has been introduced.
|
||||
* @see logging.LogElement
|
||||
* @author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestLogElement extends LogElement{
|
||||
|
||||
/** The log elements sum up value. */
|
||||
protected long value;
|
||||
|
||||
/**
|
||||
* Standard constructor.
|
||||
* Calls the constructor of super class and sets value 0.
|
||||
*/
|
||||
public TestLogElement() {
|
||||
super();
|
||||
value=0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Extended constructor.
|
||||
* Sets specified step number, description and sum up value.
|
||||
* @param step the log element's step number
|
||||
* @param description the log element's step description
|
||||
* @param value the log element's sum up value
|
||||
*/
|
||||
public TestLogElement(int step,String description,long value){
|
||||
this.step=step;
|
||||
this.description=description;
|
||||
this.value=value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the log element's sum up value.
|
||||
* @return the log element's sum up value
|
||||
*/
|
||||
public long getValue(){
|
||||
return value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
/* Javadoc style sheet */
|
||||
|
||||
/* Define colors, fonts and other style attributes here to override the defaults */
|
||||
|
||||
/* Page background color */
|
||||
body { background-color: #FFFFFF; color:#000000 }
|
||||
|
||||
/* Headings */
|
||||
h1 { font-size: 145% }
|
||||
|
||||
/* Table colors */
|
||||
.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */
|
||||
.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */
|
||||
.TableRowColor { background: #FFFFFF; color:#000000 } /* White */
|
||||
|
||||
/* Font used in left-hand frame lists */
|
||||
.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 }
|
||||
.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 }
|
||||
.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 }
|
||||
|
||||
/* Navigation bar fonts and colors */
|
||||
.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */
|
||||
.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */
|
||||
.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;}
|
||||
.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;}
|
||||
|
||||
.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000}
|
||||
.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000}
|
||||
|
@ -0,0 +1,144 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:09:00 CET 2011 -->
|
||||
<TITLE>
|
||||
Uses of Class visualizationElements.Graph
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class visualizationElements.Graph";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../visualizationElements/Graph.html" title="class in visualizationElements"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../index.html?visualizationElements/\class-useGraph.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Graph.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<CENTER>
|
||||
<H2>
|
||||
<B>Uses of Class<br>visualizationElements.Graph</B></H2>
|
||||
</CENTER>
|
||||
No usage of visualizationElements.Graph
|
||||
<P>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../visualizationElements/Graph.html" title="class in visualizationElements"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../index.html?visualizationElements/\class-useGraph.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Graph.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,291 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:09:00 CET 2011 -->
|
||||
<TITLE>
|
||||
Uses of Class logging.LogElement
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class logging.LogElement";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../logging/LogElement.html" title="class in logging"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../index.html?logging/\class-useLogElement.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="LogElement.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<CENTER>
|
||||
<H2>
|
||||
<B>Uses of Class<br>logging.LogElement</B></H2>
|
||||
</CENTER>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Packages that use <A HREF="../../logging/LogElement.html" title="class in logging">LogElement</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><A HREF="#logging"><B>logging</B></A></TD>
|
||||
<TD>Provides the classes necessary to create logged algorithms. </TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><A HREF="#sumUp"><B>sumUp</B></A></TD>
|
||||
<TD>A small example showing how logging and visualization work. </TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><A HREF="#TestApplication"><B>TestApplication</B></A></TD>
|
||||
<TD> </TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><A HREF="#visualization"><B>visualization</B></A></TD>
|
||||
<TD>Provides the classes necessary to create a visualization of a logged algorithm. </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<A NAME="logging"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Uses of <A HREF="../../logging/LogElement.html" title="class in logging">LogElement</A> in <A HREF="../../logging/package-summary.html">logging</A></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../logging/package-summary.html">logging</A> with type parameters of type <A HREF="../../logging/LogElement.html" title="class in logging">LogElement</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> class</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../logging/Algorithm.html" title="class in logging">Algorithm<PARAM extends ParameterArea,LOG extends LogElement></A></B></CODE>
|
||||
|
||||
<BR>
|
||||
This class provides the basic algorithm.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> class</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../logging/LogElementList.html" title="class in logging">LogElementList<LOG extends LogElement></A></B></CODE>
|
||||
|
||||
<BR>
|
||||
This class provides a container for log list elements.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<A NAME="sumUp"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Uses of <A HREF="../../logging/LogElement.html" title="class in logging">LogElement</A> in <A HREF="../../sumUp/package-summary.html">sumUp</A></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../logging/LogElement.html" title="class in logging">LogElement</A> in <A HREF="../../sumUp/package-summary.html">sumUp</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> class</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../sumUp/SumUpLogElement.html" title="class in sumUp">SumUpLogElement</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
This class provides an example for using logging.LogElement.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<A NAME="TestApplication"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Uses of <A HREF="../../logging/LogElement.html" title="class in logging">LogElement</A> in <A HREF="../../TestApplication/package-summary.html">TestApplication</A></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../logging/LogElement.html" title="class in logging">LogElement</A> in <A HREF="../../TestApplication/package-summary.html">TestApplication</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> class</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../TestApplication/TestLogElement.html" title="class in TestApplication">TestLogElement</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
This class provides an example for using logging.LogElement.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<A NAME="visualization"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Uses of <A HREF="../../logging/LogElement.html" title="class in logging">LogElement</A> in <A HREF="../../visualization/package-summary.html">visualization</A></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../visualization/package-summary.html">visualization</A> with type parameters of type <A HREF="../../logging/LogElement.html" title="class in logging">LogElement</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> class</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../visualization/DrawArea.html" title="class in visualization">DrawArea<LOG extends LogElement></A></B></CODE>
|
||||
|
||||
<BR>
|
||||
This class provides the basic draw area for a HybridWindow.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> class</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../visualization/HybridWindow.html" title="class in visualization">HybridWindow<DRAW extends DrawArea,TEXT extends TextArea,PARAM extends ParameterArea,ALGORITHM extends Algorithm,LOG extends LogElement,LEGEND extends LegendArea></A></B></CODE>
|
||||
|
||||
<BR>
|
||||
This is the central class for using packages logging and visualization.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> class</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../visualization/TextArea.html" title="class in visualization">TextArea<LOG extends LogElement></A></B></CODE>
|
||||
|
||||
<BR>
|
||||
This class provides the basic text output area for a HybridWindow.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../logging/LogElement.html" title="class in logging"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../index.html?logging/\class-useLogElement.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="LogElement.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,62 @@
|
||||
import java.util.Vector;
|
||||
|
||||
|
||||
public class Generator {
|
||||
|
||||
public static Vector<String> GenereateSchedule(Vector<String> players){
|
||||
Vector<String> schedule = new Vector<String>();
|
||||
|
||||
String[][] pyramids = CreatePyramides(players);
|
||||
|
||||
int startColumn = 0;
|
||||
int row = 0;
|
||||
int column = 0;
|
||||
String name = null;
|
||||
|
||||
//A1
|
||||
String a1 = pyramids[row][column];
|
||||
|
||||
// A2
|
||||
for(int i = column+1; i < pyramids[row].length; i++){
|
||||
if(pyramids[0][i] != null){
|
||||
String a2 = pyramids[0][i];
|
||||
pyramids[0][i] = null;
|
||||
}
|
||||
}
|
||||
|
||||
// B : nächste reihe, column von vorne
|
||||
row ++;
|
||||
column = 0;
|
||||
|
||||
//B1
|
||||
if(pyramids[row][column] != null){
|
||||
String b1 = pyramids[row][column];
|
||||
pyramids[row][column] = null;
|
||||
}
|
||||
|
||||
//B2
|
||||
for(int i = column; i<pyramids[row].length; i++){
|
||||
if(pyramids[row][i] != null){
|
||||
String b2 = pyramids[1][i];
|
||||
pyramids[row][i] = null;
|
||||
}
|
||||
}
|
||||
|
||||
startColumn++;
|
||||
|
||||
return schedule;
|
||||
}
|
||||
|
||||
private static String[][] CreatePyramides(Vector<String> players) {
|
||||
String[][] pyramids = new String[players.size()][players.size()];
|
||||
|
||||
for(int i = 0; i<players.size(); i++){
|
||||
pyramids[i][0] = players.get(i);
|
||||
|
||||
for(int j = i+1; j<players.size(); j++){
|
||||
pyramids[i][j] = players.get(j);
|
||||
}
|
||||
}
|
||||
return pyramids;
|
||||
}
|
||||
}
|
@ -0,0 +1,142 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 18:52:34 CET 2011 -->
|
||||
<TITLE>
|
||||
Uses of Package TestApplication
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Package TestApplication";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../TestApplication/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?TestApplication/package-use.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="package-use.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<CENTER>
|
||||
<H2>
|
||||
<B>Uses of Package<br>TestApplication</B></H2>
|
||||
</CENTER>
|
||||
No usage of TestApplication
|
||||
<P>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../TestApplication/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?TestApplication/package-use.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="package-use.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,48 @@
|
||||
package testApplication;
|
||||
|
||||
import javax.swing.BorderFactory;
|
||||
import javax.swing.JLabel;
|
||||
import javax.swing.JTextField;
|
||||
|
||||
import visualization.ParameterArea;
|
||||
|
||||
/**
|
||||
* This class provides an example for using visualization.ParameterArea.
|
||||
* The super class has been extended by member maxValue and corresponding get method.
|
||||
* The standard constructor has been overwritten.
|
||||
* @see visualization.ParameterArea
|
||||
* @author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestParameterArea extends ParameterArea{
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** TextField containing maximum sum up value. */
|
||||
protected JTextField maxValue;
|
||||
|
||||
/**
|
||||
* Standard constructor.
|
||||
* Creates SumUpParameterArea with an empty JTextField.
|
||||
*/
|
||||
public TestParameterArea() {
|
||||
super();
|
||||
setBorder(BorderFactory.createTitledBorder("ParameterArea"));
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns maximum sum up value.
|
||||
* @return maximum sum up value
|
||||
*/
|
||||
public int getMaxValue(){
|
||||
/*try{
|
||||
return Integer.parseInt(maxValue.getText());
|
||||
}
|
||||
catch(NumberFormatException e){
|
||||
return 0;
|
||||
}*/
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
import java.util.Vector;
|
||||
|
||||
|
||||
public class Generator {
|
||||
|
||||
public static Vector<String> GenereateSchedule(Vector<String> players){
|
||||
Vector<String> schedule = new Vector<String>();
|
||||
|
||||
String[][] pyramids = CreatePyramides(players);
|
||||
|
||||
int startColumn = 0;
|
||||
int row = 0;
|
||||
int column = 0;
|
||||
String name = null;
|
||||
|
||||
//A1
|
||||
String a1 = pyramids[row][column];
|
||||
|
||||
// A2
|
||||
for(int i = column+1; i < pyramids[row].length; i++){
|
||||
if(pyramids[0][i] != null){
|
||||
name = pyramids[0][i];
|
||||
pyramids[0][i] = null;
|
||||
break;
|
||||
}
|
||||
}
|
||||
String a2 = name;
|
||||
|
||||
// B : nächste reihe, column von vorne
|
||||
row ++;
|
||||
column = 0;
|
||||
|
||||
//B1
|
||||
if(pyramids[row][column] != null){
|
||||
String b1 = pyramids[row][column];
|
||||
pyramids[row][column] = null;
|
||||
}
|
||||
|
||||
//B2
|
||||
for(int i = column; i<pyramids[row].length; i++){
|
||||
if(pyramids[row][i] != null){
|
||||
name = pyramids[1][i];
|
||||
pyramids[row][i] = null;
|
||||
break;
|
||||
}
|
||||
}
|
||||
String b2 = name;
|
||||
|
||||
startColumn++;
|
||||
|
||||
return schedule;
|
||||
}
|
||||
|
||||
private static String[][] CreatePyramides(Vector<String> players) {
|
||||
String[][] pyramids = new String[players.size()][players.size()];
|
||||
|
||||
for(int i = 0; i<players.size(); i++){
|
||||
pyramids[i][0] = players.get(i);
|
||||
|
||||
for(int j = i+1; j<players.size(); j++){
|
||||
pyramids[i][j] = players.get(j);
|
||||
}
|
||||
}
|
||||
return pyramids;
|
||||
}
|
||||
}
|
@ -0,0 +1,215 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:09:00 CET 2011 -->
|
||||
<TITLE>
|
||||
Class Hierarchy
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Class Hierarchy";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index.html?overview-tree.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="overview-tree.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<CENTER>
|
||||
<H2>
|
||||
Hierarchy For All Packages</H2>
|
||||
</CENTER>
|
||||
<DL>
|
||||
<DT><B>Package Hierarchies:</B><DD><A HREF="logging/package-tree.html">logging</A>, <A HREF="sumUp/package-tree.html">sumUp</A>, <A HREF="TestApplication/package-tree.html">TestApplication</A>, <A HREF="visualization/package-tree.html">visualization</A>, <A HREF="visualizationElements/package-tree.html">visualizationElements</A></DL>
|
||||
<HR>
|
||||
<H2>
|
||||
Class Hierarchy
|
||||
</H2>
|
||||
<UL>
|
||||
<LI TYPE="circle">java.lang.Object<UL>
|
||||
<LI TYPE="circle">java.util.AbstractCollection<E> (implements java.util.Collection<E>)
|
||||
<UL>
|
||||
<LI TYPE="circle">java.util.AbstractList<E> (implements java.util.List<E>)
|
||||
<UL>
|
||||
<LI TYPE="circle">java.util.Vector<E> (implements java.lang.Cloneable, java.util.List<E>, java.util.RandomAccess, java.io.Serializable)
|
||||
<UL>
|
||||
<LI TYPE="circle">logging.<A HREF="logging/LogElementList.html" title="class in logging"><B>LogElementList</B></A><LOG></UL>
|
||||
</UL>
|
||||
</UL>
|
||||
<LI TYPE="circle">logging.<A HREF="logging/Algorithm.html" title="class in logging"><B>Algorithm</B></A><PARAM,LOG><UL>
|
||||
<LI TYPE="circle">sumUp.<A HREF="sumUp/SumUpAlgorithm.html" title="class in sumUp"><B>SumUpAlgorithm</B></A><LI TYPE="circle">TestApplication.<A HREF="TestApplication/TestAlgorithm.html" title="class in TestApplication"><B>TestAlgorithm</B></A></UL>
|
||||
<LI TYPE="circle">visualizationElements.<A HREF="visualizationElements/BarChartElement.html" title="class in visualizationElements"><B>BarChartElement</B></A><LI TYPE="circle">visualizationElements.<A HREF="visualizationElements/Cell.html" title="class in visualizationElements"><B>Cell</B></A><LI TYPE="circle">java.awt.Component (implements java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable)
|
||||
<UL>
|
||||
<LI TYPE="circle">java.awt.Container<UL>
|
||||
<LI TYPE="circle">javax.swing.JComponent (implements java.io.Serializable)
|
||||
<UL>
|
||||
<LI TYPE="circle">javax.swing.JPanel (implements javax.accessibility.Accessible)
|
||||
<UL>
|
||||
<LI TYPE="circle">visualization.<A HREF="visualization/DrawArea.html" title="class in visualization"><B>DrawArea</B></A><LOG><UL>
|
||||
<LI TYPE="circle">sumUp.<A HREF="sumUp/SumUpDrawArea.html" title="class in sumUp"><B>SumUpDrawArea</B></A><LI TYPE="circle">TestApplication.<A HREF="TestApplication/TestDrawArea.html" title="class in TestApplication"><B>TestDrawArea</B></A></UL>
|
||||
<LI TYPE="circle">visualization.<A HREF="visualization/LegendArea.html" title="class in visualization"><B>LegendArea</B></A><UL>
|
||||
<LI TYPE="circle">sumUp.<A HREF="sumUp/SumUpLegendArea.html" title="class in sumUp"><B>SumUpLegendArea</B></A><LI TYPE="circle">TestApplication.<A HREF="TestApplication/TestLegendArea.html" title="class in TestApplication"><B>TestLegendArea</B></A></UL>
|
||||
<LI TYPE="circle">visualization.<A HREF="visualization/ParameterArea.html" title="class in visualization"><B>ParameterArea</B></A><UL>
|
||||
<LI TYPE="circle">sumUp.<A HREF="sumUp/SumUpParameterArea.html" title="class in sumUp"><B>SumUpParameterArea</B></A><LI TYPE="circle">TestApplication.<A HREF="TestApplication/TestParameterArea.html" title="class in TestApplication"><B>TestParameterArea</B></A></UL>
|
||||
</UL>
|
||||
<LI TYPE="circle">javax.swing.text.JTextComponent (implements javax.accessibility.Accessible, javax.swing.Scrollable)
|
||||
<UL>
|
||||
<LI TYPE="circle">javax.swing.JTextArea<UL>
|
||||
<LI TYPE="circle">visualization.<A HREF="visualization/TextArea.html" title="class in visualization"><B>TextArea</B></A><LOG><UL>
|
||||
<LI TYPE="circle">sumUp.<A HREF="sumUp/SumUpTextArea.html" title="class in sumUp"><B>SumUpTextArea</B></A><LI TYPE="circle">TestApplication.<A HREF="TestApplication/TestTextArea.html" title="class in TestApplication"><B>TestTextArea</B></A></UL>
|
||||
</UL>
|
||||
</UL>
|
||||
</UL>
|
||||
<LI TYPE="circle">java.awt.Panel (implements javax.accessibility.Accessible)
|
||||
<UL>
|
||||
<LI TYPE="circle">java.applet.Applet<UL>
|
||||
<LI TYPE="circle">javax.swing.JApplet (implements javax.accessibility.Accessible, javax.swing.RootPaneContainer)
|
||||
<UL>
|
||||
<LI TYPE="circle">visualization.<A HREF="visualization/HybridWindow.html" title="class in visualization"><B>HybridWindow</B></A><DRAW,TEXT,PARAM,ALGORITHM,LOG,LEGEND><UL>
|
||||
<LI TYPE="circle">sumUp.<A HREF="sumUp/SumUpHybridWindow.html" title="class in sumUp"><B>SumUpHybridWindow</B></A><LI TYPE="circle">TestApplication.<A HREF="TestApplication/TestHybridWindow.html" title="class in TestApplication"><B>TestHybridWindow</B></A></UL>
|
||||
</UL>
|
||||
</UL>
|
||||
</UL>
|
||||
</UL>
|
||||
</UL>
|
||||
<LI TYPE="circle">visualizationElements.<A HREF="visualizationElements/Edge.html" title="class in visualizationElements"><B>Edge</B></A><LI TYPE="circle">logging.<A HREF="logging/LogElement.html" title="class in logging"><B>LogElement</B></A><UL>
|
||||
<LI TYPE="circle">sumUp.<A HREF="sumUp/SumUpLogElement.html" title="class in sumUp"><B>SumUpLogElement</B></A><LI TYPE="circle">TestApplication.<A HREF="TestApplication/TestLogElement.html" title="class in TestApplication"><B>TestLogElement</B></A></UL>
|
||||
<LI TYPE="circle">TestApplication.<A HREF="TestApplication/TestApplication.html" title="class in TestApplication"><B>TestApplication</B></A><LI TYPE="circle">visualizationElements.<A HREF="visualizationElements/Vertex.html" title="class in visualizationElements"><B>Vertex</B></A><LI TYPE="circle">visualizationElements.<A HREF="visualizationElements/VisualizationElement.html" title="class in visualizationElements"><B>VisualizationElement</B></A><UL>
|
||||
<LI TYPE="circle">visualizationElements.<A HREF="visualizationElements/BarChart.html" title="class in visualizationElements"><B>BarChart</B></A><LI TYPE="circle">visualizationElements.<A HREF="visualizationElements/DotChart.html" title="class in visualizationElements"><B>DotChart</B></A><LI TYPE="circle">visualizationElements.<A HREF="visualizationElements/Graph.html" title="class in visualizationElements"><B>Graph</B></A><LI TYPE="circle">visualizationElements.<A HREF="visualizationElements/Maze.html" title="class in visualizationElements"><B>Maze</B></A><LI TYPE="circle">visualizationElements.<A HREF="visualizationElements/Table.html" title="class in visualizationElements"><B>Table</B></A><UL>
|
||||
<LI TYPE="circle">visualizationElements.<A HREF="visualizationElements/ChessBoard.html" title="class in visualizationElements"><B>ChessBoard</B></A><LI TYPE="circle">visualizationElements.<A HREF="visualizationElements/Hashtable.html" title="class in visualizationElements"><B>Hashtable</B></A><LI TYPE="circle">visualizationElements.<A HREF="visualizationElements/List.html" title="class in visualizationElements"><B>List</B></A><UL>
|
||||
<LI TYPE="circle">visualizationElements.<A HREF="visualizationElements/Queue.html" title="class in visualizationElements"><B>Queue</B></A></UL>
|
||||
<LI TYPE="circle">visualizationElements.<A HREF="visualizationElements/Stack.html" title="class in visualizationElements"><B>Stack</B></A></UL>
|
||||
</UL>
|
||||
</UL>
|
||||
</UL>
|
||||
<H2>
|
||||
Enum Hierarchy
|
||||
</H2>
|
||||
<UL>
|
||||
<LI TYPE="circle">java.lang.Object<UL>
|
||||
<LI TYPE="circle">java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
|
||||
<UL>
|
||||
<LI TYPE="circle">visualizationElements.<A HREF="visualizationElements/EdgeStyle.html" title="enum in visualizationElements"><B>EdgeStyle</B></A></UL>
|
||||
</UL>
|
||||
</UL>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index.html?overview-tree.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="overview-tree.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,230 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:09:00 CET 2011 -->
|
||||
<TITLE>
|
||||
Uses of Class visualizationElements.EdgeStyle
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class visualizationElements.EdgeStyle";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../visualizationElements/EdgeStyle.html" title="enum in visualizationElements"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../index.html?visualizationElements/\class-useEdgeStyle.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="EdgeStyle.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<CENTER>
|
||||
<H2>
|
||||
<B>Uses of Class<br>visualizationElements.EdgeStyle</B></H2>
|
||||
</CENTER>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Packages that use <A HREF="../../visualizationElements/EdgeStyle.html" title="enum in visualizationElements">EdgeStyle</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><A HREF="#visualizationElements"><B>visualizationElements</B></A></TD>
|
||||
<TD>Provides all classes to visualize algorithms, and abstract data types with predefined visualization elements. </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<A NAME="visualizationElements"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Uses of <A HREF="../../visualizationElements/EdgeStyle.html" title="enum in visualizationElements">EdgeStyle</A> in <A HREF="../../visualizationElements/package-summary.html">visualizationElements</A></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../visualizationElements/package-summary.html">visualizationElements</A> that return <A HREF="../../visualizationElements/EdgeStyle.html" title="enum in visualizationElements">EdgeStyle</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> <A HREF="../../visualizationElements/EdgeStyle.html" title="enum in visualizationElements">EdgeStyle</A></CODE></FONT></TD>
|
||||
<TD><CODE><B>Graph.</B><B><A HREF="../../visualizationElements/Graph.html#getEdgeStyle()">getEdgeStyle</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE>static <A HREF="../../visualizationElements/EdgeStyle.html" title="enum in visualizationElements">EdgeStyle</A></CODE></FONT></TD>
|
||||
<TD><CODE><B>EdgeStyle.</B><B><A HREF="../../visualizationElements/EdgeStyle.html#valueOf(java.lang.String)">valueOf</A></B>(java.lang.String name)</CODE>
|
||||
|
||||
<BR>
|
||||
Returns the enum constant of this type with the specified name.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE>static <A HREF="../../visualizationElements/EdgeStyle.html" title="enum in visualizationElements">EdgeStyle</A>[]</CODE></FONT></TD>
|
||||
<TD><CODE><B>EdgeStyle.</B><B><A HREF="../../visualizationElements/EdgeStyle.html#values()">values</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Returns an array containing the constants of this enum type, in
|
||||
the order they are declared.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../visualizationElements/package-summary.html">visualizationElements</A> with parameters of type <A HREF="../../visualizationElements/EdgeStyle.html" title="enum in visualizationElements">EdgeStyle</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B>Graph.</B><B><A HREF="../../visualizationElements/Graph.html#setEdgeStyle(visualizationElements.EdgeStyle)">setEdgeStyle</A></B>(<A HREF="../../visualizationElements/EdgeStyle.html" title="enum in visualizationElements">EdgeStyle</A> edgeStyle)</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2">Constructors in <A HREF="../../visualizationElements/package-summary.html">visualizationElements</A> with parameters of type <A HREF="../../visualizationElements/EdgeStyle.html" title="enum in visualizationElements">EdgeStyle</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../../visualizationElements/Graph.html#Graph(java.util.Vector, java.util.Vector, boolean, visualizationElements.EdgeStyle)">Graph</A></B>(java.util.Vector<<A HREF="../../visualizationElements/Vertex.html" title="class in visualizationElements">Vertex</A>> vertexes,
|
||||
java.util.Vector<<A HREF="../../visualizationElements/Edge.html" title="class in visualizationElements">Edge</A>> edges,
|
||||
boolean isDirected,
|
||||
<A HREF="../../visualizationElements/EdgeStyle.html" title="enum in visualizationElements">EdgeStyle</A> edgeStyle)</CODE>
|
||||
|
||||
<BR>
|
||||
Creates a new Graph.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../visualizationElements/EdgeStyle.html" title="enum in visualizationElements"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../index.html?visualizationElements/\class-useEdgeStyle.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="EdgeStyle.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,162 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
package visualization;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Graphics;
|
||||
|
||||
import javax.swing.JPanel;
|
||||
import javax.swing.JScrollPane;
|
||||
|
||||
import visualizationElements.VisualizationElement;
|
||||
|
||||
import logging.LogElement;
|
||||
import logging.LogElementList;
|
||||
|
||||
/**
|
||||
* This class provides the basic draw area for a HybridWindow.
|
||||
* Use it in assoziation with packages logging and visualization.
|
||||
* Just overwrite the draw(Graphics) method to get a graphic output from a log list element.
|
||||
* Parameters for algorithm processing are read from member parameterArea that ist part of the user interface.
|
||||
* @see logging.LogElement
|
||||
* @see logging.LogElementList
|
||||
* @see visualization.HybridWindow
|
||||
* @see javax.swing.JPanel
|
||||
* @author Björn Strobel<br><small>
|
||||
* University of Cooperative Education Stuttgart,
|
||||
* Campus Horb<br>
|
||||
* Department of Information Technology<br>
|
||||
* it2003<br></small>
|
||||
*/
|
||||
public abstract class DrawArea<LOG extends LogElement>extends JPanel{
|
||||
|
||||
/** The draw area's scroll pane. */
|
||||
protected JScrollPane scrollPane;
|
||||
/** The log element list where the draw area gets the log elements to draw. */
|
||||
protected LogElementList<LOG>logList;
|
||||
/** The name to be displayed on the draw area's tab in the hybrid window. */
|
||||
protected String drawAreaName;
|
||||
|
||||
protected VisualizationElement visualizationElement;
|
||||
/**
|
||||
* Standard constructor.
|
||||
* Creates an empty draw area with scroll pane.
|
||||
*/
|
||||
public DrawArea() {
|
||||
super();
|
||||
|
||||
scrollPane=new JScrollPane(this);
|
||||
|
||||
setBackground(new Color(194,177,255));
|
||||
setForeground(new Color(0,0,0));
|
||||
}
|
||||
|
||||
public DrawArea(VisualizationElement visualizationElement) {
|
||||
super();
|
||||
|
||||
scrollPane=new JScrollPane(this);
|
||||
|
||||
setBackground(new Color(194,177,255));
|
||||
setForeground(new Color(0,0,0));
|
||||
|
||||
setVisualizationElement(visualizationElement);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the visualizationElement
|
||||
*/
|
||||
public VisualizationElement getVisualizationElement() {
|
||||
return visualizationElement;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param visualizationElement the visualizationElement to set
|
||||
*/
|
||||
public void setVisualizationElement(VisualizationElement visualizationElement) {
|
||||
this.visualizationElement = visualizationElement;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates an empty draw area with scroll pane and sets the specified log list and tab name.
|
||||
* @param logList the draw area's log list
|
||||
* @param drawAreaName the name for the draw area to be displayed on the hybrid window's tab
|
||||
*/
|
||||
public DrawArea(LogElementList<LOG>logList,String drawAreaName){
|
||||
super();
|
||||
|
||||
scrollPane=new JScrollPane(this);
|
||||
|
||||
setBackground(new Color(194,177,255));
|
||||
setForeground(new Color(0,0,0));
|
||||
|
||||
this.logList=logList;
|
||||
this.drawAreaName=drawAreaName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the draw area'a scroll pane.
|
||||
* @return the draw area'a scroll pane
|
||||
*/
|
||||
public JScrollPane getScrollPane(){
|
||||
return scrollPane;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the draw area's log list.
|
||||
* @param logList the draw area's log list
|
||||
*/
|
||||
public void setLogList(LogElementList<LOG>logList){
|
||||
this.logList=logList;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the draw area's name
|
||||
* @return the name to be returned
|
||||
*/
|
||||
public String getDrawAreaName() {
|
||||
return drawAreaName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the draw area's name
|
||||
* @param drawAreaName the name to be set
|
||||
*/
|
||||
public void setDrawAreaName(String drawAreaName) {
|
||||
this.drawAreaName = drawAreaName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Calls repaint().
|
||||
*/
|
||||
public void drawStep(){
|
||||
repaint();
|
||||
}
|
||||
|
||||
/**
|
||||
* Paints the draw area background and calls draw(Graphics).
|
||||
*/
|
||||
public void paint(Graphics g){
|
||||
super.paint(g);
|
||||
if(logList.isInitialized()){
|
||||
draw(g);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Draws the actual log element's graphical output.
|
||||
* @param g Graphics object given by paint(Graphics);
|
||||
*/
|
||||
public void draw(Graphics g){
|
||||
LogElement logElement=(LogElement)logList.get();
|
||||
g.drawString(logElement.getDescription(),20,20);
|
||||
}
|
||||
|
||||
/**
|
||||
* Provided for convenience. Does the same as drawStep.
|
||||
* Use it with logElementList.clear().
|
||||
*/
|
||||
public void clear(){
|
||||
repaint();
|
||||
}
|
||||
}
|
@ -0,0 +1,165 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 18:52:34 CET 2011 -->
|
||||
<TITLE>
|
||||
Class Hierarchy
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Class Hierarchy";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="TestApplication/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index.html?overview-tree.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="overview-tree.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<CENTER>
|
||||
<H2>
|
||||
Hierarchy For All Packages</H2>
|
||||
</CENTER>
|
||||
<DL>
|
||||
<DT><B>Package Hierarchies:</B><DD><A HREF="TestApplication/package-tree.html">TestApplication</A></DL>
|
||||
<HR>
|
||||
<H2>
|
||||
Class Hierarchy
|
||||
</H2>
|
||||
<UL>
|
||||
<LI TYPE="circle">java.lang.Object<UL>
|
||||
<LI TYPE="circle">java.awt.Component (implements java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable)
|
||||
<UL>
|
||||
<LI TYPE="circle">java.awt.Container<UL>
|
||||
<LI TYPE="circle">java.awt.Panel (implements javax.accessibility.Accessible)
|
||||
<UL>
|
||||
<LI TYPE="circle">java.applet.Applet<UL>
|
||||
<LI TYPE="circle">javax.swing.JApplet (implements javax.accessibility.Accessible, javax.swing.RootPaneContainer)
|
||||
<UL>
|
||||
<LI TYPE="circle">visualization.HybridWindow<DRAW,TEXT,PARAM,ALGORITHM,LOG,LEGEND><UL>
|
||||
<LI TYPE="circle">TestApplication.<A HREF="TestApplication/TestHybridWindow.html" title="class in TestApplication"><B>TestHybridWindow</B></A></UL>
|
||||
</UL>
|
||||
</UL>
|
||||
</UL>
|
||||
</UL>
|
||||
</UL>
|
||||
</UL>
|
||||
</UL>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="TestApplication/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index.html?overview-tree.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="overview-tree.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,302 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:08:52 CET 2011 -->
|
||||
<TITLE>
|
||||
List
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="List";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/List.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../visualizationElements/Hashtable.html" title="class in visualizationElements"><B>PREV CLASS</B></A>
|
||||
<A HREF="../visualizationElements/Maze.html" title="class in visualizationElements"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?visualizationElements/List.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="List.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<H2>
|
||||
<FONT SIZE="-1">
|
||||
visualizationElements</FONT>
|
||||
<BR>
|
||||
Class List</H2>
|
||||
<PRE>
|
||||
java.lang.Object
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><A HREF="../visualizationElements/VisualizationElement.html" title="class in visualizationElements">visualizationElements.VisualizationElement</A>
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><A HREF="../visualizationElements/Table.html" title="class in visualizationElements">visualizationElements.Table</A>
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>visualizationElements.List</B>
|
||||
</PRE>
|
||||
<DL>
|
||||
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../visualizationElements/Queue.html" title="class in visualizationElements">Queue</A></DD>
|
||||
</DL>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT><PRE>public class <B>List</B><DT>extends <A HREF="../visualizationElements/Table.html" title="class in visualizationElements">Table</A></DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Represents the abstract data type List.
|
||||
<P>
|
||||
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Author:</B></DT>
|
||||
<DD>MSchaefer</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
|
||||
<A NAME="constructor_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../visualizationElements/List.html#List(java.lang.Object[])">List</A></B>(java.lang.Object[] values)</CODE>
|
||||
|
||||
<BR>
|
||||
Creates a new List.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../visualizationElements/List.html#List(java.util.Vector)">List</A></B>(java.util.Vector<?> values)</CODE>
|
||||
|
||||
<BR>
|
||||
Creates a new List.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
|
||||
<A NAME="method_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/List.html#draw(java.awt.Graphics)">draw</A></B>(java.awt.Graphics g)</CODE>
|
||||
|
||||
<BR>
|
||||
Draws the visualization element.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_visualizationElements.Table"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class visualizationElements.<A HREF="../visualizationElements/Table.html" title="class in visualizationElements">Table</A></B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><A HREF="../visualizationElements/Table.html#getColumnCaptions()">getColumnCaptions</A>, <A HREF="../visualizationElements/Table.html#getHeight()">getHeight</A>, <A HREF="../visualizationElements/Table.html#getValues()">getValues</A>, <A HREF="../visualizationElements/Table.html#getWidth()">getWidth</A>, <A HREF="../visualizationElements/Table.html#setColumnCaptions(java.lang.String[])">setColumnCaptions</A>, <A HREF="../visualizationElements/Table.html#setHeight(int)">setHeight</A>, <A HREF="../visualizationElements/Table.html#setValues(java.lang.Object[][])">setValues</A>, <A HREF="../visualizationElements/Table.html#setWidth(int)">setWidth</A></CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
|
||||
<A NAME="constructor_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="List(java.util.Vector)"><!-- --></A><H3>
|
||||
List</H3>
|
||||
<PRE>
|
||||
public <B>List</B>(java.util.Vector<?> values)</PRE>
|
||||
<DL>
|
||||
<DD>Creates a new List.
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>values</CODE> - The values of the list.</DL>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="List(java.lang.Object[])"><!-- --></A><H3>
|
||||
List</H3>
|
||||
<PRE>
|
||||
public <B>List</B>(java.lang.Object[] values)</PRE>
|
||||
<DL>
|
||||
<DD>Creates a new List.
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>values</CODE> - The values of the list.</DL>
|
||||
</DL>
|
||||
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
|
||||
<A NAME="method_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="draw(java.awt.Graphics)"><!-- --></A><H3>
|
||||
draw</H3>
|
||||
<PRE>
|
||||
public void <B>draw</B>(java.awt.Graphics g)</PRE>
|
||||
<DL>
|
||||
<DD><B>Description copied from class: <CODE><A HREF="../visualizationElements/VisualizationElement.html#draw(java.awt.Graphics)">VisualizationElement</A></CODE></B></DD>
|
||||
<DD>Draws the visualization element.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE><A HREF="../visualizationElements/Table.html#draw(java.awt.Graphics)">draw</A></CODE> in class <CODE><A HREF="../visualizationElements/Table.html" title="class in visualizationElements">Table</A></CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>g</CODE> - The Graphics object to draw the element to the DrawArea.</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/List.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../visualizationElements/Hashtable.html" title="class in visualizationElements"><B>PREV CLASS</B></A>
|
||||
<A HREF="../visualizationElements/Maze.html" title="class in visualizationElements"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?visualizationElements/List.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="List.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,305 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:08:53 CET 2011 -->
|
||||
<TITLE>
|
||||
TestLogElement
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="TestLogElement";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TestLogElement.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../TestApplication/TestLegendArea.html" title="class in TestApplication"><B>PREV CLASS</B></A>
|
||||
<A HREF="../TestApplication/TestParameterArea.html" title="class in TestApplication"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?TestApplication/TestLogElement.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="TestLogElement.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<H2>
|
||||
<FONT SIZE="-1">
|
||||
TestApplication</FONT>
|
||||
<BR>
|
||||
Class TestLogElement</H2>
|
||||
<PRE>
|
||||
java.lang.Object
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><A HREF="../logging/LogElement.html" title="class in logging">logging.LogElement</A>
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>TestApplication.TestLogElement</B>
|
||||
</PRE>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT><PRE>public class <B>TestLogElement</B><DT>extends <A HREF="../logging/LogElement.html" title="class in logging">LogElement</A></DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
This class provides an example for using logging.LogElement.
|
||||
The super class has been extended by member value and corresponding get method.
|
||||
The standard constructor has been overwritten and a new one has been introduced.
|
||||
<P>
|
||||
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Author:</B></DT>
|
||||
<DD>Björn Strobel<br><small>
|
||||
University of Cooperative Education Stuttgart,
|
||||
Campus Horb<br>
|
||||
Department of Information Technology<br>
|
||||
it2003<br></small></DD>
|
||||
<DT><B>See Also:</B><DD><A HREF="../logging/LogElement.html" title="class in logging"><CODE>LogElement</CODE></A></DL>
|
||||
<HR>
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
|
||||
<A NAME="constructor_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../TestApplication/TestLogElement.html#TestLogElement()">TestLogElement</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Standard constructor.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../TestApplication/TestLogElement.html#TestLogElement(int, java.lang.String, long)">TestLogElement</A></B>(int step,
|
||||
java.lang.String description,
|
||||
long value)</CODE>
|
||||
|
||||
<BR>
|
||||
Extended constructor.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
|
||||
<A NAME="method_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> long</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../TestApplication/TestLogElement.html#getValue()">getValue</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Returns the log element's sum up value.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_logging.LogElement"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class logging.<A HREF="../logging/LogElement.html" title="class in logging">LogElement</A></B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><A HREF="../logging/LogElement.html#getDescription()">getDescription</A>, <A HREF="../logging/LogElement.html#getStep()">getStep</A>, <A HREF="../logging/LogElement.html#setDescription(java.lang.String)">setDescription</A>, <A HREF="../logging/LogElement.html#setStep(int)">setStep</A></CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
|
||||
<A NAME="constructor_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="TestLogElement()"><!-- --></A><H3>
|
||||
TestLogElement</H3>
|
||||
<PRE>
|
||||
public <B>TestLogElement</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Standard constructor.
|
||||
Calls the constructor of super class and sets value 0.
|
||||
<P>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="TestLogElement(int, java.lang.String, long)"><!-- --></A><H3>
|
||||
TestLogElement</H3>
|
||||
<PRE>
|
||||
public <B>TestLogElement</B>(int step,
|
||||
java.lang.String description,
|
||||
long value)</PRE>
|
||||
<DL>
|
||||
<DD>Extended constructor.
|
||||
Sets specified step number, description and sum up value.
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>step</CODE> - the log element's step number<DD><CODE>description</CODE> - the log element's step description<DD><CODE>value</CODE> - the log element's sum up value</DL>
|
||||
</DL>
|
||||
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
|
||||
<A NAME="method_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="getValue()"><!-- --></A><H3>
|
||||
getValue</H3>
|
||||
<PRE>
|
||||
public long <B>getValue</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Returns the log element's sum up value.
|
||||
<P>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the log element's sum up value</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TestLogElement.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../TestApplication/TestLegendArea.html" title="class in TestApplication"><B>PREV CLASS</B></A>
|
||||
<A HREF="../TestApplication/TestParameterArea.html" title="class in TestApplication"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?TestApplication/TestLogElement.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="TestLogElement.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,163 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 18:52:34 CET 2011 -->
|
||||
<TITLE>
|
||||
TestApplication Class Hierarchy
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="TestApplication Class Hierarchy";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../TestApplication/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?TestApplication/package-tree.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<CENTER>
|
||||
<H2>
|
||||
Hierarchy For Package TestApplication
|
||||
</H2>
|
||||
</CENTER>
|
||||
<H2>
|
||||
Class Hierarchy
|
||||
</H2>
|
||||
<UL>
|
||||
<LI TYPE="circle">java.lang.Object<UL>
|
||||
<LI TYPE="circle">java.awt.Component (implements java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable)
|
||||
<UL>
|
||||
<LI TYPE="circle">java.awt.Container<UL>
|
||||
<LI TYPE="circle">java.awt.Panel (implements javax.accessibility.Accessible)
|
||||
<UL>
|
||||
<LI TYPE="circle">java.applet.Applet<UL>
|
||||
<LI TYPE="circle">javax.swing.JApplet (implements javax.accessibility.Accessible, javax.swing.RootPaneContainer)
|
||||
<UL>
|
||||
<LI TYPE="circle">visualization.HybridWindow<DRAW,TEXT,PARAM,ALGORITHM,LOG,LEGEND><UL>
|
||||
<LI TYPE="circle">TestApplication.<A HREF="../TestApplication/TestHybridWindow.html" title="class in TestApplication"><B>TestHybridWindow</B></A></UL>
|
||||
</UL>
|
||||
</UL>
|
||||
</UL>
|
||||
</UL>
|
||||
</UL>
|
||||
</UL>
|
||||
</UL>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../TestApplication/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?TestApplication/package-tree.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,299 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:08:52 CET 2011 -->
|
||||
<TITLE>
|
||||
Stack
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Stack";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Stack.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../visualizationElements/Queue.html" title="class in visualizationElements"><B>PREV CLASS</B></A>
|
||||
<A HREF="../visualizationElements/Table.html" title="class in visualizationElements"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?visualizationElements/Stack.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Stack.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<H2>
|
||||
<FONT SIZE="-1">
|
||||
visualizationElements</FONT>
|
||||
<BR>
|
||||
Class Stack</H2>
|
||||
<PRE>
|
||||
java.lang.Object
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><A HREF="../visualizationElements/VisualizationElement.html" title="class in visualizationElements">visualizationElements.VisualizationElement</A>
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><A HREF="../visualizationElements/Table.html" title="class in visualizationElements">visualizationElements.Table</A>
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>visualizationElements.Stack</B>
|
||||
</PRE>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT><PRE>public class <B>Stack</B><DT>extends <A HREF="../visualizationElements/Table.html" title="class in visualizationElements">Table</A></DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Represents a Stack to visualize.
|
||||
<P>
|
||||
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Author:</B></DT>
|
||||
<DD>MSchaefer</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
|
||||
<A NAME="constructor_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Stack.html#Stack(java.lang.Object[])">Stack</A></B>(java.lang.Object[] values)</CODE>
|
||||
|
||||
<BR>
|
||||
Creates a new Stack.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Stack.html#Stack(java.util.Vector)">Stack</A></B>(java.util.Vector<?> values)</CODE>
|
||||
|
||||
<BR>
|
||||
Creates a new Stack.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
|
||||
<A NAME="method_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Stack.html#draw(java.awt.Graphics)">draw</A></B>(java.awt.Graphics g)</CODE>
|
||||
|
||||
<BR>
|
||||
Draws the visualization element.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_visualizationElements.Table"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class visualizationElements.<A HREF="../visualizationElements/Table.html" title="class in visualizationElements">Table</A></B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><A HREF="../visualizationElements/Table.html#getColumnCaptions()">getColumnCaptions</A>, <A HREF="../visualizationElements/Table.html#getHeight()">getHeight</A>, <A HREF="../visualizationElements/Table.html#getValues()">getValues</A>, <A HREF="../visualizationElements/Table.html#getWidth()">getWidth</A>, <A HREF="../visualizationElements/Table.html#setColumnCaptions(java.lang.String[])">setColumnCaptions</A>, <A HREF="../visualizationElements/Table.html#setHeight(int)">setHeight</A>, <A HREF="../visualizationElements/Table.html#setValues(java.lang.Object[][])">setValues</A>, <A HREF="../visualizationElements/Table.html#setWidth(int)">setWidth</A></CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
|
||||
<A NAME="constructor_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="Stack(java.util.Vector)"><!-- --></A><H3>
|
||||
Stack</H3>
|
||||
<PRE>
|
||||
public <B>Stack</B>(java.util.Vector<?> values)</PRE>
|
||||
<DL>
|
||||
<DD>Creates a new Stack.
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>values</CODE> - The values of the stack.</DL>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="Stack(java.lang.Object[])"><!-- --></A><H3>
|
||||
Stack</H3>
|
||||
<PRE>
|
||||
public <B>Stack</B>(java.lang.Object[] values)</PRE>
|
||||
<DL>
|
||||
<DD>Creates a new Stack.
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>values</CODE> - The values of the stack.</DL>
|
||||
</DL>
|
||||
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
|
||||
<A NAME="method_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="draw(java.awt.Graphics)"><!-- --></A><H3>
|
||||
draw</H3>
|
||||
<PRE>
|
||||
public void <B>draw</B>(java.awt.Graphics g)</PRE>
|
||||
<DL>
|
||||
<DD><B>Description copied from class: <CODE><A HREF="../visualizationElements/VisualizationElement.html#draw(java.awt.Graphics)">VisualizationElement</A></CODE></B></DD>
|
||||
<DD>Draws the visualization element.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE><A HREF="../visualizationElements/Table.html#draw(java.awt.Graphics)">draw</A></CODE> in class <CODE><A HREF="../visualizationElements/Table.html" title="class in visualizationElements">Table</A></CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>g</CODE> - The Graphics object to draw the element to the DrawArea.</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Stack.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../visualizationElements/Queue.html" title="class in visualizationElements"><B>PREV CLASS</B></A>
|
||||
<A HREF="../visualizationElements/Table.html" title="class in visualizationElements"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?visualizationElements/Stack.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Stack.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,54 @@
|
||||
import java.util.Vector;
|
||||
|
||||
|
||||
public class Generator {
|
||||
|
||||
public static Vector<String> GenereateSchedule(Vector<String> players){
|
||||
Vector<String> schedule = new Vector<String>();
|
||||
|
||||
String[][] pyramids = new String[players.size()][players.size()];
|
||||
|
||||
for(int i = 0; i<players.size(); i++){
|
||||
pyramids[i][0] = players.get(i);
|
||||
|
||||
for(int j = i+1; j<players.size(); j++){
|
||||
pyramids[i][j] = players.get(j);
|
||||
}
|
||||
}
|
||||
|
||||
int second = 0;
|
||||
String[] match = new String[4];
|
||||
String name = null;
|
||||
for(int first = 0; first<players.size(); first++){
|
||||
|
||||
String a1 = pyramids[first][second];
|
||||
for(int i = 0; i<players.size();i++){
|
||||
if(pyramids[first][second+1] != null){
|
||||
name = pyramids[first][second+1];
|
||||
break;
|
||||
}
|
||||
}
|
||||
String a2 = name;
|
||||
|
||||
for(int i = 0; i<players.size();i++){
|
||||
if(pyramids[first+1][second] != null){
|
||||
name = pyramids[first][second+1];
|
||||
break;
|
||||
}
|
||||
}
|
||||
String b1 = name;
|
||||
|
||||
for(int i = 0; i<players.size();i++){
|
||||
if(pyramids[first+1][second+1] != null){
|
||||
name = pyramids[first][second+1];
|
||||
break;
|
||||
}
|
||||
}
|
||||
String b2 = name;
|
||||
|
||||
schedule.add(a1 +" " + a2 + " - " + b1+" " + b2);
|
||||
second++;
|
||||
}
|
||||
return schedule;
|
||||
}
|
||||
}
|
@ -0,0 +1,269 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:09:00 CET 2011 -->
|
||||
<TITLE>
|
||||
Uses of Package logging
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Package logging";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?logging/package-use.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="package-use.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<CENTER>
|
||||
<H2>
|
||||
<B>Uses of Package<br>logging</B></H2>
|
||||
</CENTER>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Packages that use <A HREF="../logging/package-summary.html">logging</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><A HREF="#TestApplication"><B>TestApplication</B></A></TD>
|
||||
<TD> </TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><A HREF="#logging"><B>logging</B></A></TD>
|
||||
<TD>Provides the classes necessary to create logged algorithms. </TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><A HREF="#sumUp"><B>sumUp</B></A></TD>
|
||||
<TD>A small example showing how logging and visualization work. </TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><A HREF="#visualization"><B>visualization</B></A></TD>
|
||||
<TD>Provides the classes necessary to create a visualization of a logged algorithm. </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<A NAME="TestApplication"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Classes in <A HREF="../logging/package-summary.html">logging</A> used by <A HREF="../TestApplication/package-summary.html">TestApplication</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><B><A HREF="../logging/class-use/Algorithm.html#TestApplication"><B>Algorithm</B></A></B>
|
||||
|
||||
<BR>
|
||||
This class provides the basic algorithm.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><B><A HREF="../logging/class-use/LogElement.html#TestApplication"><B>LogElement</B></A></B>
|
||||
|
||||
<BR>
|
||||
This class provides the basic log list element.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><B><A HREF="../logging/class-use/LogElementList.html#TestApplication"><B>LogElementList</B></A></B>
|
||||
|
||||
<BR>
|
||||
This class provides a container for log list elements.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<A NAME="logging"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Classes in <A HREF="../logging/package-summary.html">logging</A> used by <A HREF="../logging/package-summary.html">logging</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><B><A HREF="../logging/class-use/LogElement.html#logging"><B>LogElement</B></A></B>
|
||||
|
||||
<BR>
|
||||
This class provides the basic log list element.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><B><A HREF="../logging/class-use/LogElementList.html#logging"><B>LogElementList</B></A></B>
|
||||
|
||||
<BR>
|
||||
This class provides a container for log list elements.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<A NAME="sumUp"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Classes in <A HREF="../logging/package-summary.html">logging</A> used by <A HREF="../sumUp/package-summary.html">sumUp</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><B><A HREF="../logging/class-use/Algorithm.html#sumUp"><B>Algorithm</B></A></B>
|
||||
|
||||
<BR>
|
||||
This class provides the basic algorithm.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><B><A HREF="../logging/class-use/LogElement.html#sumUp"><B>LogElement</B></A></B>
|
||||
|
||||
<BR>
|
||||
This class provides the basic log list element.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><B><A HREF="../logging/class-use/LogElementList.html#sumUp"><B>LogElementList</B></A></B>
|
||||
|
||||
<BR>
|
||||
This class provides a container for log list elements.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<A NAME="visualization"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Classes in <A HREF="../logging/package-summary.html">logging</A> used by <A HREF="../visualization/package-summary.html">visualization</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><B><A HREF="../logging/class-use/Algorithm.html#visualization"><B>Algorithm</B></A></B>
|
||||
|
||||
<BR>
|
||||
This class provides the basic algorithm.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><B><A HREF="../logging/class-use/LogElement.html#visualization"><B>LogElement</B></A></B>
|
||||
|
||||
<BR>
|
||||
This class provides the basic log list element.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><B><A HREF="../logging/class-use/LogElementList.html#visualization"><B>LogElementList</B></A></B>
|
||||
|
||||
<BR>
|
||||
This class provides a container for log list elements.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?logging/package-use.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="package-use.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,410 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:08:52 CET 2011 -->
|
||||
<TITLE>
|
||||
TestDrawArea
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="TestDrawArea";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TestDrawArea.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../TestApplication/TestApplication.html" title="class in TestApplication"><B>PREV CLASS</B></A>
|
||||
<A HREF="../TestApplication/TestHybridWindow.html" title="class in TestApplication"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?TestApplication/TestDrawArea.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="TestDrawArea.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: <A HREF="#nested_classes_inherited_from_class_javax.swing.JComponent">NESTED</A> | <A HREF="#fields_inherited_from_class_javax.swing.JComponent">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<H2>
|
||||
<FONT SIZE="-1">
|
||||
TestApplication</FONT>
|
||||
<BR>
|
||||
Class TestDrawArea</H2>
|
||||
<PRE>
|
||||
java.lang.Object
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">java.awt.Component
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">java.awt.Container
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">javax.swing.JComponent
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">javax.swing.JPanel
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><A HREF="../visualization/DrawArea.html" title="class in visualization">visualization.DrawArea</A>
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>TestApplication.TestDrawArea</B>
|
||||
</PRE>
|
||||
<DL>
|
||||
<DT><B>All Implemented Interfaces:</B> <DD>java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT><PRE>public class <B>TestDrawArea</B><DT>extends <A HREF="../visualization/DrawArea.html" title="class in visualization">DrawArea</A></DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
This class provides an example for using visualization.DrawArea.
|
||||
<P>
|
||||
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Author:</B></DT>
|
||||
<DD>Marco Schäfer<br><small>
|
||||
University of Cooperative Education Stuttgart,
|
||||
Campus Horb<br>
|
||||
Department of Information Technology<br>
|
||||
AI2008<br></small></DD>
|
||||
<DT><B>See Also:</B><DD><A HREF="../logging/Algorithm.html" title="class in logging"><CODE>Algorithm</CODE></A>,
|
||||
<A HREF="../serialized-form.html#TestApplication.TestDrawArea">Serialized Form</A></DL>
|
||||
<HR>
|
||||
|
||||
<P>
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
|
||||
<A NAME="nested_class_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Nested Class Summary</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="nested_classes_inherited_from_class_javax.swing.JComponent"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class javax.swing.JComponent</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>javax.swing.JComponent.AccessibleJComponent</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="nested_classes_inherited_from_class_java.awt.Component"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Component</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>java.awt.Component.BaselineResizeBehavior</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
|
||||
<A NAME="field_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Field Summary</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="fields_inherited_from_class_javax.swing.JComponent"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Fields inherited from class javax.swing.JComponent</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="fields_inherited_from_class_java.awt.Component"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Fields inherited from class java.awt.Component</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="fields_inherited_from_class_java.awt.image.ImageObserver"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Fields inherited from interface java.awt.image.ImageObserver</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
|
||||
<A NAME="constructor_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../TestApplication/TestDrawArea.html#TestDrawArea()">TestDrawArea</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Standard constructor.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../TestApplication/TestDrawArea.html#TestDrawArea(logging.LogElementList, java.lang.String)">TestDrawArea</A></B>(<A HREF="../logging/LogElementList.html" title="class in logging">LogElementList</A><<A HREF="../TestApplication/TestLogElement.html" title="class in TestApplication">TestLogElement</A>> logList,
|
||||
java.lang.String drawAreaName)</CODE>
|
||||
|
||||
<BR>
|
||||
Creates a sum up draw area and sets the specified log list.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
|
||||
<A NAME="method_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../TestApplication/TestDrawArea.html#draw(java.awt.Graphics)">draw</A></B>(java.awt.Graphics g)</CODE>
|
||||
|
||||
<BR>
|
||||
It outputs the step number, the description and the sum of the actual sum up log element.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_visualization.DrawArea"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class visualization.<A HREF="../visualization/DrawArea.html" title="class in visualization">DrawArea</A></B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><A HREF="../visualization/DrawArea.html#clear()">clear</A>, <A HREF="../visualization/DrawArea.html#drawStep()">drawStep</A>, <A HREF="../visualization/DrawArea.html#getDrawAreaName()">getDrawAreaName</A>, <A HREF="../visualization/DrawArea.html#getScrollPane()">getScrollPane</A>, <A HREF="../visualization/DrawArea.html#paint(java.awt.Graphics)">paint</A>, <A HREF="../visualization/DrawArea.html#setDrawAreaName(java.lang.String)">setDrawAreaName</A>, <A HREF="../visualization/DrawArea.html#setLogList(logging.LogElementList)">setLogList</A></CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_javax.swing.JPanel"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class javax.swing.JPanel</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>getAccessibleContext, getUI, getUIClassID, setUI, updateUI</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_javax.swing.JComponent"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class javax.swing.JComponent</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.awt.Container</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.awt.Component</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
|
||||
<A NAME="constructor_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="TestDrawArea()"><!-- --></A><H3>
|
||||
TestDrawArea</H3>
|
||||
<PRE>
|
||||
public <B>TestDrawArea</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Standard constructor.
|
||||
<P>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="TestDrawArea(logging.LogElementList, java.lang.String)"><!-- --></A><H3>
|
||||
TestDrawArea</H3>
|
||||
<PRE>
|
||||
public <B>TestDrawArea</B>(<A HREF="../logging/LogElementList.html" title="class in logging">LogElementList</A><<A HREF="../TestApplication/TestLogElement.html" title="class in TestApplication">TestLogElement</A>> logList,
|
||||
java.lang.String drawAreaName)</PRE>
|
||||
<DL>
|
||||
<DD>Creates a sum up draw area and sets the specified log list.
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>logList</CODE> - the draw area's log list of sum up log elements</DL>
|
||||
</DL>
|
||||
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
|
||||
<A NAME="method_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="draw(java.awt.Graphics)"><!-- --></A><H3>
|
||||
draw</H3>
|
||||
<PRE>
|
||||
public void <B>draw</B>(java.awt.Graphics g)</PRE>
|
||||
<DL>
|
||||
<DD>It outputs the step number, the description and the sum of the actual sum up log element.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE><A HREF="../visualization/DrawArea.html#draw(java.awt.Graphics)">draw</A></CODE> in class <CODE><A HREF="../visualization/DrawArea.html" title="class in visualization">DrawArea</A></CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>g</CODE> - Graphics object given by paint(Graphics);</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TestDrawArea.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../TestApplication/TestApplication.html" title="class in TestApplication"><B>PREV CLASS</B></A>
|
||||
<A HREF="../TestApplication/TestHybridWindow.html" title="class in TestApplication"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?TestApplication/TestDrawArea.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="TestDrawArea.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: <A HREF="#nested_classes_inherited_from_class_javax.swing.JComponent">NESTED</A> | <A HREF="#fields_inherited_from_class_javax.swing.JComponent">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,23 @@
|
||||
import java.util.Vector;
|
||||
|
||||
|
||||
public class Generator {
|
||||
|
||||
public static Vector<String> GenereateSchedule(Vector<String> players){
|
||||
Vector<String> schedule = new Vector<String>();
|
||||
|
||||
String[][] pyramids = new String[players.size()][players.size()-1];
|
||||
|
||||
for(int i = 0; i<players.size(); i++){
|
||||
pyramids[i][0] = players.get(i);
|
||||
|
||||
for(int j = 1; j<players.size(); j++){
|
||||
pyramids[i][j] = players.get(j);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
return schedule;
|
||||
}
|
||||
}
|
@ -0,0 +1,224 @@
|
||||
package testApplication;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Graphics;
|
||||
import java.util.Vector;
|
||||
|
||||
import visualization.DrawArea;
|
||||
import visualizationElements.BarChart;
|
||||
import visualizationElements.BarChartElement;
|
||||
import visualizationElements.ChessBoard;
|
||||
import visualizationElements.DotChart;
|
||||
import visualizationElements.Edge;
|
||||
import visualizationElements.EdgeStyle;
|
||||
import visualizationElements.Graph;
|
||||
import visualizationElements.Hashtable;
|
||||
import visualizationElements.List;
|
||||
import visualizationElements.Maze;
|
||||
import visualizationElements.Queue;
|
||||
import visualizationElements.Stack;
|
||||
import visualizationElements.Table;
|
||||
import visualizationElements.Vertex;
|
||||
|
||||
import logging.LogElementList;
|
||||
|
||||
/**
|
||||
* This class provides an example for using visualization.DrawArea.
|
||||
* @see logging.Algorithm
|
||||
@author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestDrawArea extends DrawArea{
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private Maze maze;
|
||||
|
||||
/**
|
||||
* Standard constructor.
|
||||
*/
|
||||
public TestDrawArea() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a test draw area and sets the specified log list.
|
||||
* @param logList the draw area's log list test log elements.
|
||||
* @param drawAreaName The display name over the draw area.
|
||||
*/
|
||||
public TestDrawArea(LogElementList<TestLogElement> logList, String drawAreaName){
|
||||
super(logList, drawAreaName);
|
||||
|
||||
this.maze = new Maze(10, 10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Draws a visualization element.
|
||||
*/
|
||||
public void draw(Graphics g){
|
||||
|
||||
//drawBarChart(g);
|
||||
|
||||
//drawDotChart(g);
|
||||
|
||||
//drawTable(g);
|
||||
|
||||
//drawChessBoard(g);
|
||||
|
||||
//drawHashtable(g);
|
||||
|
||||
//drawList(g);
|
||||
|
||||
//drawQueue(g);
|
||||
|
||||
drawStack(g);
|
||||
|
||||
//drawMaze(g, maze);
|
||||
|
||||
//drawGraph(g);
|
||||
}
|
||||
|
||||
private void drawGraph(Graphics g) {
|
||||
|
||||
// create/add vertexes
|
||||
Vector<Vertex> vertexes = new Vector<Vertex>();
|
||||
|
||||
vertexes.add(new Vertex(20, 20, "1", Color.BLACK));
|
||||
vertexes.add(new Vertex(80, 20, "2", Color.BLACK));
|
||||
vertexes.add(new Vertex(100, 80, "3", Color.BLACK));
|
||||
vertexes.add(new Vertex(180, 60, "4", Color.BLUE));
|
||||
vertexes.add(new Vertex(20, 80, "5", Color.BLACK));
|
||||
vertexes.add(new Vertex(120, 140, "6", Color.BLACK));
|
||||
vertexes.add(new Vertex(20, 180, "7", Color.BLACK));
|
||||
|
||||
|
||||
// create/add edges
|
||||
Vector<Edge> edges = new Vector<Edge>();
|
||||
|
||||
edges.add(new Edge(vertexes.get(0), vertexes.get(1), "1", Color.WHITE));
|
||||
edges.add(new Edge(vertexes.get(1), vertexes.get(4), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(0), vertexes.get(4), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(2), vertexes.get(3), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(3), vertexes.get(2), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(4), vertexes.get(6), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(6), vertexes.get(6), "1", Color.BLACK));
|
||||
|
||||
|
||||
// create graph
|
||||
Graph graph = new Graph(vertexes, edges, false, EdgeStyle.Direct);
|
||||
|
||||
graph.draw(g);
|
||||
}
|
||||
|
||||
private void drawDotChart(Graphics g) {
|
||||
Vector<Integer> valueList = new Vector<Integer>();
|
||||
for(int i = 0; i< 2*logList.size(); i++){
|
||||
valueList.add(i);
|
||||
}
|
||||
|
||||
DotChart dotChart = new DotChart(valueList, this.getHeight(), this.getWidth());
|
||||
dotChart.draw(g);
|
||||
}
|
||||
|
||||
private void drawMaze(Graphics g, Maze maze) {
|
||||
maze.draw(g);
|
||||
}
|
||||
|
||||
private void drawStack(Graphics g) {
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
Stack stack = new Stack(values) ;
|
||||
stack.draw(g);
|
||||
}
|
||||
|
||||
private void drawQueue(Graphics g) {
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
Queue queue = new Queue(values);
|
||||
queue.draw(g);
|
||||
|
||||
}
|
||||
|
||||
private void drawList(Graphics g) {
|
||||
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
List list = new List(values);
|
||||
list.draw(g);
|
||||
}
|
||||
|
||||
private void drawHashtable(Graphics g) {
|
||||
String[][] array = new String[10][2];
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][0] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][1] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
Hashtable table = new Hashtable(array);
|
||||
table.draw(g);
|
||||
}
|
||||
|
||||
private void drawChessBoard(Graphics g) {
|
||||
boolean[][] board = new boolean[8][8];
|
||||
board[0][0]= true;
|
||||
board[0][1]= true;
|
||||
ChessBoard chessBoard = new ChessBoard(board, this.getWidth(), this.getHeight(), "D");
|
||||
chessBoard.draw(g);
|
||||
}
|
||||
|
||||
private void drawTable(Graphics g) {
|
||||
String[][] array = new String[10][2];
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][0] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][1] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
String[] captions = new String[2];
|
||||
captions[0] = "Caption 1";
|
||||
captions[1] = "Caption 2";
|
||||
Table table = new Table(array, captions, 0, 0);
|
||||
table.draw(g);
|
||||
}
|
||||
|
||||
private void drawBarChart(Graphics g) {
|
||||
Vector<BarChartElement> valueList = new Vector<BarChartElement>();
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement logElement = (TestLogElement) logList.get(i);
|
||||
BarChartElement barChartElement = new BarChartElement((int) logElement.getValue(), Color.BLUE);
|
||||
valueList.add(barChartElement);
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement logElement = (TestLogElement) logList.get(i);
|
||||
BarChartElement barChartElement = new BarChartElement((int) logElement.getValue(), Color.RED);
|
||||
valueList.add(barChartElement);
|
||||
}
|
||||
BarChart barChart = new BarChart(valueList, this.getWidth(), this.getHeight());
|
||||
barChart.draw(g);
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
//package sumUp;
|
||||
//
|
||||
//import logging.LogElement;
|
||||
//
|
||||
///**
|
||||
// * This class provides an example for using logging.LogElement.
|
||||
// * The super class has been extended by member value and corresponding get method.
|
||||
// * The standard constructor has been overwritten and a new one has been introduced.
|
||||
// * @see logging.LogElement
|
||||
// * @author Björn Strobel<br><small>
|
||||
// * University of Cooperative Education Stuttgart,
|
||||
// * Campus Horb<br>
|
||||
// * Department of Information Technology<br>
|
||||
// * it2003<br></small>
|
||||
// */
|
||||
//public class SumUpLogElement extends LogElement{
|
||||
//
|
||||
// /** The log elements sum up value. */
|
||||
// protected long value;
|
||||
//
|
||||
// /**
|
||||
// * Standard constructor.
|
||||
// * Calls the constructor of super class and sets value 0.
|
||||
// */
|
||||
// public SumUpLogElement() {
|
||||
// super();
|
||||
// value=0;
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * Extended constructor.
|
||||
// * Sets specified step number, description and sum up value.
|
||||
// * @param step the log element's step number
|
||||
// * @param description the log element's step description
|
||||
// * @param value the log element's sum up value
|
||||
// */
|
||||
// public SumUpLogElement(int step,String description,long value){
|
||||
// this.step=step;
|
||||
// this.description=description;
|
||||
// this.value=value;
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * Returns the log element's sum up value.
|
||||
// * @return the log element's sum up value
|
||||
// */
|
||||
// public long getValue(){
|
||||
// return value;
|
||||
// }
|
||||
//
|
||||
//}
|
@ -0,0 +1,41 @@
|
||||
package testApplication;
|
||||
|
||||
import javax.swing.JPanel;
|
||||
|
||||
import logging.LogElementList;
|
||||
import visualization.HybridWindow;
|
||||
|
||||
/**
|
||||
* This class provides an example for using visualization.HybridWindow.
|
||||
* Overwriting the constructor is necessary to run as an applet.
|
||||
* For running as an application overwriting the constructor is not necessary
|
||||
* @see visualization.HybridWindow
|
||||
* @see testApplication.TestApplication
|
||||
* @author Marco Schäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestHybridWindow extends HybridWindow{
|
||||
|
||||
/**
|
||||
* Overwritten standard constructor.
|
||||
* Creates a TestUpHybridWindow with
|
||||
* TestParameterArea,SumUpLegendArea, TestDrawArea, TestTextArea,
|
||||
* TestAlgorithm and a LogElementList of TestLogElements.
|
||||
*/
|
||||
public TestHybridWindow() {
|
||||
super();
|
||||
logList=new LogElementList<TestLogElement>();
|
||||
parameterArea=new TestParameterArea();
|
||||
drawArea=new TestDrawArea(logList,"visualization");
|
||||
textArea=new TestTextArea(logList);
|
||||
legendArea=new TestLegendArea();
|
||||
algorithm=new TestAlgorithm((TestParameterArea)parameterArea);
|
||||
|
||||
// This is a small show case on how to add additional components to a hybrid window's tabbed pane.
|
||||
// An empty JPanel will be added to the tabbed pane for demonstrational purposes only.
|
||||
JPanel dummyPanel=new JPanel();
|
||||
addNewComponent("Dummy component", dummyPanel);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 18:52:34 CET 2011 -->
|
||||
<TITLE>
|
||||
All Classes
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white">
|
||||
<FONT size="+1" CLASS="FrameHeadingFont">
|
||||
<B>All Classes</B></FONT>
|
||||
<BR>
|
||||
|
||||
<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
|
||||
<TR>
|
||||
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="TestApplication/TestHybridWindow.html" title="class in TestApplication">TestHybridWindow</A>
|
||||
<BR>
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,155 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 18:52:34 CET 2011 -->
|
||||
<TITLE>
|
||||
TestApplication
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="TestApplication";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../TestApplication/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV PACKAGE
|
||||
NEXT PACKAGE</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?TestApplication/package-summary.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<H2>
|
||||
Package TestApplication
|
||||
</H2>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Class Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD WIDTH="15%"><B><A HREF="../TestApplication/TestHybridWindow.html" title="class in TestApplication">TestHybridWindow</A></B></TD>
|
||||
<TD>This class provides an example for using visualization.HybridWindow.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
||||
<P>
|
||||
<DL>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../TestApplication/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV PACKAGE
|
||||
NEXT PACKAGE</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?TestApplication/package-summary.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,354 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:08:52 CET 2011 -->
|
||||
<TITLE>
|
||||
TestHybridWindow
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="TestHybridWindow";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TestHybridWindow.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../TestApplication/TestDrawArea.html" title="class in TestApplication"><B>PREV CLASS</B></A>
|
||||
<A HREF="../TestApplication/TestLegendArea.html" title="class in TestApplication"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?TestApplication/TestHybridWindow.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="TestHybridWindow.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: <A HREF="#nested_classes_inherited_from_class_java.awt.Component">NESTED</A> | <A HREF="#fields_inherited_from_class_java.awt.Component">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_visualization.HybridWindow">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<H2>
|
||||
<FONT SIZE="-1">
|
||||
TestApplication</FONT>
|
||||
<BR>
|
||||
Class TestHybridWindow</H2>
|
||||
<PRE>
|
||||
java.lang.Object
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">java.awt.Component
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">java.awt.Container
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">java.awt.Panel
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">java.applet.Applet
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">javax.swing.JApplet
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><A HREF="../visualization/HybridWindow.html" title="class in visualization">visualization.HybridWindow</A>
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>TestApplication.TestHybridWindow</B>
|
||||
</PRE>
|
||||
<DL>
|
||||
<DT><B>All Implemented Interfaces:</B> <DD>java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT><PRE>public class <B>TestHybridWindow</B><DT>extends <A HREF="../visualization/HybridWindow.html" title="class in visualization">HybridWindow</A></DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
This class provides an example for using visualization.HybridWindow.
|
||||
Overwriting the constructor is necessary to run as an applet.
|
||||
For running as an application overwriting the constructor is not necessary
|
||||
<P>
|
||||
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Author:</B></DT>
|
||||
<DD>Björn Strobel<br><small>
|
||||
University of Cooperative Education Stuttgart,
|
||||
Campus Horb<br>
|
||||
Department of Information Technology<br>
|
||||
it2003<br></small></DD>
|
||||
<DT><B>See Also:</B><DD><A HREF="../visualization/HybridWindow.html" title="class in visualization"><CODE>HybridWindow</CODE></A>,
|
||||
<CODE>SumUpApplication</CODE>,
|
||||
<A HREF="../serialized-form.html#TestApplication.TestHybridWindow">Serialized Form</A></DL>
|
||||
<HR>
|
||||
|
||||
<P>
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
|
||||
<A NAME="nested_class_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Nested Class Summary</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="nested_classes_inherited_from_class_java.awt.Component"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Component</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>java.awt.Component.BaselineResizeBehavior</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
|
||||
<A NAME="field_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Field Summary</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="fields_inherited_from_class_java.awt.Component"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Fields inherited from class java.awt.Component</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="fields_inherited_from_class_java.awt.image.ImageObserver"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Fields inherited from interface java.awt.image.ImageObserver</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
|
||||
<A NAME="constructor_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../TestApplication/TestHybridWindow.html#TestHybridWindow()">TestHybridWindow</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Overwritten standard constructor.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
|
||||
<A NAME="method_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_visualization.HybridWindow"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class visualization.<A HREF="../visualization/HybridWindow.html" title="class in visualization">HybridWindow</A></B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><A HREF="../visualization/HybridWindow.html#addNewComponent(java.lang.String, java.awt.Component)">addNewComponent</A>, <A HREF="../visualization/HybridWindow.html#addNewComponentWithIcon(java.lang.String, javax.swing.Icon, java.awt.Component)">addNewComponentWithIcon</A>, <A HREF="../visualization/HybridWindow.html#init()">init</A></CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_javax.swing.JApplet"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class javax.swing.JApplet</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>getAccessibleContext, getContentPane, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, remove, repaint, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setTransferHandler, update</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.applet.Applet"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.applet.Applet</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>destroy, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.awt.Panel"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.awt.Panel</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>addNotify</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.awt.Container</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>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, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.awt.Component</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, 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, getPeer, 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, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
|
||||
<A NAME="constructor_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="TestHybridWindow()"><!-- --></A><H3>
|
||||
TestHybridWindow</H3>
|
||||
<PRE>
|
||||
public <B>TestHybridWindow</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Overwritten standard constructor.
|
||||
Creates a SumUpHybridWindow with
|
||||
SumUpParameterArea,SumUpLegendArea, SumUpDrawArea, SumUpTextArea,
|
||||
SumUpAlgorithm and a LogElementList of SumUpLogElements.
|
||||
<P>
|
||||
</DL>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TestHybridWindow.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../TestApplication/TestDrawArea.html" title="class in TestApplication"><B>PREV CLASS</B></A>
|
||||
<A HREF="../TestApplication/TestLegendArea.html" title="class in TestApplication"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?TestApplication/TestHybridWindow.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="TestHybridWindow.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: <A HREF="#nested_classes_inherited_from_class_java.awt.Component">NESTED</A> | <A HREF="#fields_inherited_from_class_java.awt.Component">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_visualization.HybridWindow">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,512 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:08:52 CET 2011 -->
|
||||
<TITLE>
|
||||
Vertex
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Vertex";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Vertex.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../visualizationElements/Table.html" title="class in visualizationElements"><B>PREV CLASS</B></A>
|
||||
<A HREF="../visualizationElements/VisualizationElement.html" title="class in visualizationElements"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?visualizationElements/Vertex.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Vertex.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<H2>
|
||||
<FONT SIZE="-1">
|
||||
visualizationElements</FONT>
|
||||
<BR>
|
||||
Class Vertex</H2>
|
||||
<PRE>
|
||||
java.lang.Object
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>visualizationElements.Vertex</B>
|
||||
</PRE>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT><PRE>public class <B>Vertex</B><DT>extends java.lang.Object</DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Represents a vertex of a graph to visualize.
|
||||
<P>
|
||||
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Author:</B></DT>
|
||||
<DD>MSchaefer</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
|
||||
<A NAME="constructor_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Vertex.html#Vertex(int, int)">Vertex</A></B>(int xpos,
|
||||
int ypos)</CODE>
|
||||
|
||||
<BR>
|
||||
Creates a new black Vertex without marking.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Vertex.html#Vertex(int, int, java.awt.Color)">Vertex</A></B>(int xpos,
|
||||
int ypos,
|
||||
java.awt.Color color)</CODE>
|
||||
|
||||
<BR>
|
||||
Creates a new Vertex without marking.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Vertex.html#Vertex(int, int, java.lang.String)">Vertex</A></B>(int xpos,
|
||||
int ypos,
|
||||
java.lang.String marking)</CODE>
|
||||
|
||||
<BR>
|
||||
Creates a new black Vertex.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Vertex.html#Vertex(int, int, java.lang.String, java.awt.Color)">Vertex</A></B>(int xpos,
|
||||
int ypos,
|
||||
java.lang.String marking,
|
||||
java.awt.Color color)</CODE>
|
||||
|
||||
<BR>
|
||||
Creates a new Vertex.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
|
||||
<A NAME="method_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Vertex.html#draw(java.awt.Graphics)">draw</A></B>(java.awt.Graphics g)</CODE>
|
||||
|
||||
<BR>
|
||||
Draws the vertex.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> java.awt.Color</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Vertex.html#getColor()">getColor</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> java.lang.String</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Vertex.html#getMarking()">getMarking</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> int</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Vertex.html#getVertexDiameter()">getVertexDiameter</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> int</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Vertex.html#getXpos()">getXpos</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> int</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Vertex.html#getYpos()">getYpos</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Vertex.html#setColor(java.awt.Color)">setColor</A></B>(java.awt.Color color)</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Vertex.html#setMarking(java.lang.String)">setMarking</A></B>(java.lang.String marking)</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Vertex.html#setXpos(int)">setXpos</A></B>(int xpos)</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Vertex.html#setYpos(int)">setYpos</A></B>(int ypos)</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
|
||||
<A NAME="constructor_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="Vertex(int, int, java.lang.String, java.awt.Color)"><!-- --></A><H3>
|
||||
Vertex</H3>
|
||||
<PRE>
|
||||
public <B>Vertex</B>(int xpos,
|
||||
int ypos,
|
||||
java.lang.String marking,
|
||||
java.awt.Color color)</PRE>
|
||||
<DL>
|
||||
<DD>Creates a new Vertex.
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>xpos</CODE> - X-Position of the vertex.<DD><CODE>ypos</CODE> - Y-Position of the vertex.<DD><CODE>marking</CODE> - The marking of the vertex.<DD><CODE>color</CODE> - Color the vertex is showed.</DL>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="Vertex(int, int, java.awt.Color)"><!-- --></A><H3>
|
||||
Vertex</H3>
|
||||
<PRE>
|
||||
public <B>Vertex</B>(int xpos,
|
||||
int ypos,
|
||||
java.awt.Color color)</PRE>
|
||||
<DL>
|
||||
<DD>Creates a new Vertex without marking.
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>xpos</CODE> - X-Position of the vertex.<DD><CODE>ypos</CODE> - Y-Position of the vertex.<DD><CODE>color</CODE> - Color the vertex is showed.</DL>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="Vertex(int, int, java.lang.String)"><!-- --></A><H3>
|
||||
Vertex</H3>
|
||||
<PRE>
|
||||
public <B>Vertex</B>(int xpos,
|
||||
int ypos,
|
||||
java.lang.String marking)</PRE>
|
||||
<DL>
|
||||
<DD>Creates a new black Vertex.
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>xpos</CODE> - X-Position of the vertex.<DD><CODE>ypos</CODE> - Y-Position of the vertex.<DD><CODE>marking</CODE> - The marking of the vertex.</DL>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="Vertex(int, int)"><!-- --></A><H3>
|
||||
Vertex</H3>
|
||||
<PRE>
|
||||
public <B>Vertex</B>(int xpos,
|
||||
int ypos)</PRE>
|
||||
<DL>
|
||||
<DD>Creates a new black Vertex without marking.
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>xpos</CODE> - X-Position of the vertex.<DD><CODE>ypos</CODE> - Y-Position of the vertex.</DL>
|
||||
</DL>
|
||||
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
|
||||
<A NAME="method_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="setYpos(int)"><!-- --></A><H3>
|
||||
setYpos</H3>
|
||||
<PRE>
|
||||
public void <B>setYpos</B>(int ypos)</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>ypos</CODE> - the y position to set</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getYpos()"><!-- --></A><H3>
|
||||
getYpos</H3>
|
||||
<PRE>
|
||||
public int <B>getYpos</B>()</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the y position</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setXpos(int)"><!-- --></A><H3>
|
||||
setXpos</H3>
|
||||
<PRE>
|
||||
public void <B>setXpos</B>(int xpos)</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>xpos</CODE> - the x position to set</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getXpos()"><!-- --></A><H3>
|
||||
getXpos</H3>
|
||||
<PRE>
|
||||
public int <B>getXpos</B>()</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the x position</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setColor(java.awt.Color)"><!-- --></A><H3>
|
||||
setColor</H3>
|
||||
<PRE>
|
||||
public void <B>setColor</B>(java.awt.Color color)</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>color</CODE> - the color to set</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getColor()"><!-- --></A><H3>
|
||||
getColor</H3>
|
||||
<PRE>
|
||||
public java.awt.Color <B>getColor</B>()</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the color</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setMarking(java.lang.String)"><!-- --></A><H3>
|
||||
setMarking</H3>
|
||||
<PRE>
|
||||
public void <B>setMarking</B>(java.lang.String marking)</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>marking</CODE> - </DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getMarking()"><!-- --></A><H3>
|
||||
getMarking</H3>
|
||||
<PRE>
|
||||
public java.lang.String <B>getMarking</B>()</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the marking</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getVertexDiameter()"><!-- --></A><H3>
|
||||
getVertexDiameter</H3>
|
||||
<PRE>
|
||||
public int <B>getVertexDiameter</B>()</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the vERTEX_DIAMETER</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="draw(java.awt.Graphics)"><!-- --></A><H3>
|
||||
draw</H3>
|
||||
<PRE>
|
||||
public void <B>draw</B>(java.awt.Graphics g)</PRE>
|
||||
<DL>
|
||||
<DD>Draws the vertex.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>g</CODE> - Graphics object to draw to the DrawArea</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Vertex.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../visualizationElements/Table.html" title="class in visualizationElements"><B>PREV CLASS</B></A>
|
||||
<A HREF="../visualizationElements/VisualizationElement.html" title="class in visualizationElements"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?visualizationElements/Vertex.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Vertex.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,223 @@
|
||||
package testApplication;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Graphics;
|
||||
import java.util.Vector;
|
||||
|
||||
import visualization.DrawArea;
|
||||
import visualizationElements.BarChart;
|
||||
import visualizationElements.BarChartElement;
|
||||
import visualizationElements.ChessBoard;
|
||||
import visualizationElements.DotChart;
|
||||
import visualizationElements.Edge;
|
||||
import visualizationElements.EdgeStyle;
|
||||
import visualizationElements.Graph;
|
||||
import visualizationElements.Hashtable;
|
||||
import visualizationElements.List;
|
||||
import visualizationElements.Maze;
|
||||
import visualizationElements.Queue;
|
||||
import visualizationElements.Stack;
|
||||
import visualizationElements.Table;
|
||||
import visualizationElements.Vertex;
|
||||
|
||||
import logging.LogElementList;
|
||||
|
||||
/**
|
||||
* This class provides an example for using visualization.DrawArea.
|
||||
* @see logging.Algorithm
|
||||
@author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestDrawArea extends DrawArea{
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private Maze maze;
|
||||
|
||||
/**
|
||||
* Standard constructor.
|
||||
*/
|
||||
public TestDrawArea() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a sum up draw area and sets the specified log list.
|
||||
* @param logList the draw area's log list of sum up log elements
|
||||
*/
|
||||
public TestDrawArea(LogElementList<TestLogElement> logList, String drawAreaName){
|
||||
super(logList,drawAreaName);
|
||||
|
||||
this.maze = new Maze(15, 15);
|
||||
}
|
||||
|
||||
/**
|
||||
* It outputs the step number, the description and the sum of the actual sum up log element.
|
||||
*/
|
||||
public void draw(Graphics g){
|
||||
|
||||
//drawBarChart(g);
|
||||
|
||||
//drawDotChart(g);
|
||||
|
||||
//drawTable(g);
|
||||
|
||||
//drawChessBoard(g);
|
||||
|
||||
//drawHashtable(g);
|
||||
|
||||
//drawList(g);
|
||||
|
||||
//drawQueue(g);
|
||||
|
||||
//drawStack(g);
|
||||
|
||||
//drawMaze(g, maze);
|
||||
|
||||
//drawGraph(g);
|
||||
}
|
||||
|
||||
private void drawGraph(Graphics g) {
|
||||
|
||||
// create/add vertexes
|
||||
Vector<Vertex> vertexes = new Vector<Vertex>();
|
||||
|
||||
vertexes.add(new Vertex(20, 20, "1", Color.BLACK));
|
||||
vertexes.add(new Vertex(80, 20, "2", Color.BLACK));
|
||||
vertexes.add(new Vertex(100, 80, "3", Color.BLACK));
|
||||
vertexes.add(new Vertex(180, 60, "4", Color.BLUE));
|
||||
vertexes.add(new Vertex(20, 80, "5", Color.BLACK));
|
||||
vertexes.add(new Vertex(120, 140, "6", Color.BLACK));
|
||||
vertexes.add(new Vertex(20, 180, "7", Color.BLACK));
|
||||
|
||||
|
||||
// create/add edges
|
||||
Vector<Edge> edges = new Vector<Edge>();
|
||||
|
||||
edges.add(new Edge(vertexes.get(0), vertexes.get(1), "1", Color.WHITE));
|
||||
edges.add(new Edge(vertexes.get(1), vertexes.get(4), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(0), vertexes.get(4), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(2), vertexes.get(3), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(3), vertexes.get(2), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(4), vertexes.get(6), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(6), vertexes.get(6), "1", Color.BLACK));
|
||||
|
||||
|
||||
// create graph
|
||||
Graph graph = new Graph(vertexes, edges, false, EdgeStyle.Angled);
|
||||
graph.draw(g);
|
||||
}
|
||||
|
||||
private void drawDotChart(Graphics g) {
|
||||
Vector<Integer> valueList = new Vector<Integer>();
|
||||
for(int i = 0; i< 2*logList.size(); i++){
|
||||
valueList.add(i);
|
||||
}
|
||||
|
||||
DotChart dotChart = new DotChart(valueList, this.getHeight(), this.getWidth());
|
||||
dotChart.draw(g);
|
||||
}
|
||||
|
||||
private void drawMaze(Graphics g, Maze maze) {
|
||||
maze.draw(g);
|
||||
}
|
||||
|
||||
private void drawStack(Graphics g) {
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
Stack stack = new Stack(values) ;
|
||||
stack.draw(g);
|
||||
}
|
||||
|
||||
private void drawQueue(Graphics g) {
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
Queue queue = new Queue(values);
|
||||
queue.draw(g);
|
||||
|
||||
}
|
||||
|
||||
private void drawList(Graphics g) {
|
||||
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
List list = new List(values);
|
||||
list.draw(g);
|
||||
}
|
||||
|
||||
private void drawHashtable(Graphics g) {
|
||||
String[][] array = new String[10][2];
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][0] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][1] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
Hashtable table = new Hashtable(array);
|
||||
table.draw(g);
|
||||
}
|
||||
|
||||
private void drawChessBoard(Graphics g) {
|
||||
boolean[][] board = new boolean[8][8];
|
||||
board[0][0]= true;
|
||||
board[0][1]= true;
|
||||
ChessBoard chessBoard = new ChessBoard(board, this.getWidth(), this.getHeight(), "D");
|
||||
chessBoard.draw(g);
|
||||
}
|
||||
|
||||
private void drawTable(Graphics g) {
|
||||
String[][] array = new String[10][2];
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][0] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][1] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
String[] captions = new String[2];
|
||||
captions[0] = "Caption 1";
|
||||
captions[1] = "Caption 2";
|
||||
Table table = new Table(array, captions, 0, 0);
|
||||
table.draw(g);
|
||||
}
|
||||
|
||||
private void drawBarChart(Graphics g) {
|
||||
Vector<BarChartElement> valueList = new Vector<BarChartElement>();
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement logElement = (TestLogElement) logList.get(i);
|
||||
BarChartElement barChartElement = new BarChartElement((int) logElement.getValue(), Color.MAGENTA);
|
||||
valueList.add(barChartElement);
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement logElement = (TestLogElement) logList.get(i);
|
||||
BarChartElement barChartElement = new BarChartElement((int) logElement.getValue(), Color.YELLOW);
|
||||
valueList.add(barChartElement);
|
||||
}
|
||||
BarChart barChart = new BarChart(valueList, this.getWidth(), this.getHeight());
|
||||
barChart.draw(g);
|
||||
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,224 @@
|
||||
package testApplication;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Graphics;
|
||||
import java.util.Vector;
|
||||
|
||||
import visualization.DrawArea;
|
||||
import visualizationElements.BarChart;
|
||||
import visualizationElements.BarChartElement;
|
||||
import visualizationElements.ChessBoard;
|
||||
import visualizationElements.DotChart;
|
||||
import visualizationElements.Edge;
|
||||
import visualizationElements.EdgeStyle;
|
||||
import visualizationElements.Graph;
|
||||
import visualizationElements.Hashtable;
|
||||
import visualizationElements.List;
|
||||
import visualizationElements.Maze;
|
||||
import visualizationElements.Queue;
|
||||
import visualizationElements.Stack;
|
||||
import visualizationElements.Table;
|
||||
import visualizationElements.Vertex;
|
||||
|
||||
import logging.LogElementList;
|
||||
|
||||
/**
|
||||
* This class provides an example for using visualization.DrawArea.
|
||||
* @see logging.Algorithm
|
||||
@author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestDrawArea extends DrawArea{
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private Maze maze;
|
||||
|
||||
/**
|
||||
* Standard constructor.
|
||||
*/
|
||||
public TestDrawArea() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a test draw area and sets the specified log list.
|
||||
* @param logList the draw area's log list test log elements.
|
||||
* @param drawAreaName The display name over the draw area.
|
||||
*/
|
||||
public TestDrawArea(LogElementList<TestLogElement> logList, String drawAreaName){
|
||||
super(logList, drawAreaName);
|
||||
|
||||
this.maze = new Maze(10, 10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Draws a visualization element.
|
||||
*/
|
||||
public void draw(Graphics g){
|
||||
|
||||
//drawBarChart(g);
|
||||
|
||||
//drawDotChart(g);
|
||||
|
||||
drawTable(g);
|
||||
|
||||
//drawChessBoard(g);
|
||||
|
||||
//drawHashtable(g);
|
||||
|
||||
//drawList(g);
|
||||
|
||||
//drawQueue(g);
|
||||
|
||||
//drawStack(g);
|
||||
|
||||
//drawMaze(g, maze);
|
||||
|
||||
//drawGraph(g);
|
||||
}
|
||||
|
||||
private void drawGraph(Graphics g) {
|
||||
|
||||
// create/add vertexes
|
||||
Vector<Vertex> vertexes = new Vector<Vertex>();
|
||||
|
||||
vertexes.add(new Vertex(20, 20, "1", Color.BLACK));
|
||||
vertexes.add(new Vertex(80, 20, "2", Color.BLACK));
|
||||
vertexes.add(new Vertex(100, 80, "3", Color.BLACK));
|
||||
vertexes.add(new Vertex(180, 60, "4", Color.BLUE));
|
||||
vertexes.add(new Vertex(20, 80, "5", Color.BLACK));
|
||||
vertexes.add(new Vertex(120, 140, "6", Color.BLACK));
|
||||
vertexes.add(new Vertex(20, 180, "7", Color.BLACK));
|
||||
|
||||
|
||||
// create/add edges
|
||||
Vector<Edge> edges = new Vector<Edge>();
|
||||
|
||||
edges.add(new Edge(vertexes.get(0), vertexes.get(1), "1", Color.WHITE));
|
||||
edges.add(new Edge(vertexes.get(1), vertexes.get(4), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(0), vertexes.get(4), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(2), vertexes.get(3), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(3), vertexes.get(2), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(4), vertexes.get(6), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(6), vertexes.get(6), "1", Color.BLACK));
|
||||
|
||||
|
||||
// create graph
|
||||
Graph graph = new Graph(vertexes, edges, false, EdgeStyle.Direct);
|
||||
|
||||
graph.draw(g);
|
||||
}
|
||||
|
||||
private void drawDotChart(Graphics g) {
|
||||
Vector<Integer> valueList = new Vector<Integer>();
|
||||
for(int i = 0; i< 2*logList.size(); i++){
|
||||
valueList.add(i);
|
||||
}
|
||||
|
||||
DotChart dotChart = new DotChart(valueList, this.getHeight(), this.getWidth());
|
||||
dotChart.draw(g);
|
||||
}
|
||||
|
||||
private void drawMaze(Graphics g, Maze maze) {
|
||||
maze.draw(g);
|
||||
}
|
||||
|
||||
private void drawStack(Graphics g) {
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
Stack stack = new Stack(values) ;
|
||||
stack.draw(g);
|
||||
}
|
||||
|
||||
private void drawQueue(Graphics g) {
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
Queue queue = new Queue(values);
|
||||
queue.draw(g);
|
||||
|
||||
}
|
||||
|
||||
private void drawList(Graphics g) {
|
||||
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
List list = new List(values);
|
||||
list.draw(g);
|
||||
}
|
||||
|
||||
private void drawHashtable(Graphics g) {
|
||||
String[][] array = new String[10][2];
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][0] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][1] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
Hashtable table = new Hashtable(array);
|
||||
table.draw(g);
|
||||
}
|
||||
|
||||
private void drawChessBoard(Graphics g) {
|
||||
boolean[][] board = new boolean[8][8];
|
||||
board[0][0]= true;
|
||||
board[0][1]= true;
|
||||
ChessBoard chessBoard = new ChessBoard(board, this.getWidth(), this.getHeight(), "D");
|
||||
chessBoard.draw(g);
|
||||
}
|
||||
|
||||
private void drawTable(Graphics g) {
|
||||
String[][] array = new String[10][2];
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][0] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][1] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
String[] captions = new String[2];
|
||||
captions[0] = "Caption 1";
|
||||
captions[1] = "Caption 2";
|
||||
Table table = new Table(array, captions, 0, 0);
|
||||
table.draw(g);
|
||||
}
|
||||
|
||||
private void drawBarChart(Graphics g) {
|
||||
Vector<BarChartElement> valueList = new Vector<BarChartElement>();
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement logElement = (TestLogElement) logList.get(i);
|
||||
BarChartElement barChartElement = new BarChartElement((int) logElement.getValue(), Color.BLUE);
|
||||
valueList.add(barChartElement);
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement logElement = (TestLogElement) logList.get(i);
|
||||
BarChartElement barChartElement = new BarChartElement((int) logElement.getValue(), Color.RED);
|
||||
valueList.add(barChartElement);
|
||||
}
|
||||
BarChart barChart = new BarChart(valueList, this.getWidth(), this.getHeight());
|
||||
barChart.draw(g);
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
import java.util.Vector;
|
||||
|
||||
|
||||
public class Generator {
|
||||
|
||||
public static Vector<String> GenereateSchedule(Vector<String> players){
|
||||
Vector<String> schedule = new Vector<String>();
|
||||
|
||||
String[][] pyramids = CreatePyramides(players);
|
||||
|
||||
int startColumn = 0;
|
||||
int row = 0;
|
||||
int column = 0;
|
||||
String name = null;
|
||||
|
||||
//A1
|
||||
String a1 = pyramids[row][column];
|
||||
|
||||
// A2
|
||||
for(int i = column+1; i < pyramids[row].length; i++){
|
||||
if(pyramids[0][i] != null){
|
||||
String a2 = pyramids[0][i];
|
||||
pyramids[0][i] = null;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// B : nächste reihe, column von vorne
|
||||
row ++;
|
||||
column = 0;
|
||||
|
||||
//B1
|
||||
if(pyramids[row][column] != null){
|
||||
String b1 = pyramids[row][column];
|
||||
pyramids[row][column] = null;
|
||||
}
|
||||
|
||||
//B2
|
||||
for(int i = column; i<pyramids[row].length; i++){
|
||||
if(pyramids[row][i] != null){
|
||||
String b2 = pyramids[1][i];
|
||||
pyramids[row][i] = null;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
startColumn++;
|
||||
|
||||
return schedule;
|
||||
}
|
||||
|
||||
private static String[][] CreatePyramides(Vector<String> players) {
|
||||
String[][] pyramids = new String[players.size()][players.size()];
|
||||
|
||||
for(int i = 0; i<players.size(); i++){
|
||||
pyramids[i][0] = players.get(i);
|
||||
|
||||
for(int j = i+1; j<players.size(); j++){
|
||||
pyramids[i][j] = players.get(j);
|
||||
}
|
||||
}
|
||||
return pyramids;
|
||||
}
|
||||
}
|
@ -0,0 +1,223 @@
|
||||
package testApplication;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Graphics;
|
||||
import java.util.Vector;
|
||||
|
||||
import visualization.DrawArea;
|
||||
import visualizationElements.BarChart;
|
||||
import visualizationElements.BarChartElement;
|
||||
import visualizationElements.ChessBoard;
|
||||
import visualizationElements.DotChart;
|
||||
import visualizationElements.Edge;
|
||||
import visualizationElements.EdgeStyle;
|
||||
import visualizationElements.Graph;
|
||||
import visualizationElements.Hashtable;
|
||||
import visualizationElements.List;
|
||||
import visualizationElements.Maze;
|
||||
import visualizationElements.Queue;
|
||||
import visualizationElements.Stack;
|
||||
import visualizationElements.Table;
|
||||
import visualizationElements.Vertex;
|
||||
|
||||
import logging.LogElementList;
|
||||
|
||||
/**
|
||||
* This class provides an example for using visualization.DrawArea.
|
||||
* @see logging.Algorithm
|
||||
@author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestDrawArea extends DrawArea{
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private Maze maze;
|
||||
|
||||
/**
|
||||
* Standard constructor.
|
||||
*/
|
||||
public TestDrawArea() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a sum up draw area and sets the specified log list.
|
||||
* @param logList the draw area's log list of sum up log elements
|
||||
*/
|
||||
public TestDrawArea(LogElementList<TestLogElement> logList, String drawAreaName){
|
||||
super(logList,drawAreaName);
|
||||
|
||||
this.maze = new Maze(15, 15);
|
||||
}
|
||||
|
||||
/**
|
||||
* It outputs the step number, the description and the sum of the actual sum up log element.
|
||||
*/
|
||||
public void draw(Graphics g){
|
||||
|
||||
//drawBarChart(g);
|
||||
|
||||
//drawDotChart(g);
|
||||
|
||||
//drawTable(g);
|
||||
|
||||
drawChessBoard(g);
|
||||
|
||||
//drawHashtable(g);
|
||||
|
||||
//drawList(g);
|
||||
|
||||
//drawQueue(g);
|
||||
|
||||
//drawStack(g);
|
||||
|
||||
//drawMaze(g, maze);
|
||||
|
||||
//drawGraph(g);
|
||||
}
|
||||
|
||||
private void drawGraph(Graphics g) {
|
||||
|
||||
// create/add vertexes
|
||||
Vector<Vertex> vertexes = new Vector<Vertex>();
|
||||
|
||||
vertexes.add(new Vertex(20, 20, "1", Color.BLACK));
|
||||
vertexes.add(new Vertex(80, 20, "2", Color.BLACK));
|
||||
vertexes.add(new Vertex(100, 80, "3", Color.BLACK));
|
||||
vertexes.add(new Vertex(180, 60, "4", Color.BLUE));
|
||||
vertexes.add(new Vertex(20, 80, "5", Color.BLACK));
|
||||
vertexes.add(new Vertex(120, 140, "6", Color.BLACK));
|
||||
vertexes.add(new Vertex(20, 180, "7", Color.BLACK));
|
||||
|
||||
|
||||
// create/add edges
|
||||
Vector<Edge> edges = new Vector<Edge>();
|
||||
|
||||
edges.add(new Edge(vertexes.get(0), vertexes.get(1), "1", Color.WHITE));
|
||||
edges.add(new Edge(vertexes.get(1), vertexes.get(4), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(0), vertexes.get(4), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(2), vertexes.get(3), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(3), vertexes.get(2), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(4), vertexes.get(6), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(6), vertexes.get(6), "1", Color.BLACK));
|
||||
|
||||
|
||||
// create graph
|
||||
Graph graph = new Graph(vertexes, edges, false, EdgeStyle.Angled);
|
||||
graph.draw(g);
|
||||
}
|
||||
|
||||
private void drawDotChart(Graphics g) {
|
||||
Vector<Integer> valueList = new Vector<Integer>();
|
||||
for(int i = 0; i< 2*logList.size(); i++){
|
||||
valueList.add(i);
|
||||
}
|
||||
|
||||
DotChart dotChart = new DotChart(valueList, this.getHeight(), this.getWidth());
|
||||
dotChart.draw(g);
|
||||
}
|
||||
|
||||
private void drawMaze(Graphics g, Maze maze) {
|
||||
maze.draw(g);
|
||||
}
|
||||
|
||||
private void drawStack(Graphics g) {
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
Stack stack = new Stack(values) ;
|
||||
stack.draw(g);
|
||||
}
|
||||
|
||||
private void drawQueue(Graphics g) {
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
Queue queue = new Queue(values);
|
||||
queue.draw(g);
|
||||
|
||||
}
|
||||
|
||||
private void drawList(Graphics g) {
|
||||
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
List list = new List(values);
|
||||
list.draw(g);
|
||||
}
|
||||
|
||||
private void drawHashtable(Graphics g) {
|
||||
String[][] array = new String[10][2];
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][0] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][1] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
Hashtable table = new Hashtable(array);
|
||||
table.draw(g);
|
||||
}
|
||||
|
||||
private void drawChessBoard(Graphics g) {
|
||||
boolean[][] board = new boolean[8][8];
|
||||
board[0][0]= true;
|
||||
board[0][1]= true;
|
||||
ChessBoard chessBoard = new ChessBoard(board, this.getWidth(), this.getHeight(), "D");
|
||||
chessBoard.draw(g);
|
||||
}
|
||||
|
||||
private void drawTable(Graphics g) {
|
||||
String[][] array = new String[10][2];
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][0] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][1] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
String[] captions = new String[2];
|
||||
captions[0] = "Caption 1";
|
||||
captions[1] = "Caption 2";
|
||||
Table table = new Table(array, captions, 0, 0);
|
||||
table.draw(g);
|
||||
}
|
||||
|
||||
private void drawBarChart(Graphics g) {
|
||||
Vector<BarChartElement> valueList = new Vector<BarChartElement>();
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement logElement = (TestLogElement) logList.get(i);
|
||||
BarChartElement barChartElement = new BarChartElement((int) logElement.getValue(), Color.MAGENTA);
|
||||
valueList.add(barChartElement);
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement logElement = (TestLogElement) logList.get(i);
|
||||
BarChartElement barChartElement = new BarChartElement((int) logElement.getValue(), Color.YELLOW);
|
||||
valueList.add(barChartElement);
|
||||
}
|
||||
BarChart barChart = new BarChart(valueList, this.getWidth(), this.getHeight());
|
||||
barChart.draw(g);
|
||||
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
|
||||
public class Generator {
|
||||
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package testApplication;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Dimension;
|
||||
import java.awt.FontMetrics;
|
||||
import java.awt.Graphics;
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import javax.imageio.ImageIO;
|
||||
import javax.swing.BorderFactory;
|
||||
import visualization.LegendArea;
|
||||
|
||||
/**
|
||||
* This class represents a visualization.LegendArea implementation and has been created for demonstration purposes only.
|
||||
* Method initialize(Graphics) is overridden and now implements logic for drawing parameters on the legend area.
|
||||
* @author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestLegendArea extends LegendArea{
|
||||
|
||||
/**
|
||||
* Standard constructor
|
||||
*/
|
||||
public TestLegendArea(){
|
||||
super();
|
||||
|
||||
//set the legend area's preferred size manually for best visualization
|
||||
setPreferredSize(new Dimension(150, 170));
|
||||
}
|
||||
|
||||
/**
|
||||
* Overridden method from super class.
|
||||
* Draws all elements and descriptions on the LegendArea
|
||||
* @param g the Graphics object of the corresponding panel
|
||||
*/
|
||||
public void initialize(Graphics g){
|
||||
|
||||
//Create a new TitledBorder for the LegendArea
|
||||
setBorder(BorderFactory.createTitledBorder("LegendArea"));
|
||||
|
||||
//LegendParameter 1
|
||||
g.setColor(new Color(255, 128, 128));
|
||||
g.fillRoundRect( 20, 20, 30, 30,30,30);
|
||||
g.setColor(Color.BLACK);
|
||||
g.drawString("Element 1", 60,40);
|
||||
|
||||
//LegendParameter 2
|
||||
g.setColor(new Color(0, 255, 64));
|
||||
g.fill3DRect(20,70, 50, 30, true);
|
||||
g.setColor(Color.BLACK);
|
||||
g.drawString("Element 2", 80,90);
|
||||
|
||||
//LegendParameter 3
|
||||
g.setColor(new Color(255, 0, 128));
|
||||
g.fill3DRect(20,120, 30, 30, true);
|
||||
g.setColor(Color.BLACK);
|
||||
g.drawString("Element 3", 60,140);
|
||||
}
|
||||
}
|
@ -0,0 +1,190 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:09:00 CET 2011 -->
|
||||
<TITLE>
|
||||
T-Index
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="T-Index";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index-16.html"><B>PREV LETTER</B></A>
|
||||
<A HREF="index-18.html"><B>NEXT LETTER</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?index-filesindex-17.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="index-17.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">H</A> <A HREF="index-9.html">I</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">V</A> <HR>
|
||||
<A NAME="_T_"><!-- --></A><H2>
|
||||
<B>T</B></H2>
|
||||
<DL>
|
||||
<DT><A HREF="../visualizationElements/Table.html" title="class in visualizationElements"><B>Table</B></A> - Class in <A HREF="../visualizationElements/package-summary.html">visualizationElements</A><DD>Represents a table to visualize.<DT><A HREF="../visualizationElements/Table.html#Table(java.lang.Object[][], java.lang.String[], int, int)"><B>Table(Object[][], String[], int, int)</B></A> -
|
||||
Constructor for class visualizationElements.<A HREF="../visualizationElements/Table.html" title="class in visualizationElements">Table</A>
|
||||
<DD>Creates a new Table.
|
||||
<DT><A HREF="../visualizationElements/Table.html#Table(java.lang.Object[][], int, int)"><B>Table(Object[][], int, int)</B></A> -
|
||||
Constructor for class visualizationElements.<A HREF="../visualizationElements/Table.html" title="class in visualizationElements">Table</A>
|
||||
<DD>Creates a new Table.
|
||||
<DT><A HREF="../TestApplication/TestAlgorithm.html" title="class in TestApplication"><B>TestAlgorithm</B></A> - Class in <A HREF="../TestApplication/package-summary.html">TestApplication</A><DD>This class provides an example for using logging.Algorithm.<DT><A HREF="../TestApplication/TestAlgorithm.html#TestAlgorithm()"><B>TestAlgorithm()</B></A> -
|
||||
Constructor for class TestApplication.<A HREF="../TestApplication/TestAlgorithm.html" title="class in TestApplication">TestAlgorithm</A>
|
||||
<DD>
|
||||
<DT><A HREF="../TestApplication/TestAlgorithm.html#TestAlgorithm(TestApplication.TestParameterArea)"><B>TestAlgorithm(TestParameterArea)</B></A> -
|
||||
Constructor for class TestApplication.<A HREF="../TestApplication/TestAlgorithm.html" title="class in TestApplication">TestAlgorithm</A>
|
||||
<DD>Creates a sum up algorithm.
|
||||
<DT><A HREF="../TestApplication/package-summary.html"><B>TestApplication</B></A> - package TestApplication<DD> <DT><A HREF="../TestApplication/TestApplication.html" title="class in TestApplication"><B>TestApplication</B></A> - Class in <A HREF="../TestApplication/package-summary.html">TestApplication</A><DD>This application provides an example for using logging and visualization packages.<DT><A HREF="../TestApplication/TestApplication.html#TestApplication()"><B>TestApplication()</B></A> -
|
||||
Constructor for class TestApplication.<A HREF="../TestApplication/TestApplication.html" title="class in TestApplication">TestApplication</A>
|
||||
<DD>Standard constructor.
|
||||
<DT><A HREF="../TestApplication/TestDrawArea.html" title="class in TestApplication"><B>TestDrawArea</B></A> - Class in <A HREF="../TestApplication/package-summary.html">TestApplication</A><DD>This class provides an example for using visualization.DrawArea.<DT><A HREF="../TestApplication/TestDrawArea.html#TestDrawArea()"><B>TestDrawArea()</B></A> -
|
||||
Constructor for class TestApplication.<A HREF="../TestApplication/TestDrawArea.html" title="class in TestApplication">TestDrawArea</A>
|
||||
<DD>Standard constructor.
|
||||
<DT><A HREF="../TestApplication/TestDrawArea.html#TestDrawArea(logging.LogElementList, java.lang.String)"><B>TestDrawArea(LogElementList<TestLogElement>, String)</B></A> -
|
||||
Constructor for class TestApplication.<A HREF="../TestApplication/TestDrawArea.html" title="class in TestApplication">TestDrawArea</A>
|
||||
<DD>Creates a sum up draw area and sets the specified log list.
|
||||
<DT><A HREF="../TestApplication/TestHybridWindow.html" title="class in TestApplication"><B>TestHybridWindow</B></A> - Class in <A HREF="../TestApplication/package-summary.html">TestApplication</A><DD>This class provides an example for using visualization.HybridWindow.<DT><A HREF="../TestApplication/TestHybridWindow.html#TestHybridWindow()"><B>TestHybridWindow()</B></A> -
|
||||
Constructor for class TestApplication.<A HREF="../TestApplication/TestHybridWindow.html" title="class in TestApplication">TestHybridWindow</A>
|
||||
<DD>Overwritten standard constructor.
|
||||
<DT><A HREF="../TestApplication/TestLegendArea.html" title="class in TestApplication"><B>TestLegendArea</B></A> - Class in <A HREF="../TestApplication/package-summary.html">TestApplication</A><DD>This class represents a visualization.LegendArea implementation and has been created for demonstration purposes only.<DT><A HREF="../TestApplication/TestLegendArea.html#TestLegendArea()"><B>TestLegendArea()</B></A> -
|
||||
Constructor for class TestApplication.<A HREF="../TestApplication/TestLegendArea.html" title="class in TestApplication">TestLegendArea</A>
|
||||
<DD>Standard constructor
|
||||
<DT><A HREF="../TestApplication/TestLogElement.html" title="class in TestApplication"><B>TestLogElement</B></A> - Class in <A HREF="../TestApplication/package-summary.html">TestApplication</A><DD>This class provides an example for using logging.LogElement.<DT><A HREF="../TestApplication/TestLogElement.html#TestLogElement()"><B>TestLogElement()</B></A> -
|
||||
Constructor for class TestApplication.<A HREF="../TestApplication/TestLogElement.html" title="class in TestApplication">TestLogElement</A>
|
||||
<DD>Standard constructor.
|
||||
<DT><A HREF="../TestApplication/TestLogElement.html#TestLogElement(int, java.lang.String, long)"><B>TestLogElement(int, String, long)</B></A> -
|
||||
Constructor for class TestApplication.<A HREF="../TestApplication/TestLogElement.html" title="class in TestApplication">TestLogElement</A>
|
||||
<DD>Extended constructor.
|
||||
<DT><A HREF="../TestApplication/TestParameterArea.html" title="class in TestApplication"><B>TestParameterArea</B></A> - Class in <A HREF="../TestApplication/package-summary.html">TestApplication</A><DD>This class provides an example for using visualization.ParameterArea.<DT><A HREF="../TestApplication/TestParameterArea.html#TestParameterArea()"><B>TestParameterArea()</B></A> -
|
||||
Constructor for class TestApplication.<A HREF="../TestApplication/TestParameterArea.html" title="class in TestApplication">TestParameterArea</A>
|
||||
<DD>Standard constructor.
|
||||
<DT><A HREF="../TestApplication/TestTextArea.html" title="class in TestApplication"><B>TestTextArea</B></A> - Class in <A HREF="../TestApplication/package-summary.html">TestApplication</A><DD>This class provides an example for using visualization.TextArea.<DT><A HREF="../TestApplication/TestTextArea.html#TestTextArea()"><B>TestTextArea()</B></A> -
|
||||
Constructor for class TestApplication.<A HREF="../TestApplication/TestTextArea.html" title="class in TestApplication">TestTextArea</A>
|
||||
<DD>Standard constructor.
|
||||
<DT><A HREF="../TestApplication/TestTextArea.html#TestTextArea(logging.LogElementList)"><B>TestTextArea(LogElementList<TestLogElement>)</B></A> -
|
||||
Constructor for class TestApplication.<A HREF="../TestApplication/TestTextArea.html" title="class in TestApplication">TestTextArea</A>
|
||||
<DD>Extended constructor.
|
||||
<DT><A HREF="../visualization/TextArea.html" title="class in visualization"><B>TextArea</B></A><<A HREF="../visualization/TextArea.html" title="type parameter in TextArea">LOG</A> extends <A HREF="../logging/LogElement.html" title="class in logging">LogElement</A>> - Class in <A HREF="../visualization/package-summary.html">visualization</A><DD>This class provides the basic text output area for a HybridWindow.<DT><A HREF="../visualization/TextArea.html#TextArea()"><B>TextArea()</B></A> -
|
||||
Constructor for class visualization.<A HREF="../visualization/TextArea.html" title="class in visualization">TextArea</A>
|
||||
<DD>Standard constructor.
|
||||
<DT><A HREF="../visualization/TextArea.html#TextArea(logging.LogElementList)"><B>TextArea(LogElementList<LOG>)</B></A> -
|
||||
Constructor for class visualization.<A HREF="../visualization/TextArea.html" title="class in visualization">TextArea</A>
|
||||
<DD>Creates an empty text area with scroll pane and sets the specified log list.
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index-16.html"><B>PREV LETTER</B></A>
|
||||
<A HREF="index-18.html"><B>NEXT LETTER</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?index-filesindex-17.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="index-17.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">H</A> <A HREF="index-9.html">I</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">V</A> <HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,61 @@
|
||||
import java.util.Vector;
|
||||
|
||||
|
||||
public class Generator {
|
||||
|
||||
public static Vector<String> GenereateSchedule(Vector<String> players){
|
||||
Vector<String> schedule = new Vector<String>();
|
||||
|
||||
String[][] pyramids = CreatePyramides(players);
|
||||
|
||||
int column = 0;
|
||||
|
||||
String name = null;
|
||||
for(int row = 0; row<players.size(); row++){
|
||||
|
||||
String a1 = pyramids[row][column];
|
||||
|
||||
|
||||
for(int i = column; i<players.size();i++){
|
||||
if(pyramids[row][i+1] != null && pyramids[row][i+1] != a1){
|
||||
name = pyramids[row][i+1];
|
||||
break;
|
||||
}
|
||||
}
|
||||
String a2 = name;
|
||||
|
||||
for(int i = 0; i<players.size();i++){
|
||||
if(column !=0 && pyramids[row+1][column] != null){
|
||||
name = pyramids[row][column+1];
|
||||
break;
|
||||
}
|
||||
}
|
||||
String b1 = name;
|
||||
|
||||
for(int i = 0; i<players.size();i++){
|
||||
if(column !=0 && pyramids[row+1][column+1] != null){
|
||||
name = pyramids[row][column+1];
|
||||
break;
|
||||
}
|
||||
}
|
||||
String b2 = name;
|
||||
|
||||
schedule.add(a1 +" " + a2 + " - " + b1+" " + b2);
|
||||
column++;
|
||||
}
|
||||
return schedule;
|
||||
}
|
||||
|
||||
private static String[][] CreatePyramides(Vector<String> players) {
|
||||
String[][] pyramids = new String[players.size()][players.size()];
|
||||
|
||||
for(int i = 0; i<players.size(); i++){
|
||||
pyramids[i][0] = players.get(i);
|
||||
|
||||
for(int j = i+1; j<players.size(); j++){
|
||||
pyramids[i][j] = players.get(j);
|
||||
}
|
||||
}
|
||||
return pyramids;
|
||||
}
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
package testApplication;
|
||||
|
||||
import javax.swing.JFrame;
|
||||
import javax.swing.JPanel;
|
||||
|
||||
import logging.LogElementList;
|
||||
|
||||
import visualization.HybridWindow;
|
||||
|
||||
/**
|
||||
* This application provides an example for using logging and visualization packages.
|
||||
* It uses extended classes from logging and visualization found in package sumUp.
|
||||
* It sums up integer number starting with 0 up to the maximum value specified in the parameter area.
|
||||
* @see testApplication.testApplicationAlgorithm
|
||||
* @see testApplication.testApplicationApplication
|
||||
* @see testApplication.testApplicationDrawArea
|
||||
* @see testApplication.testApplicationHybridWindow
|
||||
* @see testApplication.testApplicationLogElement
|
||||
* @see testApplication.testApplicationParameterArea
|
||||
* @see testApplication.testApplicationTextArea
|
||||
* @see testApplication.testApplicationLegendArea
|
||||
* @see javax.swing.JPanel
|
||||
* @author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestApplication {
|
||||
|
||||
/**
|
||||
* Standard constructor.
|
||||
*/
|
||||
public TestApplication() {
|
||||
super();
|
||||
// TODO Auto-generated constructor stub
|
||||
}
|
||||
|
||||
/**
|
||||
* The applications main method.
|
||||
* Creates a HybridWindow with SumUpParameterArea,SumUpLegendArea ,SumUpDrawArea, SumUpTextArea and SumUpAlgorithm and starts it.
|
||||
* @param args
|
||||
*/
|
||||
public static void main(String[]args){
|
||||
LogElementList<TestLogElement>logList=new LogElementList<TestLogElement>();
|
||||
TestParameterArea parameterArea=new TestParameterArea();
|
||||
TestDrawArea drawArea=new TestDrawArea(logList,"visualization");
|
||||
TestTextArea textArea=new TestTextArea(logList);
|
||||
TestAlgorithm algorithm=new TestAlgorithm(parameterArea);
|
||||
TestLegendArea legendArea=new TestLegendArea();
|
||||
HybridWindow applet=new HybridWindow<TestDrawArea,TestTextArea,TestParameterArea,TestAlgorithm,TestLogElement,TestLegendArea>(drawArea,textArea,parameterArea,algorithm,logList,legendArea);
|
||||
|
||||
|
||||
JFrame frame=new JFrame("Visualise");
|
||||
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
frame.getContentPane().add(applet);
|
||||
frame.pack();
|
||||
applet.init();
|
||||
applet.start();
|
||||
frame.setSize(800,600);
|
||||
frame.setVisible(true);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,238 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:09:00 CET 2011 -->
|
||||
<TITLE>
|
||||
Uses of Class visualization.DrawArea
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class visualization.DrawArea";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../visualization/DrawArea.html" title="class in visualization"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../index.html?visualization/\class-useDrawArea.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="DrawArea.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<CENTER>
|
||||
<H2>
|
||||
<B>Uses of Class<br>visualization.DrawArea</B></H2>
|
||||
</CENTER>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Packages that use <A HREF="../../visualization/DrawArea.html" title="class in visualization">DrawArea</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><A HREF="#sumUp"><B>sumUp</B></A></TD>
|
||||
<TD>A small example showing how logging and visualization work. </TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><A HREF="#TestApplication"><B>TestApplication</B></A></TD>
|
||||
<TD> </TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><A HREF="#visualization"><B>visualization</B></A></TD>
|
||||
<TD>Provides the classes necessary to create a visualization of a logged algorithm. </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<A NAME="sumUp"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Uses of <A HREF="../../visualization/DrawArea.html" title="class in visualization">DrawArea</A> in <A HREF="../../sumUp/package-summary.html">sumUp</A></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../visualization/DrawArea.html" title="class in visualization">DrawArea</A> in <A HREF="../../sumUp/package-summary.html">sumUp</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> class</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../sumUp/SumUpDrawArea.html" title="class in sumUp">SumUpDrawArea</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
This class provides an example for using visualization.DrawArea.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<A NAME="TestApplication"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Uses of <A HREF="../../visualization/DrawArea.html" title="class in visualization">DrawArea</A> in <A HREF="../../TestApplication/package-summary.html">TestApplication</A></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../visualization/DrawArea.html" title="class in visualization">DrawArea</A> in <A HREF="../../TestApplication/package-summary.html">TestApplication</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> class</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../TestApplication/TestDrawArea.html" title="class in TestApplication">TestDrawArea</A></B></CODE>
|
||||
|
||||
<BR>
|
||||
This class provides an example for using visualization.DrawArea.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<A NAME="visualization"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Uses of <A HREF="../../visualization/DrawArea.html" title="class in visualization">DrawArea</A> in <A HREF="../../visualization/package-summary.html">visualization</A></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../visualization/package-summary.html">visualization</A> with type parameters of type <A HREF="../../visualization/DrawArea.html" title="class in visualization">DrawArea</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> class</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../../visualization/HybridWindow.html" title="class in visualization">HybridWindow<DRAW extends DrawArea,TEXT extends TextArea,PARAM extends ParameterArea,ALGORITHM extends Algorithm,LOG extends LogElement,LEGEND extends LegendArea></A></B></CODE>
|
||||
|
||||
<BR>
|
||||
This is the central class for using packages logging and visualization.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../visualization/DrawArea.html" title="class in visualization"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../index.html?visualization/\class-useDrawArea.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="DrawArea.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,62 @@
|
||||
package testApplication;
|
||||
|
||||
import javax.swing.JFrame;
|
||||
import javax.swing.JPanel;
|
||||
|
||||
import logging.LogElementList;
|
||||
|
||||
import visualization.HybridWindow;
|
||||
|
||||
/**
|
||||
* This application provides an example for using logging and visualization packages.
|
||||
* It uses extended classes from logging and visualization found in package sumUp.
|
||||
* It sums up integer number starting with 0 up to the maximum value specified in the parameter area.
|
||||
* @see testApplication.TestApplicationAlgorithm
|
||||
* @see testApplication.TestApplicationApplication
|
||||
* @see testApplication.TestApplicationDrawArea
|
||||
* @see testApplication.TestApplicationHybridWindow
|
||||
* @see testApplication.TestApplicationLogElement
|
||||
* @see testApplication.TestApplicationParameterArea
|
||||
* @see testApplication.TestApplicationTextArea
|
||||
* @see testApplication.TestApplicationLegendArea
|
||||
* @see javax.swing.JPanel
|
||||
* @author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestApplication {
|
||||
|
||||
/**
|
||||
* Standard constructor.
|
||||
*/
|
||||
public TestApplication() {
|
||||
super();
|
||||
// TODO Auto-generated constructor stub
|
||||
}
|
||||
|
||||
/**
|
||||
* The applications main method.
|
||||
* Creates a HybridWindow with SumUpParameterArea,SumUpLegendArea ,SumUpDrawArea, SumUpTextArea and SumUpAlgorithm and starts it.
|
||||
* @param args
|
||||
*/
|
||||
public static void main(String[]args){
|
||||
LogElementList<TestLogElement>logList=new LogElementList<TestLogElement>();
|
||||
TestParameterArea parameterArea=new TestParameterArea();
|
||||
TestDrawArea drawArea=new TestDrawArea(logList,"visualization");
|
||||
TestTextArea textArea=new TestTextArea(logList);
|
||||
TestAlgorithm algorithm=new TestAlgorithm(parameterArea);
|
||||
TestLegendArea legendArea=new TestLegendArea();
|
||||
HybridWindow applet=new HybridWindow<TestDrawArea,TestTextArea,TestParameterArea,TestAlgorithm,TestLogElement,TestLegendArea>(drawArea,textArea,parameterArea,algorithm,logList,legendArea);
|
||||
|
||||
|
||||
JFrame frame=new JFrame("Visualise");
|
||||
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
frame.getContentPane().add(applet);
|
||||
frame.pack();
|
||||
applet.init();
|
||||
applet.start();
|
||||
frame.setSize(800,600);
|
||||
frame.setVisible(true);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,144 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:09:00 CET 2011 -->
|
||||
<TITLE>
|
||||
Uses of Class sumUp.SumUpAlgorithm
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class sumUp.SumUpAlgorithm";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../sumUp/SumUpAlgorithm.html" title="class in sumUp"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../index.html?sumUp/\class-useSumUpAlgorithm.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="SumUpAlgorithm.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<CENTER>
|
||||
<H2>
|
||||
<B>Uses of Class<br>sumUp.SumUpAlgorithm</B></H2>
|
||||
</CENTER>
|
||||
No usage of sumUp.SumUpAlgorithm
|
||||
<P>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../sumUp/SumUpAlgorithm.html" title="class in sumUp"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../../index.html?sumUp/\class-useSumUpAlgorithm.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="SumUpAlgorithm.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,46 @@
|
||||
package testApplication;
|
||||
|
||||
import logging.Algorithm;
|
||||
import logging.LogElementList;
|
||||
|
||||
/**
|
||||
* This class provides an example for using logging.Algorithm.
|
||||
* It sums up integer number starting with 0 up to the maximum value specified in the parameter area.
|
||||
* @see logging.Algorithm
|
||||
* @author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestAlgorithm extends Algorithm{
|
||||
|
||||
public TestAlgorithm() {
|
||||
super();
|
||||
// TODO Auto-generated constructor stub
|
||||
}
|
||||
/**
|
||||
* Creates a sum up algorithm.
|
||||
* @param parameterArea the sum up parameter area the algorithm gets its parameters from
|
||||
*/
|
||||
public TestAlgorithm(TestParameterArea parameterArea){
|
||||
super(parameterArea,"Test algorithm");
|
||||
}
|
||||
|
||||
/**
|
||||
* Overwritten from super class.
|
||||
* Runs the algorithm with parameters specified in parameterArea.
|
||||
* Returns the LogElementList produced by the algorithm processing.
|
||||
* Sums up integer number starting with 0 up to the maximum value specified in the parameter area.
|
||||
* @return a LogElementList containing the algorithm processings single steps
|
||||
*/
|
||||
public LogElementList run(){
|
||||
LogElementList<TestLogElement>logList = new LogElementList<TestLogElement>();
|
||||
|
||||
return logList;
|
||||
}
|
||||
private void chessBoardTest(LogElementList<TestLogElement> logList) {
|
||||
;
|
||||
}
|
||||
private void barChartAndTableTest(LogElementList<TestLogElement> logList) {
|
||||
;
|
||||
}
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
//package sumUp;
|
||||
//
|
||||
//import javax.swing.JPanel;
|
||||
//
|
||||
//import logging.LogElementList;
|
||||
//import visualization.HybridWindow;
|
||||
//
|
||||
///**
|
||||
// * This class provides an example for using visualization.HybridWindow.
|
||||
// * Overwriting the constructor is necessary to run as an applet.
|
||||
// * For running as an application overwriting the constructor is not necessary
|
||||
// * @see visualization.HybridWindow
|
||||
// * @see sumUp.SumUpApplication
|
||||
// * @author Björn Strobel<br><small>
|
||||
// * University of Cooperative Education Stuttgart,
|
||||
// * Campus Horb<br>
|
||||
// * Department of Information Technology<br>
|
||||
// * it2003<br></small>
|
||||
// */
|
||||
//public class SumUpHybridWindow extends HybridWindow{
|
||||
//
|
||||
// /**
|
||||
// * Overwritten standard constructor.
|
||||
// * Creates a SumUpHybridWindow with
|
||||
// * SumUpParameterArea,SumUpLegendArea, SumUpDrawArea, SumUpTextArea,
|
||||
// * SumUpAlgorithm and a LogElementList of SumUpLogElements.
|
||||
// */
|
||||
// public SumUpHybridWindow() {
|
||||
// super();
|
||||
// logList=new LogElementList<SumUpLogElement>();
|
||||
// parameterArea=new SumUpParameterArea();
|
||||
// drawArea=new SumUpDrawArea(logList,"visualization");
|
||||
// textArea=new SumUpTextArea(logList);
|
||||
// legendArea=new SumUpLegendArea();
|
||||
// algorithm=new SumUpAlgorithm((SumUpParameterArea)parameterArea);
|
||||
//
|
||||
// // This is a small show case on how to add additional components to a hybrid window's tabbed pane.
|
||||
// // An empty JPanel will be added to the tabbed pane for demonstrational purposes only.
|
||||
// JPanel dummyPanel=new JPanel();
|
||||
// addNewComponent("Dummy component", dummyPanel);
|
||||
// }
|
||||
//
|
||||
//}
|
@ -0,0 +1,66 @@
|
||||
package testApplication;
|
||||
|
||||
import javax.swing.JFrame;
|
||||
import javax.swing.JPanel;
|
||||
|
||||
import logging.LogElementList;
|
||||
|
||||
import visualization.HybridWindow;
|
||||
|
||||
/**
|
||||
* This application provides an example for using logging and visualization packages.
|
||||
* It uses extended classes from logging and visualization found in package sumUp.
|
||||
* It sums up integer number starting with 0 up to the maximum value specified in the parameter area.
|
||||
* @see testApplication.testApplicationAlgorithm
|
||||
* @see testApplication.testApplicationApplication
|
||||
* @see testApplication.testApplicationDrawArea
|
||||
* @see testApplication.testApplicationHybridWindow
|
||||
* @see testApplication.testApplicationLogElement
|
||||
* @see testApplication.testApplicationParameterArea
|
||||
* @see testApplication.testApplicationTextArea
|
||||
* @see testApplication.testApplicationLegendArea
|
||||
* @see javax.swing.JPanel
|
||||
* @author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestApplication {
|
||||
|
||||
/**
|
||||
* Standard constructor.
|
||||
*/
|
||||
public TestApplication() {
|
||||
super();
|
||||
// TODO Auto-generated constructor stub
|
||||
}
|
||||
|
||||
/**
|
||||
* The applications main method.
|
||||
* Creates a HybridWindow with SumUpParameterArea,SumUpLegendArea ,SumUpDrawArea, SumUpTextArea and SumUpAlgorithm and starts it.
|
||||
* @param args
|
||||
*/
|
||||
public static void main(String[]args){
|
||||
LogElementList<TestLogElement>logList=new LogElementList<TestLogElement>();
|
||||
TestParameterArea parameterArea=new TestParameterArea();
|
||||
TestDrawArea drawArea=new TestDrawArea(logList,"visualization");
|
||||
TestTextArea textArea=new TestTextArea(logList);
|
||||
TestAlgorithm algorithm=new TestAlgorithm(parameterArea);
|
||||
TestLegendArea legendArea=new TestLegendArea();
|
||||
HybridWindow applet=new HybridWindow<TestDrawArea,TestTextArea,TestParameterArea,TestAlgorithm,TestLogElement,TestLegendArea>(drawArea,textArea,parameterArea,algorithm,logList,legendArea);
|
||||
|
||||
// This is a small show case on how to add additional components to a hybrid window's tabbed pane.
|
||||
// An empty JPanel will be added to the tabbed pane for demonstrational purposes only.
|
||||
/*JPanel dummyPanel=new JPanel();
|
||||
applet.addNewComponent("Dummy component", dummyPanel);*/
|
||||
|
||||
JFrame frame=new JFrame("V1suali2e");
|
||||
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
frame.getContentPane().add(applet);
|
||||
frame.pack();
|
||||
applet.init();
|
||||
applet.start();
|
||||
frame.setSize(800,600);
|
||||
frame.setVisible(true);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
package testApplication;
|
||||
|
||||
import javax.swing.JFrame;
|
||||
import logging.LogElementList;
|
||||
|
||||
import visualization.HybridWindow;
|
||||
|
||||
/**
|
||||
* This application provides an example for using logging and visualization packages.
|
||||
* It uses extended classes from logging and visualization found in package sumUp.
|
||||
* It sums up integer number starting with 0 up to the maximum value specified in the parameter area.
|
||||
* @see testApplication.TestAlgorithm
|
||||
* @see testApplication.TestApplication
|
||||
* @see testApplication.TestDrawArea
|
||||
* @see testApplication.TestHybridWindow
|
||||
* @see testApplication.TestLogElement
|
||||
* @see testApplication.TestParameterArea
|
||||
* @see testApplication.TestTextArea
|
||||
* @see testApplication.TestLegendArea
|
||||
* @see javax.swing.JPanel
|
||||
* @author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestApplication {
|
||||
|
||||
/**
|
||||
* Standard constructor.
|
||||
*/
|
||||
public TestApplication() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* The applications main method.
|
||||
* Creates a HybridWindow with TestParameterArea, TestLegendArea ,TestDrawArea, TestTextArea and TestAlgorithm and starts it.
|
||||
* @param args
|
||||
*/
|
||||
public static void main(String[]args){
|
||||
LogElementList<TestLogElement>logList=new LogElementList<TestLogElement>();
|
||||
TestParameterArea parameterArea=new TestParameterArea();
|
||||
TestDrawArea drawArea=new TestDrawArea(logList,"visualization");
|
||||
TestTextArea textArea=new TestTextArea(logList);
|
||||
TestAlgorithm algorithm=new TestAlgorithm(parameterArea);
|
||||
TestLegendArea legendArea=new TestLegendArea();
|
||||
HybridWindow<TestDrawArea, TestTextArea, TestParameterArea, TestAlgorithm, TestLogElement, TestLegendArea> applet=new HybridWindow<TestDrawArea,TestTextArea,TestParameterArea,TestAlgorithm,TestLogElement,TestLegendArea>(drawArea,textArea,parameterArea,algorithm,logList,legendArea);
|
||||
|
||||
|
||||
JFrame frame=new JFrame("Visualise");
|
||||
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
frame.getContentPane().add(applet);
|
||||
frame.pack();
|
||||
applet.init();
|
||||
applet.start();
|
||||
frame.setSize(800,600);
|
||||
frame.setVisible(true);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,453 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:08:52 CET 2011 -->
|
||||
<TITLE>
|
||||
DotChart
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="DotChart";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DotChart.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../visualizationElements/ChessBoard.html" title="class in visualizationElements"><B>PREV CLASS</B></A>
|
||||
<A HREF="../visualizationElements/Edge.html" title="class in visualizationElements"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?visualizationElements/DotChart.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="DotChart.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<H2>
|
||||
<FONT SIZE="-1">
|
||||
visualizationElements</FONT>
|
||||
<BR>
|
||||
Class DotChart</H2>
|
||||
<PRE>
|
||||
java.lang.Object
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><A HREF="../visualizationElements/VisualizationElement.html" title="class in visualizationElements">visualizationElements.VisualizationElement</A>
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>visualizationElements.DotChart</B>
|
||||
</PRE>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT><PRE>public class <B>DotChart</B><DT>extends <A HREF="../visualizationElements/VisualizationElement.html" title="class in visualizationElements">VisualizationElement</A></DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Represents a dot chart to visualize sort algorithms.
|
||||
<P>
|
||||
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Author:</B></DT>
|
||||
<DD>MSchaefer</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
|
||||
<A NAME="constructor_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../visualizationElements/DotChart.html#DotChart(int[], int, int)">DotChart</A></B>(int[] values,
|
||||
int height,
|
||||
int width)</CODE>
|
||||
|
||||
<BR>
|
||||
Creates a new dot chart.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../visualizationElements/DotChart.html#DotChart(java.util.Vector, int, int)">DotChart</A></B>(java.util.Vector<java.lang.Integer> values,
|
||||
int height,
|
||||
int width)</CODE>
|
||||
|
||||
<BR>
|
||||
Creates a new dot chart.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
|
||||
<A NAME="method_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/DotChart.html#draw(java.awt.Graphics)">draw</A></B>(java.awt.Graphics g)</CODE>
|
||||
|
||||
<BR>
|
||||
Draws the visualization element.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> int</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/DotChart.html#getHeight()">getHeight</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> int</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/DotChart.html#getStartXPos()">getStartXPos</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> java.util.Vector<java.lang.Integer></CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/DotChart.html#getValues()">getValues</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> int</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/DotChart.html#getWidth()">getWidth</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/DotChart.html#setHeight(int)">setHeight</A></B>(int height)</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/DotChart.html#setStartXPos(int)">setStartXPos</A></B>(int startXPos)</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/DotChart.html#setValues(java.util.Vector)">setValues</A></B>(java.util.Vector<java.lang.Integer> values)</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/DotChart.html#setWidth(int)">setWidth</A></B>(int width)</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
|
||||
<A NAME="constructor_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="DotChart(java.util.Vector, int, int)"><!-- --></A><H3>
|
||||
DotChart</H3>
|
||||
<PRE>
|
||||
public <B>DotChart</B>(java.util.Vector<java.lang.Integer> values,
|
||||
int height,
|
||||
int width)</PRE>
|
||||
<DL>
|
||||
<DD>Creates a new dot chart.
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>values</CODE> - Vector with values the dot chart visualizes.<DD><CODE>height</CODE> - Height of the dot chart.<DD><CODE>width</CODE> - Width of the dot chart.</DL>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="DotChart(int[], int, int)"><!-- --></A><H3>
|
||||
DotChart</H3>
|
||||
<PRE>
|
||||
public <B>DotChart</B>(int[] values,
|
||||
int height,
|
||||
int width)</PRE>
|
||||
<DL>
|
||||
<DD>Creates a new dot chart.
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>values</CODE> - Array with values the dot chart visualizes.<DD><CODE>height</CODE> - Height of the dot chart.<DD><CODE>width</CODE> - Width of the dot chart.</DL>
|
||||
</DL>
|
||||
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
|
||||
<A NAME="method_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="draw(java.awt.Graphics)"><!-- --></A><H3>
|
||||
draw</H3>
|
||||
<PRE>
|
||||
public void <B>draw</B>(java.awt.Graphics g)</PRE>
|
||||
<DL>
|
||||
<DD><B>Description copied from class: <CODE><A HREF="../visualizationElements/VisualizationElement.html#draw(java.awt.Graphics)">VisualizationElement</A></CODE></B></DD>
|
||||
<DD>Draws the visualization element.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Specified by:</B><DD><CODE><A HREF="../visualizationElements/VisualizationElement.html#draw(java.awt.Graphics)">draw</A></CODE> in class <CODE><A HREF="../visualizationElements/VisualizationElement.html" title="class in visualizationElements">VisualizationElement</A></CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>g</CODE> - The Graphics object to draw the element to the DrawArea.</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setValues(java.util.Vector)"><!-- --></A><H3>
|
||||
setValues</H3>
|
||||
<PRE>
|
||||
public void <B>setValues</B>(java.util.Vector<java.lang.Integer> values)</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>values</CODE> - the values to set</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getValues()"><!-- --></A><H3>
|
||||
getValues</H3>
|
||||
<PRE>
|
||||
public java.util.Vector<java.lang.Integer> <B>getValues</B>()</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>Returns the values.</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setStartXPos(int)"><!-- --></A><H3>
|
||||
setStartXPos</H3>
|
||||
<PRE>
|
||||
public void <B>setStartXPos</B>(int startXPos)</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>startXPos</CODE> - the startXPos to set</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getStartXPos()"><!-- --></A><H3>
|
||||
getStartXPos</H3>
|
||||
<PRE>
|
||||
public int <B>getStartXPos</B>()</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the startXPos</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setHeight(int)"><!-- --></A><H3>
|
||||
setHeight</H3>
|
||||
<PRE>
|
||||
public void <B>setHeight</B>(int height)</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>height</CODE> - the height to set</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getHeight()"><!-- --></A><H3>
|
||||
getHeight</H3>
|
||||
<PRE>
|
||||
public int <B>getHeight</B>()</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the height</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setWidth(int)"><!-- --></A><H3>
|
||||
setWidth</H3>
|
||||
<PRE>
|
||||
public void <B>setWidth</B>(int width)</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>width</CODE> - the width to set</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getWidth()"><!-- --></A><H3>
|
||||
getWidth</H3>
|
||||
<PRE>
|
||||
public int <B>getWidth</B>()</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the width</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DotChart.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../visualizationElements/ChessBoard.html" title="class in visualizationElements"><B>PREV CLASS</B></A>
|
||||
<A HREF="../visualizationElements/Edge.html" title="class in visualizationElements"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?visualizationElements/DotChart.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="DotChart.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,223 @@
|
||||
package testApplication;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Graphics;
|
||||
import java.util.Vector;
|
||||
|
||||
import visualization.DrawArea;
|
||||
import visualizationElements.BarChart;
|
||||
import visualizationElements.BarChartElement;
|
||||
import visualizationElements.ChessBoard;
|
||||
import visualizationElements.DotChart;
|
||||
import visualizationElements.Edge;
|
||||
import visualizationElements.EdgeStyle;
|
||||
import visualizationElements.Graph;
|
||||
import visualizationElements.Hashtable;
|
||||
import visualizationElements.List;
|
||||
import visualizationElements.Maze;
|
||||
import visualizationElements.Queue;
|
||||
import visualizationElements.Stack;
|
||||
import visualizationElements.Table;
|
||||
import visualizationElements.Vertex;
|
||||
|
||||
import logging.LogElementList;
|
||||
|
||||
/**
|
||||
* This class provides an example for using visualization.DrawArea.
|
||||
* @see logging.Algorithm
|
||||
@author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestDrawArea extends DrawArea{
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private Maze maze;
|
||||
|
||||
/**
|
||||
* Standard constructor.
|
||||
*/
|
||||
public TestDrawArea() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a sum up draw area and sets the specified log list.
|
||||
* @param logList the draw area's log list of sum up log elements
|
||||
*/
|
||||
public TestDrawArea(LogElementList<TestLogElement> logList, String drawAreaName){
|
||||
super(logList,drawAreaName);
|
||||
|
||||
this.maze = new Maze(10, 10);
|
||||
}
|
||||
|
||||
/**
|
||||
* It outputs the step number, the description and the sum of the actual sum up log element.
|
||||
*/
|
||||
public void draw(Graphics g){
|
||||
|
||||
//drawBarChart(g);
|
||||
|
||||
//drawDotChart(g);
|
||||
|
||||
//drawTable(g);
|
||||
|
||||
//drawChessBoard(g);
|
||||
|
||||
//drawHashtable(g);
|
||||
|
||||
//drawList(g);
|
||||
|
||||
//drawQueue(g);
|
||||
|
||||
//drawStack(g);
|
||||
|
||||
//drawMaze(g, maze);
|
||||
|
||||
//drawGraph(g);
|
||||
}
|
||||
|
||||
private void drawGraph(Graphics g) {
|
||||
|
||||
// create/add vertexes
|
||||
Vector<Vertex> vertexes = new Vector<Vertex>();
|
||||
|
||||
vertexes.add(new Vertex(20, 20, "1", Color.BLACK));
|
||||
vertexes.add(new Vertex(80, 20, "2", Color.BLACK));
|
||||
vertexes.add(new Vertex(100, 80, "3", Color.BLACK));
|
||||
vertexes.add(new Vertex(180, 60, "4", Color.BLUE));
|
||||
vertexes.add(new Vertex(20, 80, "5", Color.BLACK));
|
||||
vertexes.add(new Vertex(120, 140, "6", Color.BLACK));
|
||||
vertexes.add(new Vertex(20, 180, "7", Color.BLACK));
|
||||
|
||||
|
||||
// create/add edges
|
||||
Vector<Edge> edges = new Vector<Edge>();
|
||||
|
||||
edges.add(new Edge(vertexes.get(0), vertexes.get(1), "1", Color.WHITE));
|
||||
edges.add(new Edge(vertexes.get(1), vertexes.get(4), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(0), vertexes.get(4), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(2), vertexes.get(3), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(3), vertexes.get(2), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(4), vertexes.get(6), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(6), vertexes.get(6), "1", Color.BLACK));
|
||||
|
||||
|
||||
// create graph
|
||||
Graph graph = new Graph(vertexes, edges, false, EdgeStyle.Direct);
|
||||
graph.draw(g);
|
||||
}
|
||||
|
||||
private void drawDotChart(Graphics g) {
|
||||
Vector<Integer> valueList = new Vector<Integer>();
|
||||
for(int i = 0; i< 2*logList.size(); i++){
|
||||
valueList.add(i);
|
||||
}
|
||||
|
||||
DotChart dotChart = new DotChart(valueList, this.getHeight(), this.getWidth());
|
||||
dotChart.draw(g);
|
||||
}
|
||||
|
||||
private void drawMaze(Graphics g, Maze maze) {
|
||||
maze.draw(g);
|
||||
}
|
||||
|
||||
private void drawStack(Graphics g) {
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
Stack stack = new Stack(values) ;
|
||||
stack.draw(g);
|
||||
}
|
||||
|
||||
private void drawQueue(Graphics g) {
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
Queue queue = new Queue(values);
|
||||
queue.draw(g);
|
||||
|
||||
}
|
||||
|
||||
private void drawList(Graphics g) {
|
||||
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
List list = new List(values);
|
||||
list.draw(g);
|
||||
}
|
||||
|
||||
private void drawHashtable(Graphics g) {
|
||||
String[][] array = new String[10][2];
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][0] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][1] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
Hashtable table = new Hashtable(array);
|
||||
table.draw(g);
|
||||
}
|
||||
|
||||
private void drawChessBoard(Graphics g) {
|
||||
boolean[][] board = new boolean[8][8];
|
||||
board[0][0]= true;
|
||||
board[0][1]= true;
|
||||
ChessBoard chessBoard = new ChessBoard(board, this.getWidth(), this.getHeight(), "D");
|
||||
chessBoard.draw(g);
|
||||
}
|
||||
|
||||
private void drawTable(Graphics g) {
|
||||
String[][] array = new String[10][2];
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][0] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][1] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
String[] captions = new String[2];
|
||||
captions[0] = "Caption 1";
|
||||
captions[1] = "Caption 2";
|
||||
Table table = new Table(array, captions, 0, 0);
|
||||
table.draw(g);
|
||||
}
|
||||
|
||||
private void drawBarChart(Graphics g) {
|
||||
Vector<BarChartElement> valueList = new Vector<BarChartElement>();
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement logElement = (TestLogElement) logList.get(i);
|
||||
BarChartElement barChartElement = new BarChartElement((int) logElement.getValue(), Color.MAGENTA);
|
||||
valueList.add(barChartElement);
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement logElement = (TestLogElement) logList.get(i);
|
||||
BarChartElement barChartElement = new BarChartElement((int) logElement.getValue(), Color.YELLOW);
|
||||
valueList.add(barChartElement);
|
||||
}
|
||||
BarChart barChart = new BarChart(valueList, this.getWidth(), this.getHeight());
|
||||
barChart.draw(g);
|
||||
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
package testApplication;
|
||||
|
||||
import logging.LogElementList;
|
||||
import visualization.TextArea;
|
||||
|
||||
/**
|
||||
* This class provides an example for using visualization.TextArea.
|
||||
* Constructors and print() method have been overwritten.
|
||||
* @see visualization.TextArea
|
||||
* @author Björn Strobel<br><small>
|
||||
* University of Cooperative Education Stuttgart,
|
||||
* Campus Horb<br>
|
||||
* Department of Information Technology<br>
|
||||
* it2003<br></small>
|
||||
*/
|
||||
public class TestTextArea extends TextArea{
|
||||
|
||||
/**
|
||||
* Standard constructor.
|
||||
*/
|
||||
public TestTextArea() {
|
||||
super();
|
||||
// TODO Auto-generated constructor stub
|
||||
}
|
||||
|
||||
/**
|
||||
* Extended constructor.
|
||||
* Sets LogElementList of SumUpLogElements as log list.
|
||||
* @param logList the text area's log element list.
|
||||
*/
|
||||
public TestTextArea(LogElementList<TestLogElement>logList){
|
||||
super(logList);
|
||||
}
|
||||
|
||||
/**
|
||||
* Textual output of a log element.
|
||||
* Outputting step number, description and sum up value.
|
||||
*/
|
||||
public boolean print(){
|
||||
TestLogElement logElement=(TestLogElement)logList.get();
|
||||
if(getText().equals("")){
|
||||
setText("Step "+logElement.getStep()+": "+logElement.getDescription()+": "+logElement.getValue());
|
||||
}
|
||||
else{
|
||||
setText(getText()+"\n"+"Step "+logElement.getStep()+": "+logElement.getDescription()+": "+logElement.getValue());
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
import java.util.Vector;
|
||||
|
||||
|
||||
public class Generator {
|
||||
|
||||
public static Vector<String> GenereateSchedule(Vector<String> players){
|
||||
Vector<String> schedule = new Vector<String>();
|
||||
|
||||
String[][] pyramids = new String[players.size()][players.size()];
|
||||
|
||||
for(int i = 0; i<players.size(); i++){
|
||||
pyramids[i][0] = players.get(i);
|
||||
|
||||
for(int j = i+1; j<players.size(); j++){
|
||||
pyramids[i][j] = players.get(j);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
return schedule;
|
||||
}
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
package testApplication;
|
||||
|
||||
import javax.swing.JPanel;
|
||||
|
||||
import logging.LogElementList;
|
||||
import visualization.HybridWindow;
|
||||
|
||||
/**
|
||||
* This class provides an example for using visualization.HybridWindow.
|
||||
* Overwriting the constructor is necessary to run as an applet.
|
||||
* For running as an application overwriting the constructor is not necessary
|
||||
* @see visualization.HybridWindow
|
||||
* @see testApplication.TestApplication
|
||||
* @author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestHybridWindow extends HybridWindow{
|
||||
|
||||
/**
|
||||
* Overwritten standard constructor.
|
||||
* Creates a TestUpHybridWindow with
|
||||
* TestParameterArea,SumUpLegendArea, TestDrawArea, TestTextArea,
|
||||
* TestAlgorithm and a LogElementList of TestLogElements.
|
||||
*/
|
||||
public TestHybridWindow() {
|
||||
super();
|
||||
//logList=new LogElementList<TestLogElement>();
|
||||
parameterArea=new TestParameterArea();
|
||||
drawArea=new TestDrawArea(logList,"visualization");
|
||||
textArea=new TestTextArea(logList);
|
||||
legendArea=new TestLegendArea();
|
||||
algorithm=new TestAlgorithm((TestParameterArea)parameterArea);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,176 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:09:00 CET 2011 -->
|
||||
<TITLE>
|
||||
Uses of Package sumUp
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Package sumUp";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?sumUp/package-use.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="package-use.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<CENTER>
|
||||
<H2>
|
||||
<B>Uses of Package<br>sumUp</B></H2>
|
||||
</CENTER>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Packages that use <A HREF="../sumUp/package-summary.html">sumUp</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><A HREF="#sumUp"><B>sumUp</B></A></TD>
|
||||
<TD>A small example showing how logging and visualization work. </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<A NAME="sumUp"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Classes in <A HREF="../sumUp/package-summary.html">sumUp</A> used by <A HREF="../sumUp/package-summary.html">sumUp</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><B><A HREF="../sumUp/class-use/SumUpLogElement.html#sumUp"><B>SumUpLogElement</B></A></B>
|
||||
|
||||
<BR>
|
||||
This class provides an example for using logging.LogElement.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><B><A HREF="../sumUp/class-use/SumUpParameterArea.html#sumUp"><B>SumUpParameterArea</B></A></B>
|
||||
|
||||
<BR>
|
||||
This class provides an example for using visualization.ParameterArea.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?sumUp/package-use.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="package-use.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,390 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:08:52 CET 2011 -->
|
||||
<TITLE>
|
||||
Maze
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Maze";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Maze.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../visualizationElements/List.html" title="class in visualizationElements"><B>PREV CLASS</B></A>
|
||||
<A HREF="../visualizationElements/Queue.html" title="class in visualizationElements"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?visualizationElements/Maze.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Maze.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<H2>
|
||||
<FONT SIZE="-1">
|
||||
visualizationElements</FONT>
|
||||
<BR>
|
||||
Class Maze</H2>
|
||||
<PRE>
|
||||
java.lang.Object
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><A HREF="../visualizationElements/VisualizationElement.html" title="class in visualizationElements">visualizationElements.VisualizationElement</A>
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>visualizationElements.Maze</B>
|
||||
</PRE>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT><PRE>public class <B>Maze</B><DT>extends <A HREF="../visualizationElements/VisualizationElement.html" title="class in visualizationElements">VisualizationElement</A></DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
Represents a maze to visualize.
|
||||
<P>
|
||||
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Author:</B></DT>
|
||||
<DD>MSchaefer</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
|
||||
<A NAME="constructor_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Maze.html#Maze(int, int)">Maze</A></B>(int heigth,
|
||||
int width)</CODE>
|
||||
|
||||
<BR>
|
||||
Creates a new Maze.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
|
||||
<A NAME="method_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Maze.html#draw(java.awt.Graphics)">draw</A></B>(java.awt.Graphics g)</CODE>
|
||||
|
||||
<BR>
|
||||
Draws the visualization element.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> int</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Maze.html#getHeigth()">getHeigth</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> <A HREF="../visualizationElements/Cell.html" title="class in visualizationElements">Cell</A>[][]</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Maze.html#getMaze()">getMaze</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> int</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Maze.html#getWidth()">getWidth</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Maze.html#setHeigth(int)">setHeigth</A></B>(int heigth)</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Maze.html#setMaze(visualizationElements.Cell[][])">setMaze</A></B>(<A HREF="../visualizationElements/Cell.html" title="class in visualizationElements">Cell</A>[][] maze)</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> void</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../visualizationElements/Maze.html#setWidth(int)">setWidth</A></B>(int width)</CODE>
|
||||
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
|
||||
<A NAME="constructor_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="Maze(int, int)"><!-- --></A><H3>
|
||||
Maze</H3>
|
||||
<PRE>
|
||||
public <B>Maze</B>(int heigth,
|
||||
int width)</PRE>
|
||||
<DL>
|
||||
<DD>Creates a new Maze.
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>heigth</CODE> - Height of the Maze.<DD><CODE>width</CODE> - Width of the Maze.</DL>
|
||||
</DL>
|
||||
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
|
||||
<A NAME="method_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="draw(java.awt.Graphics)"><!-- --></A><H3>
|
||||
draw</H3>
|
||||
<PRE>
|
||||
public void <B>draw</B>(java.awt.Graphics g)</PRE>
|
||||
<DL>
|
||||
<DD><B>Description copied from class: <CODE><A HREF="../visualizationElements/VisualizationElement.html#draw(java.awt.Graphics)">VisualizationElement</A></CODE></B></DD>
|
||||
<DD>Draws the visualization element.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Specified by:</B><DD><CODE><A HREF="../visualizationElements/VisualizationElement.html#draw(java.awt.Graphics)">draw</A></CODE> in class <CODE><A HREF="../visualizationElements/VisualizationElement.html" title="class in visualizationElements">VisualizationElement</A></CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>g</CODE> - The Graphics object to draw the element to the DrawArea.</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setMaze(visualizationElements.Cell[][])"><!-- --></A><H3>
|
||||
setMaze</H3>
|
||||
<PRE>
|
||||
public void <B>setMaze</B>(<A HREF="../visualizationElements/Cell.html" title="class in visualizationElements">Cell</A>[][] maze)</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>maze</CODE> - the maze to set</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getMaze()"><!-- --></A><H3>
|
||||
getMaze</H3>
|
||||
<PRE>
|
||||
public <A HREF="../visualizationElements/Cell.html" title="class in visualizationElements">Cell</A>[][] <B>getMaze</B>()</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the maze</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setHeigth(int)"><!-- --></A><H3>
|
||||
setHeigth</H3>
|
||||
<PRE>
|
||||
public void <B>setHeigth</B>(int heigth)</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>heigth</CODE> - the heigth to set</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getHeigth()"><!-- --></A><H3>
|
||||
getHeigth</H3>
|
||||
<PRE>
|
||||
public int <B>getHeigth</B>()</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the heigth</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="setWidth(int)"><!-- --></A><H3>
|
||||
setWidth</H3>
|
||||
<PRE>
|
||||
public void <B>setWidth</B>(int width)</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>width</CODE> - the width to set</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="getWidth()"><!-- --></A><H3>
|
||||
getWidth</H3>
|
||||
<PRE>
|
||||
public int <B>getWidth</B>()</PRE>
|
||||
<DL>
|
||||
<DD><DL>
|
||||
|
||||
<DT><B>Returns:</B><DD>the width</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Maze.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../visualizationElements/List.html" title="class in visualizationElements"><B>PREV CLASS</B></A>
|
||||
<A HREF="../visualizationElements/Queue.html" title="class in visualizationElements"><B>NEXT CLASS</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?visualizationElements/Maze.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="Maze.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,223 @@
|
||||
package testApplication;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Graphics;
|
||||
import java.util.Vector;
|
||||
|
||||
import visualization.DrawArea;
|
||||
import visualizationElements.BarChart;
|
||||
import visualizationElements.BarChartElement;
|
||||
import visualizationElements.ChessBoard;
|
||||
import visualizationElements.DotChart;
|
||||
import visualizationElements.Edge;
|
||||
import visualizationElements.EdgeStyle;
|
||||
import visualizationElements.Graph;
|
||||
import visualizationElements.Hashtable;
|
||||
import visualizationElements.List;
|
||||
import visualizationElements.Maze;
|
||||
import visualizationElements.Queue;
|
||||
import visualizationElements.Stack;
|
||||
import visualizationElements.Table;
|
||||
import visualizationElements.Vertex;
|
||||
|
||||
import logging.LogElementList;
|
||||
|
||||
/**
|
||||
* This class provides an example for using visualization.DrawArea.
|
||||
* @see logging.Algorithm
|
||||
@author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestDrawArea extends DrawArea{
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private Maze maze;
|
||||
|
||||
/**
|
||||
* Standard constructor.
|
||||
*/
|
||||
public TestDrawArea() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a sum up draw area and sets the specified log list.
|
||||
* @param logList the draw area's log list of sum up log elements
|
||||
*/
|
||||
public TestDrawArea(LogElementList<TestLogElement> logList, String drawAreaName){
|
||||
super(logList,drawAreaName);
|
||||
|
||||
this.maze = new Maze(15, 15);
|
||||
}
|
||||
|
||||
/**
|
||||
* It outputs the step number, the description and the sum of the actual sum up log element.
|
||||
*/
|
||||
public void draw(Graphics g){
|
||||
|
||||
//drawBarChart(g);
|
||||
|
||||
drawDotChart(g);
|
||||
|
||||
//drawTable(g);
|
||||
|
||||
//drawChessBoard(g);
|
||||
|
||||
//drawHashtable(g);
|
||||
|
||||
//drawList(g);
|
||||
|
||||
//drawQueue(g);
|
||||
|
||||
//drawStack(g);
|
||||
|
||||
//drawMaze(g, maze);
|
||||
|
||||
//drawGraph(g);
|
||||
}
|
||||
|
||||
private void drawGraph(Graphics g) {
|
||||
|
||||
// create/add vertexes
|
||||
Vector<Vertex> vertexes = new Vector<Vertex>();
|
||||
|
||||
vertexes.add(new Vertex(20, 20, "1", Color.BLACK));
|
||||
vertexes.add(new Vertex(80, 20, "2", Color.BLACK));
|
||||
vertexes.add(new Vertex(100, 80, "3", Color.BLACK));
|
||||
vertexes.add(new Vertex(180, 60, "4", Color.BLUE));
|
||||
vertexes.add(new Vertex(20, 80, "5", Color.BLACK));
|
||||
vertexes.add(new Vertex(120, 140, "6", Color.BLACK));
|
||||
vertexes.add(new Vertex(20, 180, "7", Color.BLACK));
|
||||
|
||||
|
||||
// create/add edges
|
||||
Vector<Edge> edges = new Vector<Edge>();
|
||||
|
||||
edges.add(new Edge(vertexes.get(0), vertexes.get(1), "1", Color.WHITE));
|
||||
edges.add(new Edge(vertexes.get(1), vertexes.get(4), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(0), vertexes.get(4), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(2), vertexes.get(3), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(3), vertexes.get(2), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(4), vertexes.get(6), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(6), vertexes.get(6), "1", Color.BLACK));
|
||||
|
||||
|
||||
// create graph
|
||||
Graph graph = new Graph(vertexes, edges, false, EdgeStyle.Angled);
|
||||
graph.draw(g);
|
||||
}
|
||||
|
||||
private void drawDotChart(Graphics g) {
|
||||
Vector<Integer> valueList = new Vector<Integer>();
|
||||
for(int i = 0; i< 2*logList.size(); i++){
|
||||
valueList.add(i);
|
||||
}
|
||||
|
||||
DotChart dotChart = new DotChart(valueList, this.getHeight(), this.getWidth());
|
||||
dotChart.draw(g);
|
||||
}
|
||||
|
||||
private void drawMaze(Graphics g, Maze maze) {
|
||||
maze.draw(g);
|
||||
}
|
||||
|
||||
private void drawStack(Graphics g) {
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
Stack stack = new Stack(values) ;
|
||||
stack.draw(g);
|
||||
}
|
||||
|
||||
private void drawQueue(Graphics g) {
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
Queue queue = new Queue(values);
|
||||
queue.draw(g);
|
||||
|
||||
}
|
||||
|
||||
private void drawList(Graphics g) {
|
||||
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
List list = new List(values);
|
||||
list.draw(g);
|
||||
}
|
||||
|
||||
private void drawHashtable(Graphics g) {
|
||||
String[][] array = new String[10][2];
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][0] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][1] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
Hashtable table = new Hashtable(array);
|
||||
table.draw(g);
|
||||
}
|
||||
|
||||
private void drawChessBoard(Graphics g) {
|
||||
boolean[][] board = new boolean[8][8];
|
||||
board[0][0]= true;
|
||||
board[0][1]= true;
|
||||
ChessBoard chessBoard = new ChessBoard(board, this.getWidth(), this.getHeight(), "D");
|
||||
chessBoard.draw(g);
|
||||
}
|
||||
|
||||
private void drawTable(Graphics g) {
|
||||
String[][] array = new String[10][2];
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][0] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][1] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
String[] captions = new String[2];
|
||||
captions[0] = "Caption 1";
|
||||
captions[1] = "Caption 2";
|
||||
Table table = new Table(array, captions, 0, 0);
|
||||
table.draw(g);
|
||||
}
|
||||
|
||||
private void drawBarChart(Graphics g) {
|
||||
Vector<BarChartElement> valueList = new Vector<BarChartElement>();
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement logElement = (TestLogElement) logList.get(i);
|
||||
BarChartElement barChartElement = new BarChartElement((int) logElement.getValue(), Color.MAGENTA);
|
||||
valueList.add(barChartElement);
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement logElement = (TestLogElement) logList.get(i);
|
||||
BarChartElement barChartElement = new BarChartElement((int) logElement.getValue(), Color.YELLOW);
|
||||
valueList.add(barChartElement);
|
||||
}
|
||||
BarChart barChart = new BarChart(valueList, this.getWidth(), this.getHeight());
|
||||
barChart.draw(g);
|
||||
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,223 @@
|
||||
package testApplication;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Graphics;
|
||||
import java.util.Vector;
|
||||
|
||||
import visualization.DrawArea;
|
||||
import visualizationElements.BarChart;
|
||||
import visualizationElements.BarChartElement;
|
||||
import visualizationElements.ChessBoard;
|
||||
import visualizationElements.DotChart;
|
||||
import visualizationElements.Edge;
|
||||
import visualizationElements.EdgeStyle;
|
||||
import visualizationElements.Graph;
|
||||
import visualizationElements.Hashtable;
|
||||
import visualizationElements.List;
|
||||
import visualizationElements.Maze;
|
||||
import visualizationElements.Queue;
|
||||
import visualizationElements.Stack;
|
||||
import visualizationElements.Table;
|
||||
import visualizationElements.Vertex;
|
||||
|
||||
import logging.LogElementList;
|
||||
|
||||
/**
|
||||
* This class provides an example for using visualization.DrawArea.
|
||||
* @see logging.Algorithm
|
||||
@author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestDrawArea extends DrawArea{
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private Maze maze;
|
||||
|
||||
/**
|
||||
* Standard constructor.
|
||||
*/
|
||||
public TestDrawArea() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a sum up draw area and sets the specified log list.
|
||||
* @param logList the draw area's log list of sum up log elements
|
||||
*/
|
||||
public TestDrawArea(LogElementList<TestLogElement> logList, String drawAreaName){
|
||||
super(logList,drawAreaName);
|
||||
|
||||
this.maze = new Maze(15, 15);
|
||||
}
|
||||
|
||||
/**
|
||||
* It outputs the step number, the description and the sum of the actual sum up log element.
|
||||
*/
|
||||
public void draw(Graphics g){
|
||||
|
||||
//drawBarChart(g);
|
||||
|
||||
//drawDotChart(g);
|
||||
|
||||
//drawTable(g);
|
||||
|
||||
//drawChessBoard(g);
|
||||
|
||||
//drawHashtable(g);
|
||||
|
||||
//drawList(g);
|
||||
|
||||
//drawQueue(g);
|
||||
|
||||
//drawStack(g);
|
||||
|
||||
//drawMaze(g, maze);
|
||||
|
||||
drawGraph(g);
|
||||
}
|
||||
|
||||
private void drawGraph(Graphics g) {
|
||||
|
||||
// create/add vertexes
|
||||
Vector<Vertex> vertexes = new Vector<Vertex>();
|
||||
|
||||
vertexes.add(new Vertex(20, 20, "1", Color.BLACK));
|
||||
vertexes.add(new Vertex(80, 20, "2", Color.BLACK));
|
||||
vertexes.add(new Vertex(100, 80, "3", Color.BLACK));
|
||||
vertexes.add(new Vertex(180, 60, "4", Color.BLUE));
|
||||
vertexes.add(new Vertex(20, 80, "5", Color.BLACK));
|
||||
vertexes.add(new Vertex(120, 140, "6", Color.BLACK));
|
||||
vertexes.add(new Vertex(20, 180, "7", Color.BLACK));
|
||||
|
||||
|
||||
// create/add edges
|
||||
Vector<Edge> edges = new Vector<Edge>();
|
||||
|
||||
edges.add(new Edge(vertexes.get(0), vertexes.get(1), "1", Color.WHITE));
|
||||
edges.add(new Edge(vertexes.get(1), vertexes.get(4), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(0), vertexes.get(4), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(2), vertexes.get(3), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(3), vertexes.get(2), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(4), vertexes.get(6), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(6), vertexes.get(6), "1", Color.BLACK));
|
||||
|
||||
|
||||
// create graph
|
||||
Graph graph = new Graph(vertexes, edges, false, EdgeStyle.Angled);
|
||||
graph.draw(g);
|
||||
}
|
||||
|
||||
private void drawDotChart(Graphics g) {
|
||||
Vector<Integer> valueList = new Vector<Integer>();
|
||||
for(int i = 0; i< 2*logList.size(); i++){
|
||||
valueList.add(i);
|
||||
}
|
||||
|
||||
DotChart dotChart = new DotChart(valueList, this.getHeight(), this.getWidth());
|
||||
dotChart.draw(g);
|
||||
}
|
||||
|
||||
private void drawMaze(Graphics g, Maze maze) {
|
||||
maze.draw(g);
|
||||
}
|
||||
|
||||
private void drawStack(Graphics g) {
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
Stack stack = new Stack(values) ;
|
||||
stack.draw(g);
|
||||
}
|
||||
|
||||
private void drawQueue(Graphics g) {
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
Queue queue = new Queue(values);
|
||||
queue.draw(g);
|
||||
|
||||
}
|
||||
|
||||
private void drawList(Graphics g) {
|
||||
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
List list = new List(values);
|
||||
list.draw(g);
|
||||
}
|
||||
|
||||
private void drawHashtable(Graphics g) {
|
||||
String[][] array = new String[10][2];
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][0] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][1] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
Hashtable table = new Hashtable(array);
|
||||
table.draw(g);
|
||||
}
|
||||
|
||||
private void drawChessBoard(Graphics g) {
|
||||
boolean[][] board = new boolean[8][8];
|
||||
board[0][0]= true;
|
||||
board[0][1]= true;
|
||||
ChessBoard chessBoard = new ChessBoard(board, this.getWidth(), this.getHeight(), "D");
|
||||
chessBoard.draw(g);
|
||||
}
|
||||
|
||||
private void drawTable(Graphics g) {
|
||||
String[][] array = new String[10][2];
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][0] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][1] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
String[] captions = new String[2];
|
||||
captions[0] = "Caption 1";
|
||||
captions[1] = "Caption 2";
|
||||
Table table = new Table(array, captions, 0, 0);
|
||||
table.draw(g);
|
||||
}
|
||||
|
||||
private void drawBarChart(Graphics g) {
|
||||
Vector<BarChartElement> valueList = new Vector<BarChartElement>();
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement logElement = (TestLogElement) logList.get(i);
|
||||
BarChartElement barChartElement = new BarChartElement((int) logElement.getValue(), Color.MAGENTA);
|
||||
valueList.add(barChartElement);
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement logElement = (TestLogElement) logList.get(i);
|
||||
BarChartElement barChartElement = new BarChartElement((int) logElement.getValue(), Color.YELLOW);
|
||||
valueList.add(barChartElement);
|
||||
}
|
||||
BarChart barChart = new BarChart(valueList, this.getWidth(), this.getHeight());
|
||||
barChart.draw(g);
|
||||
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,212 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:09:00 CET 2011 -->
|
||||
<TITLE>
|
||||
Uses of Package visualizationElements
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Package visualizationElements";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?visualizationElements/package-use.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="package-use.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<CENTER>
|
||||
<H2>
|
||||
<B>Uses of Package<br>visualizationElements</B></H2>
|
||||
</CENTER>
|
||||
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Packages that use <A HREF="../visualizationElements/package-summary.html">visualizationElements</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><A HREF="#visualizationElements"><B>visualizationElements</B></A></TD>
|
||||
<TD>Provides all classes to visualize algorithms, and abstract data types with predefined visualization elements. </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<A NAME="visualizationElements"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
Classes in <A HREF="../visualizationElements/package-summary.html">visualizationElements</A> used by <A HREF="../visualizationElements/package-summary.html">visualizationElements</A></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><B><A HREF="../visualizationElements/class-use/BarChartElement.html#visualizationElements"><B>BarChartElement</B></A></B>
|
||||
|
||||
<BR>
|
||||
Represents a bar within a bar chart.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><B><A HREF="../visualizationElements/class-use/Cell.html#visualizationElements"><B>Cell</B></A></B>
|
||||
|
||||
<BR>
|
||||
Represents a Cell of a maze.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><B><A HREF="../visualizationElements/class-use/Edge.html#visualizationElements"><B>Edge</B></A></B>
|
||||
|
||||
<BR>
|
||||
Represents an edge of a graph.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><B><A HREF="../visualizationElements/class-use/EdgeStyle.html#visualizationElements"><B>EdgeStyle</B></A></B>
|
||||
|
||||
<BR>
|
||||
Enum to decide the style of an graph's edges.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><B><A HREF="../visualizationElements/class-use/List.html#visualizationElements"><B>List</B></A></B>
|
||||
|
||||
<BR>
|
||||
Represents the abstract data type List.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><B><A HREF="../visualizationElements/class-use/Table.html#visualizationElements"><B>Table</B></A></B>
|
||||
|
||||
<BR>
|
||||
Represents a table to visualize.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><B><A HREF="../visualizationElements/class-use/Vertex.html#visualizationElements"><B>Vertex</B></A></B>
|
||||
|
||||
<BR>
|
||||
Represents a vertex of a graph to visualize.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><B><A HREF="../visualizationElements/class-use/VisualizationElement.html#visualizationElements"><B>VisualizationElement</B></A></B>
|
||||
|
||||
<BR>
|
||||
Represents an graphical element to visualize algorithms and abstract data types</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
PREV
|
||||
NEXT</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?visualizationElements/package-use.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="package-use.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,39 @@
|
||||
package testApplication;
|
||||
|
||||
import javax.swing.JPanel;
|
||||
|
||||
import logging.LogElementList;
|
||||
import visualization.HybridWindow;
|
||||
|
||||
/**
|
||||
* This class provides an example for using visualization.HybridWindow.
|
||||
* Overwriting the constructor is necessary to run as an applet.
|
||||
* For running as an application overwriting the constructor is not necessary
|
||||
* @see visualization.HybridWindow
|
||||
* @see testApplication.TestApplication
|
||||
* @author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestHybridWindow extends HybridWindow{
|
||||
|
||||
/**
|
||||
* Overwritten standard constructor.
|
||||
* Creates a TestUpHybridWindow with
|
||||
* TestParameterArea,SumUpLegendArea, TestDrawArea, TestTextArea,
|
||||
* TestAlgorithm and a LogElementList of TestLogElements.
|
||||
*/
|
||||
public TestHybridWindow() {
|
||||
super();
|
||||
logList=new LogElementList<TestLogElement>();
|
||||
parameterArea=new TestParameterArea();
|
||||
drawArea=new TestDrawArea(logList,"visualization");
|
||||
textArea=new TestTextArea(logList);
|
||||
legendArea=new TestLegendArea();
|
||||
algorithm=new TestAlgorithm((TestParameterArea)parameterArea);
|
||||
|
||||
JPanel dummyPanel=new JPanel();
|
||||
addNewComponent("Dummy component", dummyPanel);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
package TestApplication;
|
||||
|
||||
import javax.swing.JPanel;
|
||||
|
||||
import logging.LogElementList;
|
||||
import visualization.HybridWindow;
|
||||
|
||||
/**
|
||||
* This class provides an example for using visualization.HybridWindow.
|
||||
* Overwriting the constructor is necessary to run as an applet.
|
||||
* For running as an application overwriting the constructor is not necessary
|
||||
* @see visualization.HybridWindow
|
||||
* @see testApplication.SumUpApplication
|
||||
* @author Marco Schäfer
|
||||
* University of Cooperative Education Stuttgart,
|
||||
* Campus Horb<br>
|
||||
* Department of Information Technology<br>
|
||||
* it2003<br></small>
|
||||
*/
|
||||
public class TestHybridWindow extends HybridWindow{
|
||||
|
||||
/**
|
||||
* Overwritten standard constructor.
|
||||
* Creates a TestUpHybridWindow with
|
||||
* TestParameterArea,SumUpLegendArea, TestDrawArea, TestTextArea,
|
||||
* TestAlgorithm and a LogElementList of TestLogElements.
|
||||
*/
|
||||
public TestHybridWindow() {
|
||||
super();
|
||||
logList=new LogElementList<TestLogElement>();
|
||||
parameterArea=new TestParameterArea();
|
||||
drawArea=new TestDrawArea(logList,"visualization");
|
||||
textArea=new TestTextArea(logList);
|
||||
legendArea=new TestLegendArea();
|
||||
algorithm=new TestAlgorithm((TestParameterArea)parameterArea);
|
||||
|
||||
// This is a small show case on how to add additional components to a hybrid window's tabbed pane.
|
||||
// An empty JPanel will be added to the tabbed pane for demonstrational purposes only.
|
||||
JPanel dummyPanel=new JPanel();
|
||||
addNewComponent("Dummy component", dummyPanel);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,224 @@
|
||||
package testApplication;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Graphics;
|
||||
import java.util.Vector;
|
||||
|
||||
import visualization.DrawArea;
|
||||
import visualizationElements.BarChart;
|
||||
import visualizationElements.BarChartElement;
|
||||
import visualizationElements.ChessBoard;
|
||||
import visualizationElements.DotChart;
|
||||
import visualizationElements.Edge;
|
||||
import visualizationElements.EdgeStyle;
|
||||
import visualizationElements.Graph;
|
||||
import visualizationElements.Hashtable;
|
||||
import visualizationElements.List;
|
||||
import visualizationElements.Maze;
|
||||
import visualizationElements.Queue;
|
||||
import visualizationElements.Stack;
|
||||
import visualizationElements.Table;
|
||||
import visualizationElements.Vertex;
|
||||
|
||||
import logging.LogElementList;
|
||||
|
||||
/**
|
||||
* This class provides an example for using visualization.DrawArea.
|
||||
* @see logging.Algorithm
|
||||
@author MSchäfer
|
||||
* DHBW Stuttgart/Campus Horb AI2008<br>
|
||||
* <br>
|
||||
*/
|
||||
public class TestDrawArea extends DrawArea{
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private Maze maze;
|
||||
|
||||
/**
|
||||
* Standard constructor.
|
||||
*/
|
||||
public TestDrawArea() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a test draw area and sets the specified log list.
|
||||
* @param logList the draw area's log list test log elements.
|
||||
* @param drawAreaName The display name over the draw area.
|
||||
*/
|
||||
public TestDrawArea(LogElementList<TestLogElement> logList, String drawAreaName){
|
||||
super(logList, drawAreaName);
|
||||
|
||||
this.maze = new Maze(10, 10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Draws a visualization element.
|
||||
*/
|
||||
public void draw(Graphics g){
|
||||
|
||||
//drawBarChart(g);
|
||||
|
||||
//drawDotChart(g);
|
||||
|
||||
//drawTable(g);
|
||||
|
||||
//drawChessBoard(g);
|
||||
|
||||
//drawHashtable(g);
|
||||
|
||||
//drawList(g);
|
||||
|
||||
drawQueue(g);
|
||||
|
||||
//drawStack(g);
|
||||
|
||||
//drawMaze(g, maze);
|
||||
|
||||
//drawGraph(g);
|
||||
}
|
||||
|
||||
private void drawGraph(Graphics g) {
|
||||
|
||||
// create/add vertexes
|
||||
Vector<Vertex> vertexes = new Vector<Vertex>();
|
||||
|
||||
vertexes.add(new Vertex(20, 20, "1", Color.BLACK));
|
||||
vertexes.add(new Vertex(80, 20, "2", Color.BLACK));
|
||||
vertexes.add(new Vertex(100, 80, "3", Color.BLACK));
|
||||
vertexes.add(new Vertex(180, 60, "4", Color.BLUE));
|
||||
vertexes.add(new Vertex(20, 80, "5", Color.BLACK));
|
||||
vertexes.add(new Vertex(120, 140, "6", Color.BLACK));
|
||||
vertexes.add(new Vertex(20, 180, "7", Color.BLACK));
|
||||
|
||||
|
||||
// create/add edges
|
||||
Vector<Edge> edges = new Vector<Edge>();
|
||||
|
||||
edges.add(new Edge(vertexes.get(0), vertexes.get(1), "1", Color.WHITE));
|
||||
edges.add(new Edge(vertexes.get(1), vertexes.get(4), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(0), vertexes.get(4), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(2), vertexes.get(3), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(3), vertexes.get(2), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(4), vertexes.get(6), "1", Color.BLACK));
|
||||
edges.add(new Edge(vertexes.get(6), vertexes.get(6), "1", Color.BLACK));
|
||||
|
||||
|
||||
// create graph
|
||||
Graph graph = new Graph(vertexes, edges, false, EdgeStyle.Direct);
|
||||
|
||||
graph.draw(g);
|
||||
}
|
||||
|
||||
private void drawDotChart(Graphics g) {
|
||||
Vector<Integer> valueList = new Vector<Integer>();
|
||||
for(int i = 0; i< 2*logList.size(); i++){
|
||||
valueList.add(i);
|
||||
}
|
||||
|
||||
DotChart dotChart = new DotChart(valueList, this.getHeight(), this.getWidth());
|
||||
dotChart.draw(g);
|
||||
}
|
||||
|
||||
private void drawMaze(Graphics g, Maze maze) {
|
||||
maze.draw(g);
|
||||
}
|
||||
|
||||
private void drawStack(Graphics g) {
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
Stack stack = new Stack(values) ;
|
||||
stack.draw(g);
|
||||
}
|
||||
|
||||
private void drawQueue(Graphics g) {
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
Queue queue = new Queue(values);
|
||||
queue.draw(g);
|
||||
|
||||
}
|
||||
|
||||
private void drawList(Graphics g) {
|
||||
|
||||
Vector<Long> values = new Vector<Long>();
|
||||
for(int i = 0; i<logList.size(); i++){
|
||||
values.add(((TestLogElement) logList.get(i)).getValue());
|
||||
}
|
||||
|
||||
List list = new List(values);
|
||||
list.draw(g);
|
||||
}
|
||||
|
||||
private void drawHashtable(Graphics g) {
|
||||
String[][] array = new String[10][2];
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][0] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][1] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
Hashtable table = new Hashtable(array);
|
||||
table.draw(g);
|
||||
}
|
||||
|
||||
private void drawChessBoard(Graphics g) {
|
||||
boolean[][] board = new boolean[8][8];
|
||||
board[0][0]= true;
|
||||
board[0][1]= true;
|
||||
ChessBoard chessBoard = new ChessBoard(board, this.getWidth(), this.getHeight(), "D");
|
||||
chessBoard.draw(g);
|
||||
}
|
||||
|
||||
private void drawTable(Graphics g) {
|
||||
String[][] array = new String[10][2];
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][0] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement element = (TestLogElement) logList.get(i);
|
||||
|
||||
array[i][1] = String.valueOf(element.getValue());
|
||||
}
|
||||
|
||||
String[] captions = new String[2];
|
||||
captions[0] = "Caption 1";
|
||||
captions[1] = "Caption 2";
|
||||
Table table = new Table(array, captions, 0, 0);
|
||||
table.draw(g);
|
||||
}
|
||||
|
||||
private void drawBarChart(Graphics g) {
|
||||
Vector<BarChartElement> valueList = new Vector<BarChartElement>();
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement logElement = (TestLogElement) logList.get(i);
|
||||
BarChartElement barChartElement = new BarChartElement((int) logElement.getValue(), Color.BLUE);
|
||||
valueList.add(barChartElement);
|
||||
}
|
||||
|
||||
for(int i = 0; i< logList.size(); i++){
|
||||
TestLogElement logElement = (TestLogElement) logList.get(i);
|
||||
BarChartElement barChartElement = new BarChartElement((int) logElement.getValue(), Color.RED);
|
||||
valueList.add(barChartElement);
|
||||
}
|
||||
BarChart barChart = new BarChart(valueList, this.getWidth(), this.getHeight());
|
||||
barChart.draw(g);
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,440 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:08:56 CET 2011 -->
|
||||
<TITLE>
|
||||
SumUpTextArea
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="SumUpTextArea";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SumUpTextArea.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../sumUp/SumUpParameterArea.html" title="class in sumUp"><B>PREV CLASS</B></A>
|
||||
NEXT CLASS</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?sumUp/SumUpTextArea.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="SumUpTextArea.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: <A HREF="#nested_classes_inherited_from_class_javax.swing.text.JTextComponent">NESTED</A> | <A HREF="#fields_inherited_from_class_javax.swing.text.JTextComponent">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<H2>
|
||||
<FONT SIZE="-1">
|
||||
sumUp</FONT>
|
||||
<BR>
|
||||
Class SumUpTextArea</H2>
|
||||
<PRE>
|
||||
java.lang.Object
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">java.awt.Component
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">java.awt.Container
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">javax.swing.JComponent
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">javax.swing.text.JTextComponent
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by ">javax.swing.JTextArea
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><A HREF="../visualization/TextArea.html" title="class in visualization">visualization.TextArea</A>
|
||||
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>sumUp.SumUpTextArea</B>
|
||||
</PRE>
|
||||
<DL>
|
||||
<DT><B>All Implemented Interfaces:</B> <DD>java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.Scrollable</DD>
|
||||
</DL>
|
||||
<HR>
|
||||
<DL>
|
||||
<DT><PRE>public class <B>SumUpTextArea</B><DT>extends <A HREF="../visualization/TextArea.html" title="class in visualization">TextArea</A></DL>
|
||||
</PRE>
|
||||
|
||||
<P>
|
||||
This class provides an example for using visualization.TextArea.
|
||||
Constructors and print() method have been overwritten.
|
||||
<P>
|
||||
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Author:</B></DT>
|
||||
<DD>Björn Strobel<br><small>
|
||||
University of Cooperative Education Stuttgart,
|
||||
Campus Horb<br>
|
||||
Department of Information Technology<br>
|
||||
it2003<br></small></DD>
|
||||
<DT><B>See Also:</B><DD><A HREF="../visualization/TextArea.html" title="class in visualization"><CODE>TextArea</CODE></A>,
|
||||
<A HREF="../serialized-form.html#sumUp.SumUpTextArea">Serialized Form</A></DL>
|
||||
<HR>
|
||||
|
||||
<P>
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
|
||||
<A NAME="nested_class_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Nested Class Summary</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="nested_classes_inherited_from_class_javax.swing.text.JTextComponent"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class javax.swing.text.JTextComponent</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>javax.swing.text.JTextComponent.AccessibleJTextComponent, javax.swing.text.JTextComponent.DropLocation, javax.swing.text.JTextComponent.KeyBinding</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="nested_classes_inherited_from_class_javax.swing.JComponent"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class javax.swing.JComponent</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>javax.swing.JComponent.AccessibleJComponent</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="nested_classes_inherited_from_class_java.awt.Component"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Component</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>java.awt.Component.BaselineResizeBehavior</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
|
||||
<A NAME="field_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Field Summary</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="fields_inherited_from_class_javax.swing.text.JTextComponent"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Fields inherited from class javax.swing.text.JTextComponent</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>DEFAULT_KEYMAP, FOCUS_ACCELERATOR_KEY</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="fields_inherited_from_class_javax.swing.JComponent"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Fields inherited from class javax.swing.JComponent</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="fields_inherited_from_class_java.awt.Component"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Fields inherited from class java.awt.Component</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="fields_inherited_from_class_java.awt.image.ImageObserver"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Fields inherited from interface java.awt.image.ImageObserver</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
|
||||
<A NAME="constructor_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Constructor Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../sumUp/SumUpTextArea.html#SumUpTextArea()">SumUpTextArea</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Standard constructor.</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><B><A HREF="../sumUp/SumUpTextArea.html#SumUpTextArea(logging.LogElementList)">SumUpTextArea</A></B>(<A HREF="../logging/LogElementList.html" title="class in logging">LogElementList</A><<A HREF="../sumUp/SumUpLogElement.html" title="class in sumUp">SumUpLogElement</A>> logList)</CODE>
|
||||
|
||||
<BR>
|
||||
Extended constructor.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
|
||||
<A NAME="method_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||||
<B>Method Summary</B></FONT></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> boolean</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="../sumUp/SumUpTextArea.html#print()">print</A></B>()</CODE>
|
||||
|
||||
<BR>
|
||||
Textual output of a log element.</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_visualization.TextArea"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class visualization.<A HREF="../visualization/TextArea.html" title="class in visualization">TextArea</A></B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE><A HREF="../visualization/TextArea.html#clear()">clear</A>, <A HREF="../visualization/TextArea.html#getScrollPane()">getScrollPane</A>, <A HREF="../visualization/TextArea.html#printStep()">printStep</A>, <A HREF="../visualization/TextArea.html#setLogList(logging.LogElementList)">setLogList</A></CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_javax.swing.JTextArea"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class javax.swing.JTextArea</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>append, getAccessibleContext, getColumns, getLineCount, getLineEndOffset, getLineOfOffset, getLineStartOffset, getLineWrap, getPreferredScrollableViewportSize, getPreferredSize, getRows, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getTabSize, getUIClassID, getWrapStyleWord, insert, replaceRange, setColumns, setFont, setLineWrap, setRows, setTabSize, setWrapStyleWord</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_javax.swing.text.JTextComponent"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class javax.swing.text.JTextComponent</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>addCaretListener, addInputMethodListener, addKeymap, copy, cut, getActions, getCaret, getCaretColor, getCaretListeners, getCaretPosition, getDisabledTextColor, getDocument, getDragEnabled, getDropLocation, getDropMode, getFocusAccelerator, getHighlighter, getInputMethodRequests, getKeymap, getKeymap, getMargin, getNavigationFilter, getPrintable, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getSelectedText, getSelectedTextColor, getSelectionColor, getSelectionEnd, getSelectionStart, getText, getText, getToolTipText, getUI, isEditable, loadKeymap, modelToView, moveCaretPosition, paste, print, print, read, removeCaretListener, removeKeymap, removeNotify, replaceSelection, select, selectAll, setCaret, setCaretColor, setCaretPosition, setComponentOrientation, setDisabledTextColor, setDocument, setDragEnabled, setDropMode, setEditable, setFocusAccelerator, setHighlighter, setKeymap, setMargin, setNavigationFilter, setSelectedTextColor, setSelectionColor, setSelectionEnd, setSelectionStart, setText, setUI, updateUI, viewToModel, write</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_javax.swing.JComponent"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class javax.swing.JComponent</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.awt.Container</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.awt.Component</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<P>
|
||||
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
|
||||
<A NAME="constructor_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Constructor Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="SumUpTextArea()"><!-- --></A><H3>
|
||||
SumUpTextArea</H3>
|
||||
<PRE>
|
||||
public <B>SumUpTextArea</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Standard constructor.
|
||||
<P>
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
<A NAME="SumUpTextArea(logging.LogElementList)"><!-- --></A><H3>
|
||||
SumUpTextArea</H3>
|
||||
<PRE>
|
||||
public <B>SumUpTextArea</B>(<A HREF="../logging/LogElementList.html" title="class in logging">LogElementList</A><<A HREF="../sumUp/SumUpLogElement.html" title="class in sumUp">SumUpLogElement</A>> logList)</PRE>
|
||||
<DL>
|
||||
<DD>Extended constructor.
|
||||
Sets LogElementList of SumUpLogElements as log list.
|
||||
<P>
|
||||
<DL>
|
||||
<DT><B>Parameters:</B><DD><CODE>logList</CODE> - the text area's log element list.</DL>
|
||||
</DL>
|
||||
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
|
||||
<A NAME="method_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||||
<B>Method Detail</B></FONT></TH>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="print()"><!-- --></A><H3>
|
||||
print</H3>
|
||||
<PRE>
|
||||
public boolean <B>print</B>()</PRE>
|
||||
<DL>
|
||||
<DD>Textual output of a log element.
|
||||
Outputting step number, description and sum up value.
|
||||
<P>
|
||||
<DD><DL>
|
||||
<DT><B>Overrides:</B><DD><CODE><A HREF="../visualization/TextArea.html#print()">print</A></CODE> in class <CODE><A HREF="../visualization/TextArea.html" title="class in visualization">TextArea</A></CODE></DL>
|
||||
</DD>
|
||||
<DD><DL>
|
||||
</DL>
|
||||
</DD>
|
||||
</DL>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SumUpTextArea.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../sumUp/SumUpParameterArea.html" title="class in sumUp"><B>PREV CLASS</B></A>
|
||||
NEXT CLASS</FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?sumUp/SumUpTextArea.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="SumUpTextArea.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
SUMMARY: <A HREF="#nested_classes_inherited_from_class_javax.swing.text.JTextComponent">NESTED</A> | <A HREF="#fields_inherited_from_class_javax.swing.text.JTextComponent">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1 @@
|
||||
<body>Provides all classes to visualize algorithms, and abstract data types with predefined visualization elements.</body>
|
@ -0,0 +1,177 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:09:00 CET 2011 -->
|
||||
<TITLE>
|
||||
visualization Class Hierarchy
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="visualization Class Hierarchy";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../TestApplication/package-tree.html"><B>PREV</B></A>
|
||||
<A HREF="../visualizationElements/package-tree.html"><B>NEXT</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?visualization/package-tree.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<HR>
|
||||
<CENTER>
|
||||
<H2>
|
||||
Hierarchy For Package visualization
|
||||
</H2>
|
||||
</CENTER>
|
||||
<DL>
|
||||
<DT><B>Package Hierarchies:</B><DD><A HREF="../overview-tree.html">All Packages</A></DL>
|
||||
<HR>
|
||||
<H2>
|
||||
Class Hierarchy
|
||||
</H2>
|
||||
<UL>
|
||||
<LI TYPE="circle">java.lang.Object<UL>
|
||||
<LI TYPE="circle">java.awt.Component (implements java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable)
|
||||
<UL>
|
||||
<LI TYPE="circle">java.awt.Container<UL>
|
||||
<LI TYPE="circle">javax.swing.JComponent (implements java.io.Serializable)
|
||||
<UL>
|
||||
<LI TYPE="circle">javax.swing.JPanel (implements javax.accessibility.Accessible)
|
||||
<UL>
|
||||
<LI TYPE="circle">visualization.<A HREF="../visualization/DrawArea.html" title="class in visualization"><B>DrawArea</B></A><LOG><LI TYPE="circle">visualization.<A HREF="../visualization/LegendArea.html" title="class in visualization"><B>LegendArea</B></A><LI TYPE="circle">visualization.<A HREF="../visualization/ParameterArea.html" title="class in visualization"><B>ParameterArea</B></A></UL>
|
||||
<LI TYPE="circle">javax.swing.text.JTextComponent (implements javax.accessibility.Accessible, javax.swing.Scrollable)
|
||||
<UL>
|
||||
<LI TYPE="circle">javax.swing.JTextArea<UL>
|
||||
<LI TYPE="circle">visualization.<A HREF="../visualization/TextArea.html" title="class in visualization"><B>TextArea</B></A><LOG></UL>
|
||||
</UL>
|
||||
</UL>
|
||||
<LI TYPE="circle">java.awt.Panel (implements javax.accessibility.Accessible)
|
||||
<UL>
|
||||
<LI TYPE="circle">java.applet.Applet<UL>
|
||||
<LI TYPE="circle">javax.swing.JApplet (implements javax.accessibility.Accessible, javax.swing.RootPaneContainer)
|
||||
<UL>
|
||||
<LI TYPE="circle">visualization.<A HREF="../visualization/HybridWindow.html" title="class in visualization"><B>HybridWindow</B></A><DRAW,TEXT,PARAM,ALGORITHM,LOG,LEGEND></UL>
|
||||
</UL>
|
||||
</UL>
|
||||
</UL>
|
||||
</UL>
|
||||
</UL>
|
||||
</UL>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../TestApplication/package-tree.html"><B>PREV</B></A>
|
||||
<A HREF="../visualizationElements/package-tree.html"><B>NEXT</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?visualization/package-tree.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,169 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:09:00 CET 2011 -->
|
||||
<TITLE>
|
||||
I-Index
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="I-Index";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index-8.html"><B>PREV LETTER</B></A>
|
||||
<A HREF="index-10.html"><B>NEXT LETTER</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?index-filesindex-9.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="index-9.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">H</A> <A HREF="index-9.html">I</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">V</A> <HR>
|
||||
<A NAME="_I_"><!-- --></A><H2>
|
||||
<B>I</B></H2>
|
||||
<DL>
|
||||
<DT><A HREF="../visualization/HybridWindow.html#init()"><B>init()</B></A> -
|
||||
Method in class visualization.<A HREF="../visualization/HybridWindow.html" title="class in visualization">HybridWindow</A>
|
||||
<DD>Applet's initial phase.
|
||||
<DT><A HREF="../sumUp/SumUpLegendArea.html#initialize(java.awt.Graphics)"><B>initialize(Graphics)</B></A> -
|
||||
Method in class sumUp.<A HREF="../sumUp/SumUpLegendArea.html" title="class in sumUp">SumUpLegendArea</A>
|
||||
<DD>Overridden method from super class.
|
||||
<DT><A HREF="../TestApplication/TestLegendArea.html#initialize(java.awt.Graphics)"><B>initialize(Graphics)</B></A> -
|
||||
Method in class TestApplication.<A HREF="../TestApplication/TestLegendArea.html" title="class in TestApplication">TestLegendArea</A>
|
||||
<DD>Overridden method from super class.
|
||||
<DT><A HREF="../visualization/LegendArea.html#initialize(java.awt.Graphics)"><B>initialize(Graphics)</B></A> -
|
||||
Method in class visualization.<A HREF="../visualization/LegendArea.html" title="class in visualization">LegendArea</A>
|
||||
<DD>Method that is responsible for drawing all elements and descriptions of the LegendArea.
|
||||
<DT><A HREF="../visualizationElements/Graph.html#isDirected()"><B>isDirected()</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Graph.html" title="class in visualizationElements">Graph</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Cell.html#isGoal()"><B>isGoal()</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Cell.html" title="class in visualizationElements">Cell</A>
|
||||
<DD>Returns whether the cell is the goal of the maze it contains to.
|
||||
<DT><A HREF="../logging/LogElementList.html#isInitialized()"><B>isInitialized()</B></A> -
|
||||
Method in class logging.<A HREF="../logging/LogElementList.html" title="class in logging">LogElementList</A>
|
||||
<DD>Returns wether the log element list is initialized or not.
|
||||
<DT><A HREF="../visualizationElements/Cell.html#isStart()"><B>isStart()</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Cell.html" title="class in visualizationElements">Cell</A>
|
||||
<DD>Returns whether the cell is the start of the maze it contains to.
|
||||
<DT><A HREF="../visualizationElements/Cell.html#isVisited()"><B>isVisited()</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Cell.html" title="class in visualizationElements">Cell</A>
|
||||
<DD>Returns whether the cell was visited or not.
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index-8.html"><B>PREV LETTER</B></A>
|
||||
<A HREF="index-10.html"><B>NEXT LETTER</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?index-filesindex-9.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="index-9.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">H</A> <A HREF="index-9.html">I</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">V</A> <HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,226 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 19:09:00 CET 2011 -->
|
||||
<TITLE>
|
||||
D-Index
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
||||
|
||||
<SCRIPT type="text/javascript">
|
||||
function windowTitle()
|
||||
{
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="D-Index";
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
</NOSCRIPT>
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<A NAME="navbar_top"><!-- --></A>
|
||||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index-3.html"><B>PREV LETTER</B></A>
|
||||
<A HREF="index-5.html"><B>NEXT LETTER</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?index-filesindex-4.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="index-4.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_top"></A>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
|
||||
<A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">H</A> <A HREF="index-9.html">I</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">V</A> <HR>
|
||||
<A NAME="_D_"><!-- --></A><H2>
|
||||
<B>D</B></H2>
|
||||
<DL>
|
||||
<DT><A HREF="../visualizationElements/DotChart.html" title="class in visualizationElements"><B>DotChart</B></A> - Class in <A HREF="../visualizationElements/package-summary.html">visualizationElements</A><DD>Represents a dot chart to visualize sort algorithms.<DT><A HREF="../visualizationElements/DotChart.html#DotChart(java.util.Vector, int, int)"><B>DotChart(Vector<Integer>, int, int)</B></A> -
|
||||
Constructor for class visualizationElements.<A HREF="../visualizationElements/DotChart.html" title="class in visualizationElements">DotChart</A>
|
||||
<DD>Creates a new dot chart.
|
||||
<DT><A HREF="../visualizationElements/DotChart.html#DotChart(int[], int, int)"><B>DotChart(int[], int, int)</B></A> -
|
||||
Constructor for class visualizationElements.<A HREF="../visualizationElements/DotChart.html" title="class in visualizationElements">DotChart</A>
|
||||
<DD>Creates a new dot chart.
|
||||
<DT><A HREF="../sumUp/SumUpDrawArea.html#draw(java.awt.Graphics)"><B>draw(Graphics)</B></A> -
|
||||
Method in class sumUp.<A HREF="../sumUp/SumUpDrawArea.html" title="class in sumUp">SumUpDrawArea</A>
|
||||
<DD>It outputs the step number, the description and the sum of the actual sum up log element.
|
||||
<DT><A HREF="../TestApplication/TestDrawArea.html#draw(java.awt.Graphics)"><B>draw(Graphics)</B></A> -
|
||||
Method in class TestApplication.<A HREF="../TestApplication/TestDrawArea.html" title="class in TestApplication">TestDrawArea</A>
|
||||
<DD>It outputs the step number, the description and the sum of the actual sum up log element.
|
||||
<DT><A HREF="../visualization/DrawArea.html#draw(java.awt.Graphics)"><B>draw(Graphics)</B></A> -
|
||||
Method in class visualization.<A HREF="../visualization/DrawArea.html" title="class in visualization">DrawArea</A>
|
||||
<DD>Draws the actual log element's graphical output.
|
||||
<DT><A HREF="../visualizationElements/BarChart.html#draw(java.awt.Graphics)"><B>draw(Graphics)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/BarChart.html" title="class in visualizationElements">BarChart</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/BarChartElement.html#draw(java.awt.Graphics, int, int, int, int)"><B>draw(Graphics, int, int, int, int)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/BarChartElement.html" title="class in visualizationElements">BarChartElement</A>
|
||||
<DD>Draws the BarChartElement
|
||||
<DT><A HREF="../visualizationElements/ChessBoard.html#draw(java.awt.Graphics)"><B>draw(Graphics)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/ChessBoard.html" title="class in visualizationElements">ChessBoard</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/DotChart.html#draw(java.awt.Graphics)"><B>draw(Graphics)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/DotChart.html" title="class in visualizationElements">DotChart</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Graph.html#draw(java.awt.Graphics)"><B>draw(Graphics)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Graph.html" title="class in visualizationElements">Graph</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/List.html#draw(java.awt.Graphics)"><B>draw(Graphics)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/List.html" title="class in visualizationElements">List</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Maze.html#draw(java.awt.Graphics)"><B>draw(Graphics)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Maze.html" title="class in visualizationElements">Maze</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Queue.html#draw(java.awt.Graphics)"><B>draw(Graphics)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Queue.html" title="class in visualizationElements">Queue</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Stack.html#draw(java.awt.Graphics)"><B>draw(Graphics)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Stack.html" title="class in visualizationElements">Stack</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Table.html#draw(java.awt.Graphics)"><B>draw(Graphics)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Table.html" title="class in visualizationElements">Table</A>
|
||||
<DD>
|
||||
<DT><A HREF="../visualizationElements/Vertex.html#draw(java.awt.Graphics)"><B>draw(Graphics)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Vertex.html" title="class in visualizationElements">Vertex</A>
|
||||
<DD>Draws the vertex.
|
||||
<DT><A HREF="../visualizationElements/VisualizationElement.html#draw(java.awt.Graphics)"><B>draw(Graphics)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/VisualizationElement.html" title="class in visualizationElements">VisualizationElement</A>
|
||||
<DD>Draws the visualization element.
|
||||
<DT><A HREF="../visualization/DrawArea.html" title="class in visualization"><B>DrawArea</B></A><<A HREF="../visualization/DrawArea.html" title="type parameter in DrawArea">LOG</A> extends <A HREF="../logging/LogElement.html" title="class in logging">LogElement</A>> - Class in <A HREF="../visualization/package-summary.html">visualization</A><DD>This class provides the basic draw area for a HybridWindow.<DT><A HREF="../visualization/DrawArea.html#DrawArea()"><B>DrawArea()</B></A> -
|
||||
Constructor for class visualization.<A HREF="../visualization/DrawArea.html" title="class in visualization">DrawArea</A>
|
||||
<DD>Standard constructor.
|
||||
<DT><A HREF="../visualization/DrawArea.html#DrawArea(logging.LogElementList, java.lang.String)"><B>DrawArea(LogElementList<LOG>, String)</B></A> -
|
||||
Constructor for class visualization.<A HREF="../visualization/DrawArea.html" title="class in visualization">DrawArea</A>
|
||||
<DD>Creates an empty draw area with scroll pane and sets the specified log list and tab name.
|
||||
<DT><A HREF="../visualizationElements/Edge.html#drawDirectedAngeledEdge(java.awt.Graphics)"><B>drawDirectedAngeledEdge(Graphics)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Edge.html" title="class in visualizationElements">Edge</A>
|
||||
<DD>Draws a directed edge directly from source vertex to destination vertex.
|
||||
<DT><A HREF="../visualizationElements/Edge.html#drawDirectedDirectEdge(java.awt.Graphics)"><B>drawDirectedDirectEdge(Graphics)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Edge.html" title="class in visualizationElements">Edge</A>
|
||||
<DD>Draws a directed edge directly from source vertex to destination vertex.
|
||||
<DT><A HREF="../visualizationElements/Edge.html#drawDirectedLoop(java.awt.Graphics)"><B>drawDirectedLoop(Graphics)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Edge.html" title="class in visualizationElements">Edge</A>
|
||||
<DD>Draws a directed loop.
|
||||
<DT><A HREF="../visualization/DrawArea.html#drawStep()"><B>drawStep()</B></A> -
|
||||
Method in class visualization.<A HREF="../visualization/DrawArea.html" title="class in visualization">DrawArea</A>
|
||||
<DD>Calls repaint().
|
||||
<DT><A HREF="../visualizationElements/Edge.html#drawUndirectedAngeledLoop(java.awt.Graphics)"><B>drawUndirectedAngeledLoop(Graphics)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Edge.html" title="class in visualizationElements">Edge</A>
|
||||
<DD>Draws an undirected angled loop.
|
||||
<DT><A HREF="../visualizationElements/Edge.html#drawUndirectedAngledEdge(java.awt.Graphics)"><B>drawUndirectedAngledEdge(Graphics)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Edge.html" title="class in visualizationElements">Edge</A>
|
||||
<DD>Draws an undirected angled edge from source vertex to destination vertex.
|
||||
<DT><A HREF="../visualizationElements/Edge.html#drawUndirectedDirectDoubleEdge(java.awt.Graphics)"><B>drawUndirectedDirectDoubleEdge(Graphics)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Edge.html" title="class in visualizationElements">Edge</A>
|
||||
<DD>Draws an undirected double edge directly from one vertex to another.
|
||||
<DT><A HREF="../visualizationElements/Edge.html#drawUndirectedDirectEdge(java.awt.Graphics)"><B>drawUndirectedDirectEdge(Graphics)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Edge.html" title="class in visualizationElements">Edge</A>
|
||||
<DD>Draws an undirected edge directly from one vertex to another.
|
||||
<DT><A HREF="../visualizationElements/Edge.html#drawUndirectedLoop(java.awt.Graphics)"><B>drawUndirectedLoop(Graphics)</B></A> -
|
||||
Method in class visualizationElements.<A HREF="../visualizationElements/Edge.html" title="class in visualizationElements">Edge</A>
|
||||
<DD>Draws an undirected loop.
|
||||
</DL>
|
||||
<HR>
|
||||
|
||||
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<A NAME="navbar_bottom"><!-- --></A>
|
||||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||||
<TR>
|
||||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||||
<TR ALIGN="center" VALIGN="top">
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD>
|
||||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</TD>
|
||||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||||
</EM>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="index-3.html"><B>PREV LETTER</B></A>
|
||||
<A HREF="index-5.html"><B>NEXT LETTER</B></A></FONT></TD>
|
||||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||||
<A HREF="../index.html?index-filesindex-4.html" target="_top"><B>FRAMES</B></A>
|
||||
<A HREF="index-4.html" target="_top"><B>NO FRAMES</B></A>
|
||||
<SCRIPT type="text/javascript">
|
||||
<!--
|
||||
if(window==top) {
|
||||
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
||||
}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<NOSCRIPT>
|
||||
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
||||
</NOSCRIPT>
|
||||
|
||||
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<A NAME="skip-navbar_bottom"></A>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
|
||||
<A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">H</A> <A HREF="index-9.html">I</A> <A HREF="index-10.html">L</A> <A HREF="index-11.html">M</A> <A HREF="index-12.html">N</A> <A HREF="index-13.html">P</A> <A HREF="index-14.html">Q</A> <A HREF="index-15.html">R</A> <A HREF="index-16.html">S</A> <A HREF="index-17.html">T</A> <A HREF="index-18.html">V</A> <HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
@ -0,0 +1,31 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<!-- Generated by javadoc (build 1.6.0_07) on Wed Jan 12 18:52:34 CET 2011 -->
|
||||
<TITLE>
|
||||
All Classes
|
||||
</TITLE>
|
||||
|
||||
<META NAME="date" CONTENT="2011-01-12">
|
||||
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||
|
||||
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="white">
|
||||
<FONT size="+1" CLASS="FrameHeadingFont">
|
||||
<B>All Classes</B></FONT>
|
||||
<BR>
|
||||
|
||||
<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
|
||||
<TR>
|
||||
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="TestApplication/TestHybridWindow.html" title="class in TestApplication" target="classFrame">TestHybridWindow</A>
|
||||
<BR>
|
||||
</FONT></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user