JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.higrid.beans
Class JCHiGridConverter

java.lang.Object
  |
  +--com.klg.jclass.higrid.beans.JCHiGridConverter
All Implemented Interfaces:
Serializable

public class JCHiGridConverter
extends Object
implements Serializable

Reads JCHiGrid parameters from an HTML file or external file.

See Also:
Serialized Form

Field Summary
static String[] aggregateTypeStrings
          String names of the aggregate types.
static int[] aggregateTypeValues
          Aggregate type value that corresponds to the list of String names.
static String[] autoTraverseStrings
           
static int[] autoTraverseValues
          Auto show value that corresponds to the list of String names.
static String[] cellClipHintsStrings
          String names of the cell clip hints.
static int[] cellClipHintsValues
          Cell clip hints value that corresponds to the list of String names.
static String[] cellEditPolicyStrings
          String names of the cell edit policy.
static int[] cellEditPolicyValues
          Cell edit policy value that corresponds to the list of String names.
static String[] cellHorizontalAlignmentStrings
          String names of the cell horizontal alignment.
static int[] cellHorizontalAlignmentValues
          Cell horizontal alignment value that corresponds to the list of String names.
static String[] cellVerticalAlignmentStrings
          String names of the cell vertical alignment.
static int[] cellVerticalAlignmentValues
          Cell vertical alignment value that corresponds to the list of String names.
static String[] folderIconStyleStrings
           
static int[] folderIconStyleValues
          Folder icon style values that corresponds to the list of String names.
static String[] gridScrollbarDisplayStrings
           
static int[] gridScrollbarDisplayValues
          Grid scrollbar display values that corresponds to the list of String names.
static String[] metaDataModelTypeStrings
          String names of the MetaDataModel data type.
static int[] metaDataModelTypeValues
          MetaDataModel data type values that corresponds to the list of String names.
static String[] printFormatStrings
           
static int[] printFormatValues
          Print format value that corresponds to the list of String names.
static String[] rowFormatBorderStyleStrings
          String names of the border styles.
static int[] rowFormatBorderStyleValues
          Border value that corresponds to the list of String names.
static String[] rowSelectionModeStrings
           
static int[] rowSelectionModeValues
          Row selection mode value that corresponds to the list of String names.
static String[] sortDataDirectionStrings
          String names of the sort data direction.
static int[] sortDataDirectionValues
          Sort data direction value that corresponds to the list of String names.
static String[] summaryColumnTypeStrings
          String names of the summary column types.
static int[] summaryColumnTypeValues
          Summary column type value that corresponds to the list of String names.
 
Constructor Summary
JCHiGridConverter()
           
 
Method Summary
static void checkAggregateType(int v)
          Checks aggregate type enum value.
static void checkAutoTraverse(int v)
          Checks auto show enum value.
static void checkCellClipHints(int v)
          Checks cell clip hints enum value.
static void checkCellEditPolicy(int v)
          Checks cell edit policy enum value.
static void checkCellHorizontalAlignment(int v)
          Checks cell horizontal alignment enum value.
static void checkCellVerticalAlignment(int v)
          Checks cell vertical alignment enum value.
static void checkFolderIconStyle(int v)
          Checks grid scrollbar display enum value.
static void checkGridScrollbarDisplay(int v)
          Checks grid scrollbar display enum value.
static void checkMetaDataModelType(int v)
          Checks meta data value type enum value.
static void checkPrintFormat(int v)
          Checks print format enum value.
static void checkRowFormatBorderStyle(int v)
          Checks row format border style enum value.
static void checkRowSelectionMode(int v)
          Checks row selection mode enum value.
static void checkSortDataDirection(int v)
          Checks sort data direction enum value.
static void checkSummaryColumnType(int v)
          Checks summary column type enum value.
static String[] getAggregateTypeStrings()
          Gets an internationalized array of aggregate type Strings.
static String[] getAutoTraverseStrings()
          Gets an internationalized array of auto show Strings.
static String[] getCellClipHintsStrings()
          Gets an internationalized array of cell clip hints Strings.
static String[] getCellEditPolicyStrings()
          Gets an internationalized array of cell edit policy Strings.
static String[] getCellHorizontalAlignmentStrings()
          Gets an internationalized array of cell horizontal alignment Strings.
static String[] getCellVerticalAlignmentStrings()
          Gets an internationalized array of cell vertical alignment Strings.
static String[] getFolderIconStyleStrings()
          Gets an internationalized array of grid scrollbar display Strings.
static String[] getGridScrollbarDisplayStrings()
          Gets an internationalized array of grid scrollbar display Strings.
static String[] getMetaDataModelTypeStrings()
          Gets an internationalized array of meta data value type Strings.
