ConForM.CoopnTools.CoKer.TextVisual
Class TextualDoc

java.lang.Object
  |
  +--ConForM.CoopnTools.CoKer.TextVisual.TextualDoc

public class TextualDoc
extends java.lang.Object

A Textual Visual Document represents a model for an HTML document. A Textual Document has all information needed by Textual Visual to work.


Constructor Summary
TextualDoc(java.lang.String title, java.lang.String startPage, javax.swing.JMenuItem[] specificFileMenu, javax.swing.JMenuItem[] specificEditMenu, javax.swing.JMenuItem[] specificHelpMenu, javax.swing.JMenu[] specificMenu)
           
TextualDoc(java.lang.String title, java.lang.String startPage, java.lang.String tableofcontents, javax.swing.JMenuItem[] specificFileMenu, javax.swing.JMenuItem[] specificEditMenu, javax.swing.JMenuItem[] specificHelpMenu, javax.swing.JMenu[] specificMenu)
           
TextualDoc(java.lang.String title, java.lang.String startPage, java.lang.String toc2, java.lang.String toc1, javax.swing.JMenuItem[] specificFileMenu, javax.swing.JMenuItem[] specificEditMenu, javax.swing.JMenuItem[] specificHelpMenu, javax.swing.JMenu[] specificMenu)
           
 
Method Summary
 int frames()
           
 java.lang.String getPage(int i)
           
 javax.swing.JMenuItem[] specificEditMenu()
          Get the specific edit menu.
 javax.swing.JMenuItem[] specificFileMenu()
          Get the specific file menu.
 javax.swing.JMenuItem[] specificHelpMenu()
          Get the specific help menu.
 javax.swing.JMenu[] specificMenu()
          Get the specific menus.
 javax.swing.KeyStroke specificTextualAcceleratorKey()
          Specific menu item accelerator.
 java.lang.String title()
          Get the title of the document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextualDoc

public TextualDoc(java.lang.String title,
                  java.lang.String startPage,
                  javax.swing.JMenuItem[] specificFileMenu,
                  javax.swing.JMenuItem[] specificEditMenu,
                  javax.swing.JMenuItem[] specificHelpMenu,
                  javax.swing.JMenu[] specificMenu)

TextualDoc

public TextualDoc(java.lang.String title,
                  java.lang.String startPage,
                  java.lang.String tableofcontents,
                  javax.swing.JMenuItem[] specificFileMenu,
                  javax.swing.JMenuItem[] specificEditMenu,
                  javax.swing.JMenuItem[] specificHelpMenu,
                  javax.swing.JMenu[] specificMenu)

TextualDoc

public TextualDoc(java.lang.String title,
                  java.lang.String startPage,
                  java.lang.String toc2,
                  java.lang.String toc1,
                  javax.swing.JMenuItem[] specificFileMenu,
                  javax.swing.JMenuItem[] specificEditMenu,
                  javax.swing.JMenuItem[] specificHelpMenu,
                  javax.swing.JMenu[] specificMenu)
Method Detail

title

public java.lang.String title()
Get the title of the document.

specificTextualAcceleratorKey

public final javax.swing.KeyStroke specificTextualAcceleratorKey()
Specific menu item accelerator. The specific menu items of the picture should not define keyboard accelerators, to prevent conflicts with the TextualVisual accelerators. The exception is the keystroke returned by this method, free to be used by the document as an accelerator.

specificFileMenu

public javax.swing.JMenuItem[] specificFileMenu()
Get the specific file menu.
Returns:
the specific file menu. Any element of the interface TextualVisualEditoredMenuItem has its editor set by the editor associated to this renderable.

specificEditMenu

public javax.swing.JMenuItem[] specificEditMenu()
Get the specific edit menu.
Returns:
the specific edit menu. Any element of the interface TextualVisualEditoredMenuItem has its editor set by the editor associated to this renderable.

specificHelpMenu

public javax.swing.JMenuItem[] specificHelpMenu()
Get the specific help menu.
Returns:
the specific help menu. Any element of the interface TextualVisualEditoredMenuItem has its editor set by the editor associated to this renderable.

specificMenu

public javax.swing.JMenu[] specificMenu()
Get the specific menus.
Returns:
the specific menus. Any element of the interface TextualVisualEditoredItem has its editor set by the editor associated to this renderable.

getPage

public java.lang.String getPage(int i)

frames

public int frames()