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

Quick Search    Search Deep

com.eireneh.bible.view.office
Class ProjectB  view ProjectB download ProjectB.java

java.lang.Object
  extended bycom.eireneh.bible.view.office.ProjectB

public class ProjectB
extends java.lang.Object

The ComInterface class provides some functionality that can be exposed to Microsoft Word and other similar apps.
Distribution Licence:
Project B is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
The License is available on the internet here, by writing to Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA, Or locally at the Licence link below.
The copyright to this program is held by it's authors.

Version:
D0.I0.T0

Field Summary
private  java.lang.String[] bibles
          The names of the available Bibles
private  com.eireneh.bible.control.TaskFactory factory
          The store of tasks
private  java.lang.String[] names
          The names of the tasks
private  com.eireneh.bible.control.State state
          The current configuration
 
Constructor Summary
ProjectB()
          Basic constructor
 
Method Summary
 int CountBibles()
          How many version do we have access to?
 int CountTasks()
          How many tasks do we have access to?
 java.lang.String ExecuteTask(java.lang.String name)
          Obtain the text of a reference
 java.lang.String ExecuteTask(java.lang.String name, java.lang.String param)
          Obtain the text of a reference
 java.lang.String GetBibleName(int index)
          Get the name of one of the versions
 java.lang.String GetTaskName(int index)
          Get the name of one of the tasks
 int GetTaskParamCount(java.lang.String name)
          Get a list of the available versions for the drop down list
 void SetBibleName(java.lang.String biblename)
          Set the name of the Bible that we use for searching
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

private com.eireneh.bible.control.TaskFactory factory
The store of tasks


names

private java.lang.String[] names
The names of the tasks


bibles

private java.lang.String[] bibles
The names of the available Bibles


state

private com.eireneh.bible.control.State state
The current configuration

Constructor Detail

ProjectB

public ProjectB()
         throws com.eireneh.bible.control.TaskException,
                com.eireneh.bible.book.BookException
Basic constructor

Method Detail

CountBibles

public int CountBibles()
How many version do we have access to?


GetBibleName

public java.lang.String GetBibleName(int index)
Get the name of one of the versions


SetBibleName

public void SetBibleName(java.lang.String biblename)
                  throws com.eireneh.bible.book.BookException
Set the name of the Bible that we use for searching


CountTasks

public int CountTasks()
How many tasks do we have access to?


GetTaskName

public java.lang.String GetTaskName(int index)
Get the name of one of the tasks


GetTaskParamCount

public int GetTaskParamCount(java.lang.String name)
Get a list of the available versions for the drop down list


ExecuteTask

public java.lang.String ExecuteTask(java.lang.String name)
                             throws com.eireneh.bible.control.TaskException
Obtain the text of a reference


ExecuteTask

public java.lang.String ExecuteTask(java.lang.String name,
                                    java.lang.String param)
                             throws com.eireneh.bible.control.TaskException
Obtain the text of a reference