protected static void getParams(com.klg.jclass.higrid.beans.JCHiGrid comp)
           
static String[] getPrintFormatStrings()
          Gets an internationalized array of print format Strings.
static String[] getRowFormatBorderStyleStrings()
          Gets an internationalized array of row format border style Strings.
static String[] getRowSelectionModeStrings()
          Gets an internationalized array of row selection mode Strings.
static String[] getSortDataDirectionStrings()
          Gets an internationalized array of sort data direction Strings.
static String[] getSummaryColumnTypeStrings()
          Gets an internationalized array of summary column type Strings.
static int toAggregateType(com.klg.jclass.util.JCTypeConverter conv, String s, int def)
          Converts a String to a aggregate type value.
static int toAutoTraverse(com.klg.jclass.util.JCTypeConverter conv, String s, int def)
          Converts a String to an auto show value.
static int toCellClipHints(com.klg.jclass.util.JCTypeConverter conv, String s, int def)
          Converts a String to a cell clip hints value.
static int toCellEditPolicy(com.klg.jclass.util.JCTypeConverter conv, String s, int def)
          Converts a String to a cell edit policy value.
static int toCellHorizontalAlignment(com.klg.jclass.util.JCTypeConverter conv, String s, int def)
          Converts a String to a cell horizontal alignment value.
static int toCellVerticalAlignment(com.klg.jclass.util.JCTypeConverter conv, String s, int def)
          Converts a String to a cell vertical alignment value.
static int toFolderIconStyle(com.klg.jclass.util.JCTypeConverter conv, String s, int def)
          Converts a String to a grid scrollbar display value.
static int toGridScrollbarDisplay(com.klg.jclass.util.JCTypeConverter conv, String s, int def)
          Converts a String to a grid scrollbar display value.
static int toMetaDataModelType(com.klg.jclass.util.JCTypeConverter conv, String s, int def)
          Converts a String to a meta data value type.
static int toPrintFormat(com.klg.jclass.util.JCTypeConverter conv, String s, int def)
          Converts a String to a print format value.
static int toRowFormatBorderStyle(com.klg.jclass.util.JCTypeConverter conv, String s, int def)
          Converts a String to a row format border style value.
static int toRowSelectionMode(com.klg.jclass.util.JCTypeConverter conv, String s, int def)
          Converts a String to a row selection mode value.
static int toSortDataDirection(com.klg.jclass.util.JCTypeConverter conv, String s, int def)
          Converts a String to a sort data direction value.
static int toSummaryColumnType(com.klg.jclass.util.JCTypeConverter conv, String s, int def)
          Converts a String to a summary column type value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rowSelectionModeValues

public static final int[] rowSelectionModeValues
Row selection mode value that corresponds to the list of String names.

See Also:
getRowSelectionModeStrings()

rowSelectionModeStrings

public static final String[] rowSelectionModeStrings

printFormatValues

public static final int[] printFormatValues
Print format value that corresponds to the list of String names.

See Also:
getPrintFormatStrings()

printFormatStrings

public static final String[] printFormatStrings

autoTraverseValues

public static final int[] autoTraverseValues
Auto show value that corresponds to the list of String names.

See Also:
getAutoTraverseStrings()

autoTraverseStrings

public static final String[] autoTraverseStrings

rowFormatBorderStyleValues

public static final int[] rowFormatBorderStyleValues
Border value that corresponds to the list of String names.

See Also:
getRowFormatBorderStyleStrings()

rowFormatBorderStyleStrings

public static final String[] rowFormatBorderStyleStrings
String names of the border styles.


cellHorizontalAlignmentValues

public static final int[] cellHorizontalAlignmentValues
Cell horizontal alignment value that corresponds to the list of String names.

See Also:
getCellHorizontalAlignmentStrings()

cellHorizontalAlignmentStrings

public static final String[] cellHorizontalAlignmentStrings
String names of the cell horizontal alignment.


cellVerticalAlignmentValues

public static final int[] cellVerticalAlignmentValues
Cell vertical alignment value that corresponds to the list of String names.

See Also:
getCellVerticalAlignmentStrings()

cellVerticalAlignmentStrings

public static final String[] cellVerticalAlignmentStrings
String names of the cell vertical alignment.


metaDataModelTypeValues

public static final int[] metaDataModelTypeValues
MetaDataModel data type values that corresponds to the list of String names.

See Also:
getMetaDataModelTypeStrings()

metaDataModelTypeStrings

public static final String[] metaDataModelTypeStrings
String names of the MetaDataModel data type.


cellEditPolicyValues

public static final int[] cellEditPolicyValues
Cell edit policy value that corresponds to the list of String names.

