BrightSide Workbench Full Report + Source Code
org.turro.zkoss.grid.EditableColumn Class Reference
Inheritance diagram for org.turro.zkoss.grid.EditableColumn:
Collaboration diagram for org.turro.zkoss.grid.EditableColumn:

Public Member Functions

String getFormat ()
 
void setFormat (String format)
 
Class getJavaClass ()
 
void setJavaClass (Class javaClass)
 
void setJavaClass (String javaClass) throws ClassNotFoundException
 
boolean isOnlyDate ()
 
void setOnlyDate (boolean onlyDate)
 
boolean isOnlyTime ()
 
void setOnlyTime (boolean onlyTime)
 
String getProperty ()
 
void setProperty (String property)
 
boolean isReadOnly ()
 
void setReadOnly (boolean readOnly)
 
int getScale ()
 
void setScale (int scale)
 
ChangeValueCallback getOnCheckDuplicate ()
 
void setOnCheckDuplicate (ChangeValueCallback onCheckDuplicate)
 
boolean isBoolean ()
 
boolean isNumber ()
 
boolean isDate ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 27 of file EditableColumn.java.

Member Function Documentation

◆ getFormat()

String org.turro.zkoss.grid.EditableColumn.getFormat ( )

Definition at line 35 of file EditableColumn.java.

35  {
36  return format;
37  }
Here is the caller graph for this function:

◆ getJavaClass()

Class org.turro.zkoss.grid.EditableColumn.getJavaClass ( )

Definition at line 43 of file EditableColumn.java.

43  {
44  return javaClass;
45  }
Here is the caller graph for this function:

◆ getOnCheckDuplicate()

ChangeValueCallback org.turro.zkoss.grid.EditableColumn.getOnCheckDuplicate ( )

Definition at line 105 of file EditableColumn.java.

105  {
106  return onCheckDuplicate;
107  }

◆ getProperty()

String org.turro.zkoss.grid.EditableColumn.getProperty ( )

Definition at line 81 of file EditableColumn.java.

81  {
82  return property;
83  }
Here is the caller graph for this function:

◆ getScale()

int org.turro.zkoss.grid.EditableColumn.getScale ( )

Definition at line 97 of file EditableColumn.java.

97  {
98  return scale;
99  }
Here is the caller graph for this function:

◆ isBoolean()

boolean org.turro.zkoss.grid.EditableColumn.isBoolean ( )

Definition at line 113 of file EditableColumn.java.

113  {
114  return Boolean.class.isAssignableFrom(javaClass) ||
115  boolean.class.isAssignableFrom(javaClass);
116  }
Here is the caller graph for this function:

◆ isDate()

boolean org.turro.zkoss.grid.EditableColumn.isDate ( )

Definition at line 125 of file EditableColumn.java.

125  {
126  return Date.class.isAssignableFrom(javaClass);
127  }
Here is the caller graph for this function:

◆ isNumber()

boolean org.turro.zkoss.grid.EditableColumn.isNumber ( )

Definition at line 118 of file EditableColumn.java.

118  {
119  return Number.class.isAssignableFrom(javaClass) ||
120  int.class.isAssignableFrom(javaClass) ||
121  long.class.isAssignableFrom(javaClass) ||
122  double.class.isAssignableFrom(javaClass);
123  }
Here is the caller graph for this function:

◆ isOnlyDate()

boolean org.turro.zkoss.grid.EditableColumn.isOnlyDate ( )

Definition at line 65 of file EditableColumn.java.

65  {
66  return onlyDate;
67  }
Here is the caller graph for this function:

◆ isOnlyTime()

boolean org.turro.zkoss.grid.EditableColumn.isOnlyTime ( )

Definition at line 73 of file EditableColumn.java.

73  {
74  return onlyTime;
75  }
Here is the caller graph for this function:

◆ isReadOnly()

boolean org.turro.zkoss.grid.EditableColumn.isReadOnly ( )

Definition at line 89 of file EditableColumn.java.

89  {
90  return readOnly;
91  }
Here is the caller graph for this function:

◆ setFormat()

void org.turro.zkoss.grid.EditableColumn.setFormat ( String  format)

Definition at line 39 of file EditableColumn.java.

39  {
40  this.format = format;
41  }
Here is the caller graph for this function:

◆ setJavaClass() [1/2]

void org.turro.zkoss.grid.EditableColumn.setJavaClass ( Class  javaClass)

Definition at line 47 of file EditableColumn.java.

47  {
48  this.javaClass = javaClass;
49  }
Here is the caller graph for this function:

◆ setJavaClass() [2/2]

void org.turro.zkoss.grid.EditableColumn.setJavaClass ( String  javaClass) throws ClassNotFoundException

Definition at line 51 of file EditableColumn.java.

51  {
52  if("int".equals(javaClass)) {
53  this.javaClass = int.class;
54  } else if("long".equals(javaClass)) {
55  this.javaClass = long.class;
56  } else if("double".equals(javaClass)) {
57  this.javaClass = double.class;
58  } else if("boolean".equals(javaClass)) {
59  this.javaClass = boolean.class;
60  } else {
61  this.javaClass = Class.forName(javaClass);
62  }
63  }

◆ setOnCheckDuplicate()

void org.turro.zkoss.grid.EditableColumn.setOnCheckDuplicate ( ChangeValueCallback  onCheckDuplicate)

Definition at line 109 of file EditableColumn.java.

109  {
110  this.onCheckDuplicate = onCheckDuplicate;
111  }

◆ setOnlyDate()

void org.turro.zkoss.grid.EditableColumn.setOnlyDate ( boolean  onlyDate)

Definition at line 69 of file EditableColumn.java.

69  {
70  this.onlyDate = onlyDate;
71  }
Here is the caller graph for this function:

◆ setOnlyTime()

void org.turro.zkoss.grid.EditableColumn.setOnlyTime ( boolean  onlyTime)

Definition at line 77 of file EditableColumn.java.

77  {
78  this.onlyTime = onlyTime;
79  }

◆ setProperty()

void org.turro.zkoss.grid.EditableColumn.setProperty ( String  property)

Definition at line 85 of file EditableColumn.java.

85  {
86  this.property = property;
87  }
Here is the caller graph for this function:

◆ setReadOnly()

void org.turro.zkoss.grid.EditableColumn.setReadOnly ( boolean  readOnly)

Definition at line 93 of file EditableColumn.java.

93  {
94  this.readOnly = readOnly;
95  }
Here is the caller graph for this function:

◆ setScale()

void org.turro.zkoss.grid.EditableColumn.setScale ( int  scale)

Definition at line 101 of file EditableColumn.java.

101  {
102  this.scale = scale;
103  }
Here is the caller graph for this function:

The documentation for this class was generated from the following file: