Groovy Documentation

java.gate.yam.format
Class SpacesTable

java.lang.Object
  java.gate.yam.format.SpacesTable

class SpacesTable

A class to store desired min, max, norm spaces before and after the unit annotation type.

author:
Niraj Aswani


Field Summary
int maxSpacesAfter

Maximum spaces after the annotation

int maxSpacesBefore

Maximum spaces before the annotation

int minSpacesAfter

Minimum spaces after the annotation

int minSpacesBefore

Minimum spaces before the annotation

int normSpacesAfter

Normal spaces after the annotation

int normSpacesBefore

Normal spaces before the annotation

 
Constructor Summary
SpacesTable(int minSpacesBefore, int maxSpacesBefore, int normSpacesBefore, int minSpacesAfter, int maxSpacesAfter, int normSpacesAfter)

Constructor

 
Method Summary
int getMaxSpacesAfter()

Returns the maximum number of desired spaces after the annotation

int getMaxSpacesBefore()

Returns the maximum number of desired spaces before the annotation

int getMinSpacesAfter()

Returns the minimum number of desired spaces after the annotation

int getMinSpacesBefore()

Returns the minimum number of desired spaces before the annotation

int getNormSpacesAfter()

Returns the normal number of desired spaces after the annotation

int getNormSpacesBefore()

Returns the normal number of desired spaces before the annotation

 
Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Field Detail

maxSpacesAfter

int maxSpacesAfter
Maximum spaces after the annotation


maxSpacesBefore

int maxSpacesBefore
Maximum spaces before the annotation


minSpacesAfter

int minSpacesAfter
Minimum spaces after the annotation


minSpacesBefore

int minSpacesBefore
Minimum spaces before the annotation


normSpacesAfter

int normSpacesAfter
Normal spaces after the annotation


normSpacesBefore

int normSpacesBefore
Normal spaces before the annotation


 
Constructor Detail

SpacesTable

public SpacesTable(int minSpacesBefore, int maxSpacesBefore, int normSpacesBefore, int minSpacesAfter, int maxSpacesAfter, int normSpacesAfter)
Constructor
param:
minSpacesBefore
param:
maxSpacesBefore
param:
normSpacesBefore
param:
minSpacesAfter
param:
maxSpacesAfter
param:
normSpacesAfter


 
Method Detail

getMaxSpacesAfter

public int getMaxSpacesAfter()
Returns the maximum number of desired spaces after the annotation
return:


getMaxSpacesBefore

public int getMaxSpacesBefore()
Returns the maximum number of desired spaces before the annotation
return:


getMinSpacesAfter

public int getMinSpacesAfter()
Returns the minimum number of desired spaces after the annotation
return:


getMinSpacesBefore

public int getMinSpacesBefore()
Returns the minimum number of desired spaces before the annotation
return:


getNormSpacesAfter

public int getNormSpacesAfter()
Returns the normal number of desired spaces after the annotation
return:


getNormSpacesBefore

public int getNormSpacesBefore()
Returns the normal number of desired spaces before the annotation
return:


 

Groovy Documentation