ElegantJCharts Java API Specification v2.0

com.elegantj.editors
Class IntegerEditor

java.lang.Object
  |
  +--java.beans.PropertyEditorSupport
        |
        +--com.elegantj.editors.IntegerEditor
All Implemented Interfaces:
java.beans.PropertyEditor
Direct Known Subclasses:
KeyModificationEditor, WhereClauseOptionEditor

public class IntegerEditor
extends java.beans.PropertyEditorSupport

This class edits the integer properties which are displayed in a combo box as a descriptive strings.


Field Summary
protected  int[] nValues
           
protected  java.lang.String[] strDisplay
           
protected  java.lang.String[] strInit
           
protected  java.lang.String strJavaInitializationStringPrefix
          Protected prefix string.
 
Constructor Summary
IntegerEditor()
           
IntegerEditor(java.lang.String[] init, java.lang.String[] display, int[] value)
          Constructors.
 
Method Summary
 java.lang.String getAsText()
          Internal, The implementation of the interface PropertyEditorSupport.
protected  java.lang.String[] getDisplayArray()
           
protected  java.lang.String[] getInitArray()
           
protected  java.lang.Integer getIntValue()
           
 java.lang.String getJavaInitializationString()
          Internal, The implementation of the interface PropertyEditorSupport.
 java.lang.String[] getTags()
          Internal, The implementation of the interface PropertyEditorSupport.
protected  int[] getValueArray()
           
 void setAsText(java.lang.String text)
          Internal, The implementation of the interface PropertyEditorSupport.
protected  void setIntValue(java.lang.Integer val)
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

strInit

protected java.lang.String[] strInit

strDisplay

protected java.lang.String[] strDisplay

nValues

protected int[] nValues

strJavaInitializationStringPrefix

protected java.lang.String strJavaInitializationStringPrefix
Protected prefix string. Default value is "".

Constructor Detail

IntegerEditor

public IntegerEditor(java.lang.String[] init,
                     java.lang.String[] display,
                     int[] value)
              throws IntegerEditorInvalidArraysException
Constructors.


IntegerEditor

public IntegerEditor()
Method Detail

getJavaInitializationString

public java.lang.String getJavaInitializationString()
Internal, The implementation of the interface PropertyEditorSupport.

Specified by:
getJavaInitializationString in interface java.beans.PropertyEditor
Overrides:
getJavaInitializationString in class java.beans.PropertyEditorSupport

getTags

public java.lang.String[] getTags()
Internal, The implementation of the interface PropertyEditorSupport.

Specified by:
getTags in interface java.beans.PropertyEditor
Overrides:
getTags in class java.beans.PropertyEditorSupport

setAsText

public void setAsText(java.lang.String text)
Internal, The implementation of the interface PropertyEditorSupport.

Specified by:
setAsText in interface java.beans.PropertyEditor
Overrides:
setAsText in class java.beans.PropertyEditorSupport

getAsText

public java.lang.String getAsText()
Internal, The implementation of the interface PropertyEditorSupport.

Specified by:
getAsText in interface java.beans.PropertyEditor
Overrides:
getAsText in class java.beans.PropertyEditorSupport

setIntValue

protected void setIntValue(java.lang.Integer val)

getIntValue

protected java.lang.Integer getIntValue()

getDisplayArray

protected java.lang.String[] getDisplayArray()

getValueArray

protected int[] getValueArray()

getInitArray

protected java.lang.String[] getInitArray()

ElegantJCharts Java API Specification v2.0

For any feedback, suggestion, or query, please revert back to support@elegantcharts.com

Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjcharts.com
All Rights Reserved.