Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jac.aspects.gui.web
Class Customized  view Customized download Customized.java

java.lang.Object
  extended byjac.aspects.gui.web.AbstractView
      extended byjac.aspects.gui.web.AbstractCompositeView
          extended byjac.aspects.gui.web.Customized
All Implemented Interfaces:
jac.aspects.gui.CompositeView, jac.aspects.gui.CustomizedView, HTMLViewer, jac.aspects.gui.View

public class Customized
extends AbstractCompositeView
implements jac.aspects.gui.CustomizedView, HTMLViewer


Field Summary
(package private)  jac.aspects.gui.MenuView bottomMenuBar
           
(package private)  jac.aspects.gui.CustomizedGUI customized
           
(package private)  jac.aspects.gui.MenuView leftMenuBar
           
(package private)  jac.aspects.gui.PanelView mainView
           
(package private)  java.util.Vector menuBars
           
(package private)  jac.aspects.gui.MenuView rightMenuBar
           
(package private)  jac.aspects.gui.StatusView statusBar
           
(package private)  jac.aspects.gui.MenuView toolBar
           
(package private)  jac.aspects.gui.MenuView topMenuBar
           
 
Fields inherited from class jac.aspects.gui.web.AbstractCompositeView
components
 
Fields inherited from class jac.aspects.gui.web.AbstractView
closed, column, context, description, factory, height, isCellViewer, javascript, label, message, parameters, parentView, row, style, styleSheet, table, type, viewBorder, width
 
Constructor Summary
Customized(jac.aspects.gui.ViewFactory factory, jac.aspects.gui.DisplayContext context, jac.aspects.gui.CustomizedGUI customized, java.util.Map panels)
          Builds a customized view.
 
Method Summary
 void addView(jac.aspects.gui.View view)
          Adds a component view in the composite.
 void addView(jac.aspects.gui.View view, java.lang.Object extraInfos)
          Adds a component view in the composite.
 void close()
          This method is called by the system when the view is closed.
protected  void genBody(java.io.PrintWriter out)
          Override this method to generate the body of an HTML page.
 void genHTML(java.io.PrintWriter out)
          Generate the HTML code for the editor.
 jac.aspects.gui.MenuView getBottomMenuBar()
           
 jac.aspects.gui.CustomizedGUI getCustomizedGUI()
          Returns the customized GUI, i.e.
 jac.aspects.gui.MenuView getLeftMenuBar()
           
 jac.aspects.gui.PanelView getPanelView()
          Returns the content pane of the customized, i.e.
 jac.aspects.gui.MenuView getRightMenuBar()
           
 jac.aspects.gui.MenuView getTopMenuBar()
           
 jac.aspects.gui.View getView(java.lang.Object id)
          Gets a component view from an id object.
 java.util.Collection getViews()
          Gets all the component views in this composite.
 void removeAllViews()
          Removes all the views in this composite.
 void requestFocus()
           
 void setContext(jac.aspects.gui.DisplayContext context)
           
 void setMenuBar(jac.aspects.gui.MenuView menuBar, java.lang.String position)
          Set a menu bar to the customized.
 void setStatusBar(jac.aspects.gui.StatusView statusBar, java.lang.String position)
          Set a status bar to the customized.
 void setToolBar(jac.aspects.gui.MenuView toolBar)
          Set a tool bar to the customized.
 void showStatus(java.lang.String message)
          Show a message on the customized's status bar.
 
Methods inherited from class jac.aspects.gui.web.AbstractCompositeView
add, addHorizontalStrut, addVerticalStrut, genDescription, genMessage, removeView
 
Methods inherited from class jac.aspects.gui.web.AbstractView
equals, eventURL, eventURL, genPage, getCloseBorder, getContext, getDescription, getFactory, getId, getId, getLabel, getMessage, getOpenBorder, getParameters, getParentView, getRootView, getStyle, getType, getViewBorder, iconElement, iconElement, isClosed, isInForm, setColumn, setDescription, setFactory, setFocus, setHeight, setLabel, setMessage, setParameters, setParentView, setRow, setStyle, setStyleSheet, setTable, setType, setViewBorder, setWidth, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jac.aspects.gui.CompositeView
addHorizontalStrut, addVerticalStrut, removeView
 
Methods inherited from interface jac.aspects.gui.View
getParentView, getSubstance, refreshView, refreshViewItem, setFocus
 
Methods inherited from interface jac.aspects.gui.web.HTMLViewer
setStyleSheet
 

Field Detail

customized

jac.aspects.gui.CustomizedGUI customized

mainView

jac.aspects.gui.PanelView mainView

menuBars

java.util.Vector menuBars

topMenuBar

jac.aspects.gui.MenuView topMenuBar

bottomMenuBar

jac.aspects.gui.MenuView bottomMenuBar

leftMenuBar

jac.aspects.gui.MenuView leftMenuBar

