logist
Class LogistSettings

java.lang.Object
  extended by logist.LogistSettings

public class LogistSettings
extends java.lang.Object

The global settings of the platform.

Author:
Robin Steiger

Nested Class Summary
static class LogistSettings.ColorKey
          A color stored as Color.
static class LogistSettings.FileKey
          A file path stored as java.io.File.
static class LogistSettings.FlagKey
          A flag stored as boolean.
static class LogistSettings.SizeKey
          A size stored as int.
static class LogistSettings.TimeoutKey
          A timeout stored as long.
 
Constructor Summary
LogistSettings()
          Creates a new setting with default values.
 
Method Summary
 java.awt.Color get(LogistSettings.ColorKey key)
           
 java.io.File get(LogistSettings.FileKey key)
           
 boolean get(LogistSettings.FlagKey key)
           
 int get(LogistSettings.SizeKey key)
           
 long get(LogistSettings.TimeoutKey key)
           
 void set(LogistSettings.ColorKey key, java.awt.Color value)
           
 void set(LogistSettings.FileKey key, java.io.File value)
           
 void set(LogistSettings.FlagKey key, boolean value)
           
 void set(LogistSettings.SizeKey key, int value)
           
 void set(LogistSettings.TimeoutKey key, long value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogistSettings

public LogistSettings()
Creates a new setting with default values.

Method Detail

get

public int get(LogistSettings.SizeKey key)

get

public java.awt.Color get(LogistSettings.ColorKey key)

get

public long get(LogistSettings.TimeoutKey key)

get

public java.io.File get(LogistSettings.FileKey key)

get

public boolean get(LogistSettings.FlagKey key)

set

public void set(LogistSettings.SizeKey key,
                int value)

set

public void set(LogistSettings.ColorKey key,
                java.awt.Color value)

set

public void set(LogistSettings.TimeoutKey key,
                long value)

set

public void set(LogistSettings.FileKey key,
                java.io.File value)

set

public void set(LogistSettings.FlagKey key,
                boolean value)