org.ephman.abra.tools
Class JFieldView

java.lang.Object
  |
  +--org.ephman.abra.tools.JFieldView

public class JFieldView
extends java.lang.Object

a class for field views to do an abstraction of a field if composite

Version:
0.0.1 1/18/01
Author:
Paul M. Bethe

Field Summary
(package private)  boolean asView
           
(package private)  JField field
           
(package private)  java.lang.String viewFormat
           
 
Constructor Summary
JFieldView(JField jf, java.lang.String viewFormat, boolean asView)
           
 
Method Summary
 boolean getAsView()
          Get the value of asView.
 JField getField()
          Get the value of field.
 java.lang.String getViewFormat()
          Get the value of viewFormat.
 void setAsView(boolean v)
          Set the value of asView.
 void setField(JField v)
          Set the value of field.
 void setViewFormat(java.lang.String v)
          Set the value of viewFormat.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

asView

boolean asView

field

JField field

viewFormat

java.lang.String viewFormat
Constructor Detail

JFieldView

public JFieldView(JField jf,
                  java.lang.String viewFormat,
                  boolean asView)
Method Detail

getAsView

public boolean getAsView()
Get the value of asView.

Returns:
Value of asView.

setAsView

public void setAsView(boolean v)
Set the value of asView. if set then use a forein view in format else use the single field in format..

Parameters:
v - Value to assign to asView.

getField

public JField getField()
Get the value of field.

Returns:
Value of field.

setField

public void setField(JField v)
Set the value of field.

Parameters:
v - Value to assign to field.

getViewFormat

public java.lang.String getViewFormat()
Get the value of viewFormat.

Returns:
Value of viewFormat.

setViewFormat

public void setViewFormat(java.lang.String v)
Set the value of viewFormat.

Parameters:
v - Value to assign to viewFormat.