TV-Browser 3.3.3 API

util.settings
Class ShortProperty

java.lang.Object
  extended by util.settings.Property
      extended by util.settings.ShortProperty

public class ShortProperty
extends Property

A property for short values.

Author:
René Mach

Constructor Summary
ShortProperty(PropertyManager manager, java.lang.String key, short defaultValue)
          Creates an instance of this propety.
 
Method Summary
protected  void clearCache()
           
 short getDefault()
          Gets the default value of this property.
 short getShort()
          Gets the current value of this property.
 void setShort(short value)
          Sets the value of this property.
 
Methods inherited from class util.settings.Property
addChangeListener, fireChangeEvent, getKey, getProperty, removeChangeListener, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShortProperty

public ShortProperty(PropertyManager manager,
                     java.lang.String key,
                     short defaultValue)
Creates an instance of this propety.

Parameters:
manager - The property manager to use.
key - The key of this property.
defaultValue - The default value for this property.
Method Detail

getDefault

public short getDefault()
Gets the default value of this property.

Returns:
The default value of this property.

getShort

public short getShort()
Gets the current value of this property.

Returns:
The current value of this property.

setShort

public void setShort(short value)
Sets the value of this property.

Parameters:
value - The new value for this property.

clearCache

protected void clearCache()
Specified by:
clearCache in class Property

TV-Browser 3.3.3 API

TV-Browser 3.3.3, Copyright (C) 2004-2008 TV-Browser Team (dev@tvbrowser.org)