com.digi.config.util
Class ModifiedSettings

java.lang.Object
  extended bycom.digi.config.util.ModifiedSettings

public class ModifiedSettings
extends java.lang.Object

This class keeps track of all changed values


Constructor Summary
ModifiedSettings()
          Constructor
 
Method Summary
 boolean getBooleanProperty(java.lang.String section, java.lang.String tag)
          This method gets property and returns a boolean value
 java.awt.Color getColorProperty(java.lang.String section, java.lang.String tag)
          This method gets the profile property for a color
 java.lang.String getProperty(java.lang.String Section, java.lang.String key)
          This method gets property
 java.util.Hashtable getSections()
          This method returns the section hashtable
 boolean hasPropertyChanged(java.lang.String section, java.lang.String key)
          This method checks if a profile property is changed
 boolean hasSectionChanged(java.lang.String section)
          This method checks if a section is changed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModifiedSettings

public ModifiedSettings()
Constructor

Method Detail

getBooleanProperty

public boolean getBooleanProperty(java.lang.String section,
                                  java.lang.String tag)
This method gets property and returns a boolean value

Parameters:
section - Section name
tag - Key name
Returns:
true or false

getColorProperty

public java.awt.Color getColorProperty(java.lang.String section,
                                       java.lang.String tag)
This method gets the profile property for a color

Parameters:
section - Section name
tag - Key name
Returns:
the color

getProperty

public java.lang.String getProperty(java.lang.String Section,
                                    java.lang.String key)
This method gets property

Parameters:
Section - Section name
key - name of property
Returns:
Property value

getSections

public java.util.Hashtable getSections()
This method returns the section hashtable

Returns:
Hashtable

hasPropertyChanged

public boolean hasPropertyChanged(java.lang.String section,
                                  java.lang.String key)
This method checks if a profile property is changed

Parameters:
section - Section name
key - name of property
Returns:
true or false

hasSectionChanged

public boolean hasSectionChanged(java.lang.String section)
This method checks if a section is changed

Parameters:
section - Section name
Returns:
true or false


Copyright © 2001-2002 Digi International. All Rights Reserved.