~sword-devel/jsword/trunk

« back to all changes in this revision

Viewing changes to jsword/java/map/org/crosswire/jsword/map/model/AntiGravityRule.java

  • Committer: joe
  • Date: 2002-10-08 21:36:18 UTC
  • Revision ID: svn-v4:a88caf3b-7e0a-0410-8d0d-cecb45342206:trunk:80
big config and comment update

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
package org.crosswire.jsword.map.model;
3
3
 
4
4
/**
5
 
* AntiGravityRule.
6
 
*
7
 
* <table border='1' cellPadding='3' cellSpacing='0' width="100%">
8
 
* <tr><td bgColor='white'class='TableRowColor'><font size='-7'>
9
 
* Distribution Licence:<br />
10
 
* Project B is free software; you can redistribute it
11
 
* and/or modify it under the terms of the GNU General Public License,
12
 
* version 2 as published by the Free Software Foundation.<br />
13
 
* This program is distributed in the hope that it will be useful,
14
 
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
 
* General Public License for more details.<br />
17
 
* The License is available on the internet
18
 
* <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, by writing to
19
 
* <i>Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
20
 
* MA 02111-1307, USA</i>, Or locally at the Licence link below.<br />
21
 
* The copyright to this program is held by it's authors.
22
 
* </font></td></tr></table>
23
 
* @see <a href='http://www.eireneh.com/servlets/Web'>Project B Home</a>
24
 
* @see <{docs.Licence}>
25
 
* @author Joe Walker
26
 
* @version D0.I0.T0
27
 
*/
 
5
 * AntiGravityRule.
 
6
 * 
 
7
 * <p><table border='1' cellPadding='3' cellSpacing='0'>
 
8
 * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
 
9
 *
 
10
 * Distribution Licence:<br />
 
11
 * JSword is free software; you can redistribute it
 
12
 * and/or modify it under the terms of the GNU General Public License,
 
13
 * version 2 as published by the Free Software Foundation.<br />
 
14
 * This program is distributed in the hope that it will be useful,
 
15
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 
17
 * General Public License for more details.<br />
 
18
 * The License is available on the internet
 
19
 * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, or by writing to:
 
20
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 
21
 * MA 02111-1307, USA<br />
 
22
 * The copyright to this program is held by it's authors.
 
23
 * </font></td></tr></table>
 
24
 * @see docs.Licence
 
25
 * @author Joe Walker [joe at eireneh dot com]
 
26
 * @version $Id$
 
27
 */
28
28
public class AntiGravityRule extends AbstractRule
29
29
{
30
30
    /**
31
 
    * Specify where it would like a node to be positioned in space.
32
 
    * @param map The Map to select a node from
33
 
    * @param ord The ordinal number (1 - 31104) of the verse
34
 
    * @return An array of desired positions.
35
 
    */
 
31
     * Specify where it would like a node to be positioned in space.
 
32
     * @param map The Map to select a node from
 
33
     * @param ord The ordinal number (1 - 31104) of the verse
 
34
     * @return An array of desired positions.
 
35
     */
36
36
    public Position[] getDesiredPosition(Map map, int ord)
37
37
    {
38
38
        if (scale == 0)