public abstract class OptionsView extends java.lang.Object implements WindowView, ActionDelegate
MultiViewWindow
.
Modifier and Type | Field and Description |
---|---|
protected SharedAction[] |
actions
Remembers the shared action components (optional).
|
protected java.awt.Component |
comp
The component that paints this view.
|
protected java.lang.String |
helpID
Help system ID from the application (must be delegated).
|
protected MultiViewWindow |
multiViewWindow
The parental multi view window for this window.
|
protected java.lang.String[] |
supportedActions
Array with supported shared actions.
|
protected java.lang.String |
viewTitle
The title of the view.
|
Constructor and Description |
---|
OptionsView()
Constructor method for i18n purposes only.
|
OptionsView(java.lang.String title)
Constructor for the GUI component.
|
Modifier and Type | Method and Description |
---|---|
ActionDelegate |
getActionDelegate()
Provides the optional action delegate responsible for shared buttons and menu items.
|
java.awt.Component |
getComponent()
Provides the component to be displayed by the multi view docking window.
|
abstract Configuration |
getConfiguration()
Provides the options as a whole.
|
MultiViewWindow |
getMultiViewWindow()
Provides the multi view docking window specified when
viewAdded() was called. |
java.lang.String[] |
getSupportedActions()
Provides the supported shared actions for this delegate.
|
java.lang.String |
getTitle()
Provides the title of the view used for display.
|
void |
setHelpID(java.lang.String helpid)
Sets the identifier for the context sensitive help (must be delegated).
|
void |
stopControl()
Provides the info that the control of the given shared actions must be stopped.
|
void |
viewAdded(MultiViewWindow parent,
java.lang.String id)
Informs the view that it was added to the multi view window.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessage, refresh, viewBecomesHidden, viewBecomesShown, viewIsHiding, viewIsShowing, viewRemoved
processAction, startControl
protected MultiViewWindow multiViewWindow
protected java.lang.String viewTitle
protected java.awt.Component comp
protected java.lang.String[] supportedActions
protected SharedAction[] actions
protected java.lang.String helpID
public OptionsView() throws java.lang.InstantiationException
I18NExtractor
).
java.lang.InstantiationException
- Error indicationpublic OptionsView(java.lang.String title)
title
- The title of the viewpublic java.lang.String getTitle()
getTitle
in interface WindowView
public java.awt.Component getComponent()
getComponent
in interface WindowView
public void viewAdded(MultiViewWindow parent, java.lang.String id)
viewAdded
in interface WindowView
parent
- The multi view docking windowid
- The unique IDpublic MultiViewWindow getMultiViewWindow()
viewAdded()
was called.
getMultiViewWindow
in interface WindowView
null
if not availablepublic ActionDelegate getActionDelegate()
getActionDelegate
in interface WindowView
null
if not availablepublic java.lang.String[] getSupportedActions()
getSupportedActions
in interface ActionDelegate
public void stopControl()
stopControl
in interface ActionDelegate
public void setHelpID(java.lang.String helpid)
helpid
- The help system linkpublic abstract Configuration getConfiguration()
Copyright © 2005-2013 Leisenfels UG (haftungsbeschränkt). All rights reserved.