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

Quick Search    Search Deep

com.eireneh.swing.config
Class MonitorChoices.LogStyleChoice  view MonitorChoices.LogStyleChoice download MonitorChoices.LogStyleChoice.java

java.lang.Object
  extended bycom.eireneh.config.choices.AbstractChoice
      extended bycom.eireneh.swing.config.MonitorChoices.LogStyleChoice
All Implemented Interfaces:
com.eireneh.config.Choice, java.io.Serializable
Enclosing class:
MonitorChoices

public static class MonitorChoices.LogStyleChoice
extends com.eireneh.config.choices.AbstractChoice

The Log file stylizer


Field Summary
private  int index
           
 
Fields inherited from interface com.eireneh.config.Choice
PRIORITY_ACCESSOR, PRIORITY_CTOR, PRIORITY_EXTENDER, PRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_NORMAL, PRIORITY_SYSTEM
 
Constructor Summary
MonitorChoices.LogStyleChoice(int index)
           
 
Method Summary
 java.lang.String getHelpText()
          Get some help on this Field.
 java.lang.String getString()
          String value to associate with the name (key)
 java.lang.String getType()
          This method is used to configure a good way of editing this component.
 void setString(java.lang.String value)
          String value to associate with this Field.
 
Methods inherited from class com.eireneh.config.choices.AbstractChoice
getTypeOptions, getUserLevel, isSaveable, priority, requiresRestart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

index

private int index
Constructor Detail

MonitorChoices.LogStyleChoice

public MonitorChoices.LogStyleChoice(int index)
Method Detail

setString

public void setString(java.lang.String value)
Description copied from interface: com.eireneh.config.Choice
String value to associate with this Field. This method can throw any Exception since almost anything could go wrong at this point. The Config dialog ought to cope with any errors.


getString

public java.lang.String getString()
Description copied from interface: com.eireneh.config.Choice
String value to associate with the name (key)


getHelpText

public java.lang.String getHelpText()
Description copied from class: com.eireneh.config.choices.AbstractChoice
Get some help on this Field. In this case we are just providing a default help text, that isn't much use.


getType

public java.lang.String getType()
Description copied from class: com.eireneh.config.choices.AbstractChoice
This method is used to configure a good way of editing this component. It returns a MIME style string, which a config ui can use to select a suitable ui tool.