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

Quick Search    Search Deep

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

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

class StripCommentsOption
extends FormatOptions


Constructor Summary
(package private) StripCommentsOption()
           
 
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
 

Constructor Detail

StripCommentsOption

StripCommentsOption()
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


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


getPropertyName

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

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