Class symantec.itools.db.beans.binding.OutputComponent
All Packages Class Hierarchy This Package Previous Next Index
Class symantec.itools.db.beans.binding.OutputComponent
Object
|
+----symantec.itools.db.beans.binding.OutputComponent
- public class OutputComponent
- extends Object
-
Component
-
-
InputClass
-
-
OutputSize
-
-
getMethFullName
-
-
getMethParam
-
-
getMethods
-
-
getMethodsParam
-
-
m_EmptyMeansNull
-
-
numberOfInvocationsForGet
-
-
numberOfInvocationsForSet
-
-
setMethFullName
-
-
setMethParam
-
-
setMethods
-
-
setMethodsParam
-
-
symantec.itools.db.beans.binding.OutputComponent()
-
-
symantec.itools.db.beans.binding.OutputComponent(Object)
- Creates a OutputComponent object given the output component.
-
findMethod(String, String[])
- Searches the output component for a specified method and returns it.
-
getEmptyMeansNull()
-
-
getGetMethods()
- Returns the full name of the setting method
-
getMethodParameters(String)
-
-
getOutput()
- Returns the output component.
-
getOutputSize()
- Returns the size for the output component.
-
getPrintOut()
- Returns all the data in the output component.
-
getPrintOut(int[])
- Returns the data from certain columns of the output component.
-
getPrintOut(int[], int)
-
-
getPrintOut(int, int)
- Returns data from one cell.
-
getSetMethods()
- Returns the full name of the setting method
-
setEmptyMeansNull(boolean)
-
-
setGetMethods(String[])
- Parses the name of the getting method given by the user and calls
findmethod.
-
setOutput(Object)
- Creates a OutputComponent object given the output component,and the access
methods name.
-
setOutputSize(Dimension)
- Sets the size for the output component.
-
setParameters(String[], Object, int, int)
- sets the true value for passing booleans
-
setPrintOut(Object)
- Updates every cell of the output component.
-
setPrintOut(Object, int, int)
- Updates one cell of the output component.
-
setSetMethods(String[])
- Parses the name of the setting method given by the user and calls
findmethod.
Component
protected java.lang.Object Component
InputClass
public java.lang.Class InputClass
OutputSize
protected java.awt.Dimension OutputSize
getMethFullName
protected java.lang.String[] getMethFullName
getMethParam
protected java.lang.String[] getMethParam
getMethods
protected java.lang.reflect.Method[] getMethods
getMethodsParam
protected java.lang.String[][] getMethodsParam
m_EmptyMeansNull
protected boolean m_EmptyMeansNull
numberOfInvocationsForGet
protected int numberOfInvocationsForGet
numberOfInvocationsForSet
protected int numberOfInvocationsForSet
setMethFullName
protected java.lang.String[] setMethFullName
setMethParam
protected java.lang.String[] setMethParam
setMethods
protected java.lang.reflect.Method[] setMethods
setMethodsParam
protected java.lang.String[][] setMethodsParam
OutputComponent
public OutputComponent()
OutputComponent
public OutputComponent(Object component)
- Creates a OutputComponent object given the output component.
- Parameters:
- component - the output component
findMethod
public java.lang.reflect.Method findMethod(String methodName,
String[] parameters)
- Searches the output component for a specified method and returns it.
- Parameters:
- methodName - actual name of the method
- parameters - array containing the type of parameters.
Can be: "Value","Row" and "Col"
- Returns:
- the specified method
getEmptyMeansNull
protected boolean getEmptyMeansNull()
getGetMethods
public java.lang.String[] getGetMethods()
- Returns the full name of the setting method
- Returns:
- the full name of the getting method
getMethodParameters
protected java.lang.String[] getMethodParameters(String method)
getOutput
public java.lang.Object getOutput()
- Returns the output component.
- Returns:
- the output component.
getOutputSize
public java.awt.Dimension getOutputSize()
- Returns the size for the output component.
- Returns:
- the size for the output component.
getPrintOut
public java.lang.Object getPrintOut()
- Returns all the data in the output component.
- Returns:
- all the data in the output component.
getPrintOut
public java.lang.Object getPrintOut(int cols)
- Returns the data from certain columns of the output component.
- Parameters:
- cols - the list of the columns concerned
getPrintOut
public java.lang.Object getPrintOut(int cols,
int negOffset)
getPrintOut
public java.lang.Object getPrintOut(int Row,
int Col)
- Returns data from one cell.
- Parameters:
- Row - the requested row
- Col - the requested column
getSetMethods
public java.lang.String[] getSetMethods()
- Returns the full name of the setting method
- Returns:
- the full name of the setting method
setEmptyMeansNull
protected void setEmptyMeansNull(boolean emptyMeansNull)
setGetMethods
public boolean setGetMethods(String[] methods)
- Parses the name of the getting method given by the user and calls
findmethod. Sets the getting method for the component.
- Parameters:
- method - full method name ie:"getText(Row,Col)"
- Returns:
- true if the method found and is set
setOutput
public void setOutput(Object component)
- Creates a OutputComponent object given the output component,and the access
methods name.
- Parameters:
- component - the output component
- setMethName - method for setting
- getmethName - method for getting
setOutputSize
public void setOutputSize(Dimension size)
- Sets the size for the output component.
- Parameters:
- size - the new size
setParameters
protected java.lang.Object[] setParameters(String[] MethParam,
Object Value,
int row,
int col)
- sets the true value for passing booleans
- Parameters:
- Value - the value as a String
setPrintOut
public void setPrintOut(Object Value)
- Updates every cell of the output component.
- Parameters:
- Value - the new value
setPrintOut
public synchronized void setPrintOut(Object Value,
int Row,
int Col)
- Updates one cell of the output component.
- Parameters:
- Value - the new value
- Row - the desired row
- Col - the desired column
setSetMethods
public boolean setSetMethods(String[] methods)
- Parses the name of the setting method given by the user and calls
findmethod. Sets the setting method for the component.
- Parameters:
- method - full method name ie:"setText(Value)"
- Returns:
- true if the method found and is set
All Packages Class Hierarchy This Package Previous Next Index