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

Quick Search    Search Deep

com.trapezium.chisel
Class TabNOption  view TabNOption download TabNOption.java

java.lang.Object
  extended bycom.trapezium.chisel.FormatOptions
      extended bycom.trapezium.chisel.TabNOption
All Implemented Interfaces:
OptionHolder

class TabNOption
extends FormatOptions


Field Summary
(package private)  int indentation
           
 
Constructor Summary
(package private) TabNOption()
           
 
Method Summary
 int getNumberOptions()
          Get the number of control options available for this chisel.
 java.lang.Class getOptionClass(int optionOffset)
          Get the class for an option
 java.lang.Object getOptionConstraints(int optionOffset)
          Get current option value
 java.lang.String getOptionLabel(int optionOffset)
          Get a specific control option label
 java.lang.Object getOptionValue(int optionOffset)
          Get current option value
 java.lang.String getPropertyName()
           
 void runOption(boolean enabled)
          Really set the option value
 void setOptionValue(int optionOffset, java.lang.Object value)
          Set option value
 
Methods inherited from class com.trapezium.chisel.FormatOptions
intToOptionValue, newOption, optionValueToInt, setOptionConstraints
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

indentation

int indentation
Constructor Detail

TabNOption

TabNOption()
Method Detail

getNumberOptions

public int getNumberOptions()
Get the number of control options available for this chisel.


getOptionClass

public java.lang.Class getOptionClass(int optionOffset)
Get the class for an option


getOptionLabel

public java.lang.String getOptionLabel(int optionOffset)
Get a specific control option label


getPropertyName

public java.lang.String getPropertyName()
Specified by:
getPropertyName in class FormatOptions

getOptionValue

public java.lang.Object getOptionValue(int optionOffset)
Get current option value


setOptionValue

public void setOptionValue(int optionOffset,
                           java.lang.Object value)
Set option value


runOption

public void runOption(boolean enabled)
Really set the option value

Specified by:
runOption in class FormatOptions

getOptionConstraints

public java.lang.Object getOptionConstraints(int optionOffset)
Get current option value