See Also:
getCellEditPolicyStrings()

cellEditPolicyStrings

public static final String[] cellEditPolicyStrings
String names of the cell edit policy.


summaryColumnTypeValues

public static final int[] summaryColumnTypeValues
Summary column type value that corresponds to the list of String names.

See Also:
getSummaryColumnTypeStrings()

summaryColumnTypeStrings

public static final String[] summaryColumnTypeStrings
String names of the summary column types.


aggregateTypeValues

public static final int[] aggregateTypeValues
Aggregate type value that corresponds to the list of String names.

See Also:
getAggregateTypeStrings()

aggregateTypeStrings

public static final String[] aggregateTypeStrings
String names of the aggregate types.


gridScrollbarDisplayValues

public static final int[] gridScrollbarDisplayValues
Grid scrollbar display values that corresponds to the list of String names.

See Also:
getGridScrollbarDisplayStrings()

gridScrollbarDisplayStrings

public static final String[] gridScrollbarDisplayStrings

folderIconStyleValues

public static final int[] folderIconStyleValues
Folder icon style values that corresponds to the list of String names.

See Also:
getFolderIconStyleStrings()

folderIconStyleStrings

public static final String[] folderIconStyleStrings

sortDataDirectionValues

public static final int[] sortDataDirectionValues
Sort data direction value that corresponds to the list of String names.

See Also:
getSortDataDirectionStrings()

sortDataDirectionStrings

public static final String[] sortDataDirectionStrings
String names of the sort data direction.


cellClipHintsValues

public static final int[] cellClipHintsValues
Cell clip hints value that corresponds to the list of String names.

See Also:
getCellClipHintsStrings()

cellClipHintsStrings

public static final String[] cellClipHintsStrings
String names of the cell clip hints.

Constructor Detail

JCHiGridConverter

public JCHiGridConverter()
Method Detail

getParams

protected static void getParams(com.klg.jclass.higrid.beans.JCHiGrid comp)

getRowSelectionModeStrings

public static String[] getRowSelectionModeStrings()
Gets an internationalized array of row selection mode Strings.

Returns:

toRowSelectionMode

public static int toRowSelectionMode(com.klg.jclass.util.JCTypeConverter conv,
                                     String s,
                                     int def)
Converts a String to a row selection mode value.

Parameters:
conv -
def -
s -
Returns:

checkRowSelectionMode

public static void checkRowSelectionMode(int v)
Checks row selection mode enum value.

Parameters:
v -

getPrintFormatStrings

public static String[] getPrintFormatStrings()
Gets an internationalized array of print format Strings.

Returns:

toPrintFormat

public static int toPrintFormat(com.klg.jclass.util.JCTypeConverter conv,
                                String s,
                                int def)
Converts a String to a print format value.

Parameters:
conv -
def -
s -
Returns:

checkPrintFormat

public static void checkPrintFormat(int v)
Checks print format enum value.

Parameters:
v -

getAutoTraverseStrings

public static String[] getAutoTraverseStrings()
Gets an internationalized array of auto show Strings.

Returns:

toAutoTraverse

public static int toAutoTraverse(com.klg.jclass.util.JCTypeConverter conv,
                                 String s,
                                 int def)
Converts a String to an auto show value.

Parameters:
conv -
def -
s -
Returns:

checkAutoTraverse

public static void checkAutoTraverse(int v)
Checks auto show enum value.

Parameters:
v -

getRowFormatBorderStyleStrings

public static String[] getRowFormatBorderStyleStrings()
Gets an internationalized array of row format border style Strings.

Returns:

toRowFormatBorderStyle

public static int toRowFormatBorderStyle(com.klg.jclass.util.JCTypeConverter conv,
                                         String s,
                                         int def)
Converts a String to a row format border style value.

Parameters:
conv -
def -
s -
Returns:

checkRowFormatBorderStyle

public static void checkRowFormatBorderStyle(int v)
Checks row format border style enum value.

Parameters:
v -

getCellHorizontalAlignmentStrings

public static String[] getCellHorizontalAlignmentStrings()
Gets an internationalized array of cell horizontal alignment Strings.

Returns:

toCellHorizontalAlignment

public static int toCellHorizontalAlignment(com.klg.jclass.util.JCTypeConverter conv,
                                            String s,
                                            int def)
Converts a String to a cell horizontal alignment value.

Parameters:
conv -
def -
s -
Returns:

checkCellHorizontalAlignment

public static void checkCellHorizontalAlignment(int v)
Checks cell horizontal alignment enum value.

Parameters:
v -

getCellVerticalAlignmentStrings

public static String[] getCellVerticalAlignmentStrings()
Gets an internationalized array of cell vertical alignment Strings.

