JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.higrid
Class EditStatusCellFormat

java.lang.Object
  |
  +--com.klg.jclass.higrid.CellStyle
        |
        +--com.klg.jclass.higrid.CellFormat
              |
              +--com.klg.jclass.higrid.IndicatorCellFormat
                    |
                    +--com.klg.jclass.higrid.EditStatusCellFormat
All Implemented Interfaces:
CellStyleModel, Cloneable, JCCellInfo, Serializable

public class EditStatusCellFormat
extends IndicatorCellFormat

The EditStatusCellFormat class manages certain properties as class properties: BorderInsets, MarginInsets, width and showing

See Also:
Serialized Form

Field Summary
protected static Insets globalBorderInsets
           
protected static Insets globalMarginInsets
           
protected static boolean globalShowing
           
protected static int globalWidth
           
static String NAME
          NAME is the String name for all cells of type EditStatusCellFormat
 
Fields inherited from class com.klg.jclass.higrid.CellFormat
drawingArea, drawingAreaValid, editable, editor, editorName, height, MINIMUM_INITIAL_HEADER_WIDTH, name, parent, preferredTotalArea, preferredTotalAreaValid, renderer, rendererName, rowHeightIsValid, showing, sortable, text, totalArea, totalAreaValid, translationOffset, translationOffsetValid, type, width
 
Fields inherited from class com.klg.jclass.higrid.CellStyle
allowWidthSizing, backgroundColor, borderInsets, borderStyle, clipHints, editHeightPolicy, editWidthPolicy, font, foregroundColor, horizontalAlignment, marginInsets, selectAll, selectedBackgroundColor, selectedForegroundColor, verticalAlignment
 
Fields inherited from interface com.klg.jclass.cell.JCCellInfo
BOTTOM, CENTER, LEFT, RIGHT, SHOW_ALL, SHOW_HORIZONTAL, SHOW_NONE, SHOW_VERTICAL, TOP
 
Constructor Summary
EditStatusCellFormat(com.klg.jclass.higrid.HiGrid grid)
          Default Contructor
 
Method Summary
 Insets getBorderInsets()
          Retrieves the border insets for this object.
 Insets getMarginInsets()
          Retrieves the margin insets for this object.
 int getWidth()
          Retrieves the width of this object.
 boolean isShowing()
          Retrieves whether this object is showing.
 void setBorderInsets(Insets insets)
          Sets the border insets for this object.
 void setMarginInsets(Insets insets)
          Sets the margin insets for this object.
 void setShowing(boolean showing)
          Sets whether this object is showing.
 void setWidth(int width)
          Sets the width of this object.
 
Methods inherited from class com.klg.jclass.higrid.CellFormat
calculateDrawingArea, calculatePreferredTotalArea, calculateTotalArea, calculateTranslationOffset, getCellEditor, getCellEditorName, getCellRenderer, getCellRendererName, getDataType, getDrawingArea, getFontHeight, getFontHeight, getHeight, getName, getOtherCellFormat, getParent, getPreferredTotalArea, getSortable, getStringWidth, getText, getTotalArea, getTranslationOffset, getType, isEditable, isEnabled, rowHeightChanged, setAllowWidthSizing, setCellEditor, setCellEditorName, setCellRenderer, setCellRendererName, setDefaultSize, setEditable, setFont, setHeight, setName, setOtherShowing, setOtherWidth, setParent, setSortable, setText, setType, setWidth, widthChanged
 
Methods inherited from class com.klg.jclass.higrid.CellStyle
copyFromCellStyle, copyPlafFromCellStyle, getAllowWidthSizing, getBackground, getBorderStyle, getClipHints, getEditHeightPolicy, getEditWidthPolicy, getFont, getForeground, getHorizontalAlignment, getSelectAll, getSelectedBackground, getSelectedForeground, getVerticalAlignment, setBackground, setBorderStyle, setClipHints, setEditHeightPolicy, setEditWidthPolicy, setFont, setForeground, setHorizontalAlignment, setOtherAllowWidthSizing, setSelectAll, setSelectedBackground, setSelectedForeground, setVerticalAlignment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.klg.jclass.cell.JCCellInfo
getBackground, getBorderStyle, getClipHints, getFont, getForeground, getHorizontalAlignment, getSelectAll, getSelectedBackground, getSelectedForeground, getVerticalAlignment
 

Field Detail

NAME

public static final String NAME
NAME is the String name for all cells of type EditStatusCellFormat

See Also:
Constant Field Values

globalShowing

protected static boolean globalShowing

globalBorderInsets

protected static Insets globalBorderInsets

globalMarginInsets

protected static Insets globalMarginInsets

globalWidth

protected static int globalWidth
Constructor Detail

EditStatusCellFormat

public EditStatusCellFormat(com.klg.jclass.higrid.HiGrid grid)
Default Contructor

Method Detail

getWidth

public int getWidth()
Retrieves the width of this object.

Overrides:
getWidth in class CellFormat
Returns:
The current width.

setWidth

public void setWidth(int width)
Sets the width of this object.

Overrides:
setWidth in class CellFormat
Parameters:
width - The new width.

isShowing

public boolean isShowing()
Retrieves whether this object is showing.

Overrides:
isShowing in class CellFormat
Returns:
Whether object is currently showing.

setShowing

public void setShowing(boolean showing)
Sets whether this object is showing.

Overrides:
setShowing in class CellFormat
Parameters:
showing - Whether object is to be shown.

getBorderInsets

public Insets getBorderInsets()
Retrieves the border insets for this object.

Specified by:
getBorderInsets in interface JCCellInfo
Overrides:
getBorderInsets in class CellStyle
Returns:
The current border insets.

setBorderInsets

public void setBorderInsets(Insets insets)
Sets the border insets for this object.

Specified by:
setBorderInsets in interface CellStyleModel
Overrides:
setBorderInsets in class CellFormat

getMarginInsets

public Insets getMarginInsets()
Retrieves the margin insets for this object.

Specified by:
getMarginInsets in interface JCCellInfo
Overrides:
getMarginInsets in class CellStyle
Returns:
The current margin insets.

setMarginInsets

public void setMarginInsets(Insets insets)
Sets the margin insets for this object.

Specified by:
setMarginInsets in interface CellStyleModel
Overrides:
setMarginInsets in class CellFormat
Parameters:
insets - The new margin insets.

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