net.sourceforge.lentikit.data
Class AbstractData

java.lang.Object
  extended bynet.sourceforge.lentikit.data.AbstractData
All Implemented Interfaces:
java.util.EventListener, java.awt.event.FocusListener
Direct Known Subclasses:
IntegerData

public abstract class AbstractData
extends java.lang.Object
implements java.awt.event.FocusListener

A base class for the more specific data types


Method Summary
 void focusGained(java.awt.event.FocusEvent e)
           
 void focusLost(java.awt.event.FocusEvent e)
           
 java.lang.String getName()
           
 java.lang.Number getValue()
           
static void main(java.lang.String[] args)
           
 void setName(java.lang.String name)
           
abstract  java.lang.Number setValue(java.lang.String textValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

setValue

public abstract java.lang.Number setValue(java.lang.String textValue)
                                   throws ValidationException
Throws:
ValidationException

getValue

public java.lang.Number getValue()
                          throws ValidationException
Throws:
ValidationException

focusGained

public void focusGained(java.awt.event.FocusEvent e)
Specified by:
focusGained in interface java.awt.event.FocusListener

focusLost

public void focusLost(java.awt.event.FocusEvent e)
Specified by:
focusLost in interface java.awt.event.FocusListener


Copyright © 2004 Sourceforge. All Rights Reserved.