Interface Main.OptionHandler

All Known Implementing Classes:
Main.FontSizeHandler
Enclosing class:
Main

protected static interface Main.OptionHandler
This interface represents an option handler.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the option description.
    int
    handleOption(int i)
    Handles the current option.
  • Method Details

    • handleOption

      int handleOption(int i)
      Handles the current option.
      Returns:
      the index of argument just before the next one to handle.
    • getDescription

      String getDescription()
      Returns the option description.