agg.parser
Class LayerOption

java.lang.Object
  extended by agg.parser.LayerOption

public class LayerOption
extends java.lang.Object

This class provides some option for the layer function.


Field Summary
static int RCD_LAYER
          Layer for rules, creation and deletio, Rule must delete
static int RCDN_LAYER
          Layer for rules, creation, deletion and negative application condition, Rule must delete
static int WEAK_RCD_LAYER
          Layer for rules, creation and deletion and Rule must not delete
static int WEAK_RCDN_LAYER
          Layer for rules, creation, deletion and negative application condition and Rule must not delete
 
Constructor Summary
LayerOption()
          Creates option with default values.
 
Method Summary
 void addOptionListener(OptionEventListener l)
          Adds an option listener.
 int getLayer()
          Get the required layer function algorithm.
 void removeOptionListener(OptionEventListener l)
          Removes an option listener
 void setLayer(int l)
          Sets the required algorithm of the layer function
 void setLayer(java.lang.String l)
          Sets the required algorithm of the layer function
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RCDN_LAYER

public static final int RCDN_LAYER
Layer for rules, creation, deletion and negative application condition, Rule must delete

See Also:
Constant Field Values

RCD_LAYER

public static final int RCD_LAYER
Layer for rules, creation and deletio, Rule must delete

See Also:
Constant Field Values

WEAK_RCDN_LAYER

public static final int WEAK_RCDN_LAYER
Layer for rules, creation, deletion and negative application condition and Rule must not delete

See Also:
Constant Field Values

WEAK_RCD_LAYER

public static final int WEAK_RCD_LAYER
Layer for rules, creation and deletion and Rule must not delete

See Also:
Constant Field Values
Constructor Detail

LayerOption

public LayerOption()
Creates option with default values.

Method Detail

setLayer

public void setLayer(int l)
Sets the required algorithm of the layer function

Parameters:
l - The algorithm.

setLayer

public void setLayer(java.lang.String l)
Sets the required algorithm of the layer function

Parameters:
l - The algorithm.

getLayer

public int getLayer()
Get the required layer function algorithm.

Returns:
The algorithm.

addOptionListener

public void addOptionListener(OptionEventListener l)
Adds an option listener.

Parameters:
l - The listener.

removeOptionListener

public void removeOptionListener(OptionEventListener l)
Removes an option listener

Parameters:
l - The listener.