rightMenuBar

jac.aspects.gui.MenuView rightMenuBar

toolBar

jac.aspects.gui.MenuView toolBar

statusBar

jac.aspects.gui.StatusView statusBar
Constructor Detail

Customized

public Customized(jac.aspects.gui.ViewFactory factory,
                  jac.aspects.gui.DisplayContext context,
                  jac.aspects.gui.CustomizedGUI customized,
                  java.util.Map panels)
Builds a customized view.

Method Detail

close

public void close()
Description copied from interface: jac.aspects.gui.View
This method is called by the system when the view is closed.

Specified by:
close in interface jac.aspects.gui.View
Overrides:
close in class AbstractCompositeView

setContext

public void setContext(jac.aspects.gui.DisplayContext context)
Overrides:
setContext in class AbstractCompositeView

addView

public void addView(jac.aspects.gui.View view,
                    java.lang.Object extraInfos)
Description copied from interface: jac.aspects.gui.CompositeView
Adds a component view in the composite.

Specified by:
addView in interface jac.aspects.gui.CompositeView
Overrides:
addView in class AbstractCompositeView

addView

public void addView(jac.aspects.gui.View view)
Description copied from interface: jac.aspects.gui.CompositeView
Adds a component view in the composite.

Specified by:
addView in interface jac.aspects.gui.CompositeView
Overrides:
addView in class AbstractCompositeView

getViews

public java.util.Collection getViews()
Description copied from interface: jac.aspects.gui.CompositeView
Gets all the component views in this composite.

Specified by:
getViews in interface jac.aspects.gui.CompositeView
Overrides:
getViews in class AbstractCompositeView

getView

public jac.aspects.gui.View getView(java.lang.Object id)
Description copied from interface: jac.aspects.gui.CompositeView
Gets a component view from an id object.

Specified by:
getView in interface jac.aspects.gui.CompositeView
Overrides:
getView in class AbstractCompositeView

removeAllViews

public void removeAllViews()
Description copied from interface: jac.aspects.gui.CompositeView
Removes all the views in this composite.

Specified by:
removeAllViews in interface jac.aspects.gui.CompositeView
Overrides:
removeAllViews in class AbstractCompositeView

getCustomizedGUI

public jac.aspects.gui.CustomizedGUI getCustomizedGUI()
Description copied from interface: jac.aspects.gui.CustomizedView
Returns the customized GUI, i.e. the object that contains all the parametrization of this view as built by the GUI aspect.

Specified by:
getCustomizedGUI in interface jac.aspects.gui.CustomizedView

setMenuBar

public void setMenuBar(jac.aspects.gui.MenuView menuBar,
                       java.lang.String position)
Description copied from interface: jac.aspects.gui.CustomizedView
Set a menu bar to the customized.

Specified by:
setMenuBar in interface jac.aspects.gui.CustomizedView

getTopMenuBar

public jac.aspects.gui.MenuView getTopMenuBar()

getBottomMenuBar

public jac.aspects.gui.MenuView getBottomMenuBar()

getLeftMenuBar

public jac.aspects.gui.MenuView getLeftMenuBar()

getRightMenuBar

public jac.aspects.gui.MenuView getRightMenuBar()

setToolBar

public void setToolBar(jac.aspects.gui.MenuView toolBar)
Description copied from interface: jac.aspects.gui.CustomizedView
Set a tool bar to the customized.

Specified by:
setToolBar in interface jac.aspects.gui.CustomizedView

setStatusBar

public void setStatusBar(jac.aspects.gui.StatusView statusBar,
                         java.lang.String position)
Description copied from interface: jac.aspects.gui.CustomizedView
Set a status bar to the customized.

Specified by:
setStatusBar in interface jac.aspects.gui.CustomizedView

showStatus

public void showStatus(java.lang.String message)
Description copied from interface: jac.aspects.gui.CustomizedView
Show a message on the customized's status bar.

Specified by:
showStatus in interface jac.aspects.gui.CustomizedView

getPanelView

public jac.aspects.gui.PanelView getPanelView()
Description copied from interface: jac.aspects.gui.CustomizedView
Returns the content pane of the customized, i.e. a panel containing some sub-panels.

Specified by:
getPanelView in interface jac.aspects.gui.CustomizedView

requestFocus

public void requestFocus()
Specified by:
requestFocus in interface jac.aspects.gui.CustomizedView

genHTML

public void genHTML(java.io.PrintWriter out)
             throws java.io.IOException
Description copied from interface: HTMLViewer
Generate the HTML code for the editor.

Specified by:
genHTML in interface HTMLViewer
Overrides:
genHTML in class AbstractCompositeView

genBody

protected void genBody(java.io.PrintWriter out)
                throws java.io.IOException
Description copied from class: AbstractView
Override this method to generate the body of an HTML page.

Overrides:
genBody in class AbstractView