com.cbse.jeasy
Class JEDataclass
java.lang.Object
com.cbse.jeasy.JEObject
com.cbse.jeasy.JEDataclass
public class JEDataclass
- extends JEObject
A class implementing elements of a Data Dictionary. The dataclass is is used
by a datafield.
| Properties
|
| name |
values |
comment |
| id |
* |
Id of the object. Let it begin with DC_ |
| datatype |
NUM CHAR CURRENCY
DATE
|
Elementary datatype |
| length |
  |
Length of the field |
| name |
  |
Name of the field used as a label |
| title |
  |
Short name |
| tooltip |
  |
Text in Tooltip |
| mask |
  |
Used for DecimalFormat. See JDK Documentation of DecimalFormat |
| min |
  |
Minimum value |
| max |
  |
Maximum value |
| mask |
  |
Used for DecimalFormat. See JDK Documentation of DecimalFormat |
decimalSeparator |
  |
Decimal Separator. If you don't want to use the locale separator. |
| groupingSeparator |
  |
Grouping Separator. If you don't want to use the locale separator.
|
* = property you have to set; bold = default value
- Version:
- %I%, %G%
- Author:
- H.Pfohl
| Methods inherited from class com.cbse.jeasy.JEObject |
backupEntry, clear, deserializeValue, getApplet, getApplLocale, getCenter, getComponent, getEast, getElementAt, getElementSize, getId, getJCallBack, getJClass, getLabel, getMode, getNorth, getObjLocale, getParentId, getPreview, getProjectDirectory, getProperty, getRegisterText, getSouth, getStarted, getTitle, getType, getWest, getXMLtag, isEditable, isEnabled, isEnterprise, isProfessional, isStandard, isVisible, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEaddTab, removeProperties, removeProperty, restoreEntry, serializeValue, setApplet, setApplLocale, setEditable, setEditable, setEnabled, setEnabled, setFocus, setJCallBack, setMarkable, setMarkable, setMode, setObjLocale, setParentId, setPreview, setProjectDirectory, setProperty, setStarted, setVisible, setVisible, start, wasEntryChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JEDataclass
public JEDataclass(java.lang.String s)
- Reads the properties from a string.
- Parameters:
s - contains properties and values- See Also:
JE#PropertyString
JEDataclass
public JEDataclass()
getName
public java.lang.String getName()
- Description copied from class:
JEObject
- Gets the label of the JEObject
- Overrides:
getName in class JEObject
- Returns:
- lable
getDatatype
public java.lang.String getDatatype()
getMnemonic
public java.lang.String getMnemonic()
getToolTip
public java.lang.String getToolTip()
getDecimalSeparator
public char getDecimalSeparator()
setDecimalSeparator
public void setDecimalSeparator(char ds)
getGroupingSeparator
public char getGroupingSeparator()
setGroupingSeparator
public void setGroupingSeparator(char ds)
isNumeric
public boolean isNumeric()
setMask
public void setMask(java.lang.String newmask)
getMask
public java.lang.String getMask()
examine
public int examine(java.lang.String s)
format
public java.lang.String format(java.lang.String s)
getLength
public int getLength()
- Returns:
- Returns the length.
setLength
public void setLength(int length)
- Parameters:
length - The length to set.
setPaste
public void setPaste(boolean paste)