Returns:

toCellVerticalAlignment

public static int toCellVerticalAlignment(com.klg.jclass.util.JCTypeConverter conv,
                                          String s,
                                          int def)
Converts a String to a cell vertical alignment value.

Parameters:
conv -
def -
s -
Returns:

checkCellVerticalAlignment

public static void checkCellVerticalAlignment(int v)
Checks cell vertical alignment enum value.

Parameters:
v -

getMetaDataModelTypeStrings

public static String[] getMetaDataModelTypeStrings()
Gets an internationalized array of meta data value type Strings.

Returns:

toMetaDataModelType

public static int toMetaDataModelType(com.klg.jclass.util.JCTypeConverter conv,
                                      String s,
                                      int def)
Converts a String to a meta data value type.

Parameters:
conv -
def -
s -
Returns:

checkMetaDataModelType

public static void checkMetaDataModelType(int v)
Checks meta data value type enum value.

Parameters:
v -

getCellEditPolicyStrings

public static String[] getCellEditPolicyStrings()
Gets an internationalized array of cell edit policy Strings.

Returns:

toCellEditPolicy

public static int toCellEditPolicy(com.klg.jclass.util.JCTypeConverter conv,
                                   String s,
                                   int def)
Converts a String to a cell edit policy value.

Parameters:
conv -
def -
s -
Returns:

checkCellEditPolicy

public static void checkCellEditPolicy(int v)
Checks cell edit policy enum value.

Parameters:
v -

getSummaryColumnTypeStrings

public static String[] getSummaryColumnTypeStrings()
Gets an internationalized array of summary column type Strings.

Returns:

toSummaryColumnType

public static int toSummaryColumnType(com.klg.jclass.util.JCTypeConverter conv,
                                      String s,
                                      int def)
Converts a String to a summary column type value.

Parameters:
conv -
def -
s -
Returns:

checkSummaryColumnType

public static void checkSummaryColumnType(int v)
Checks summary column type enum value.

Parameters:
v -

getAggregateTypeStrings

public static String[] getAggregateTypeStrings()
Gets an internationalized array of aggregate type Strings.

Returns:

toAggregateType

public static int toAggregateType(com.klg.jclass.util.JCTypeConverter conv,
                                  String s,
                                  int def)
Converts a String to a aggregate type value.

Parameters:
conv -
def -
s -
Returns:

checkAggregateType

public static void checkAggregateType(int v)
Checks aggregate type enum value.

Parameters:
v -

getGridScrollbarDisplayStrings

public static String[] getGridScrollbarDisplayStrings()
Gets an internationalized array of grid scrollbar display Strings.

Returns:

toGridScrollbarDisplay

public static int toGridScrollbarDisplay(com.klg.jclass.util.JCTypeConverter conv,
                                         String s,
                                         int def)
Converts a String to a grid scrollbar display value.

Parameters:
conv -
def -
s -
Returns:

checkGridScrollbarDisplay

public static void checkGridScrollbarDisplay(int v)
Checks grid scrollbar display enum value.

Parameters:
v -

getFolderIconStyleStrings

public static String[] getFolderIconStyleStrings()
Gets an internationalized array of grid scrollbar display Strings.

Returns:

toFolderIconStyle

public static int toFolderIconStyle(com.klg.jclass.util.JCTypeConverter conv,
                                    String s,
                                    int def)
Converts a String to a grid scrollbar display value.

Parameters:
conv -
def -
s -
Returns:

checkFolderIconStyle

public static void checkFolderIconStyle(int v)
Checks grid scrollbar display enum value.

Parameters:
v -

getSortDataDirectionStrings

public static String[] getSortDataDirectionStrings()
Gets an internationalized array of sort data direction Strings.

Returns:

toSortDataDirection

public static int toSortDataDirection(com.klg.jclass.util.JCTypeConverter conv,
                                      String s,
                                      int def)
Converts a String to a sort data direction value.

Parameters:
conv -
def -
s -
Returns:

checkSortDataDirection

public static void checkSortDataDirection(int v)
Checks sort data direction enum value.

Parameters:
v -

getCellClipHintsStrings

public static String[] getCellClipHintsStrings()
Gets an internationalized array of cell clip hints Strings.

Returns:

toCellClipHints

public static int toCellClipHints(com.klg.jclass.util.JCTypeConverter conv,
                                  String s,
                                  int def)
Converts a String to a cell clip hints value.

Parameters:
conv -
def -
s -
Returns:

checkCellClipHints

public static void checkCellClipHints(int v)
Checks cell clip hints enum value.

Parameters:
v -

Copyright © 2004 Quest Software Inc..
All rights reserved.