Class symantec.itools.db.swing.JRecordNumberLabel
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.db.swing.JRecordNumberLabel

Object
   |
   +----Component
           |
           +----Container
                   |
                   +----JComponent
                           |
                           +----JPanel
                                   |
                                   +----symantec.itools.db.swing.JRecordNumberLabel

public class JRecordNumberLabel
extends JPanel
A dbAWARE Label that automatically displays the current record number of the RelationView/Query Navigator it is bound with.


Constructor Index

 o symantec.itools.db.swing.JRecordNumberLabel()
Constructs a new JRecordNumberLabel.

Method Index

 o getData()
gets the value of this component
 o getDataSource()
Gets the data source that this component is bound with.
 o getQueryNavigatorObject()
Gets the Querynavigator that this component is bound with.
 o isEditable()
gets the Editable property value of this component
 o setData(Object)
Sets the value of this component to the given value.
 o setDataSource(String)
Sets the data source that this component is bound with.
 o setEditable(boolean)
Sets the Editable Property of this component
 o setQueryNavigatorObject(QueryNavigator)
Sets the Querynavigator that this component is bound with.

Constructors

 o JRecordNumberLabel
public JRecordNumberLabel()
Constructs a new JRecordNumberLabel. By default its label will read: "".

Methods

 o getData
public java.lang.String getData()
gets the value of this component

Returns:
the String value
 o getDataSource
public java.lang.String getDataSource()
Gets the data source that this component is bound with.

Returns:
name of the data source to bind with
See Also:
setDataSource
 o getQueryNavigatorObject
public symantec.itools.db.beans.binding.QueryNavigator getQueryNavigatorObject()
Gets the Querynavigator that this component is bound with.

Returns:
Querynavigator Object
See Also:
setQueryNavigatorObject
 o isEditable
public boolean isEditable()
gets the Editable property value of this component

Returns:
a boolean value
 o setData
public void setData(Object o)
Sets the value of this component to the given value.

Parameters:
value - the new component value
 o setDataSource
public void setDataSource(String Tname)
Sets the data source that this component is bound with.

Parameters:
Tname - the name of the data source to bind with
See Also:
getDataSource
 o setEditable
public void setEditable(boolean edit)
Sets the Editable Property of this component

Parameters:
value - to be set
 o setQueryNavigatorObject
public void setQueryNavigatorObject(QueryNavigator qn)
Sets the Querynavigator that this component is bound with.

Parameters:
qn - the querynavigator object to bind with
See Also:
getQueryNavigatorObject

All Packages  Class Hierarchy  This Package  Previous  Next  Index