|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sssw.rt.tview.AgoColumnBase | +--com.sssw.rt.tview.AgoColumnText | +--com.sssw.rt.tview.AgoColumnTextEditor
AgoColumnTextEditor columns can be used to construct editable text columns for AgcView and AgcViewDownloadable controls.
Fields inherited from class com.sssw.rt.tview.AgoColumnText |
MULTILINE |
Constructor Summary | |
AgoColumnTextEditor(int width,
boolean visible,
boolean transparent,
Color backgroundColor,
int borderType)
Used to instantiate and set several properties for the AgoColumnTextEditor object. |
Method Summary | |
boolean |
getEditWhenSelected()
Gets the state of the property which specifies whether cells in the column are always displayed as text editor cells, or are displayed as text editor cells only when selected by the user. |
boolean |
getTransparent()
Return the transparent property. |
void |
setEditWhenSelected(boolean editWhenSelected)
Sets the state of the property which specifies whether cells in the column are always displayed as text editor cells, or only when selected by the user. |
void |
setTransparent(boolean transparent)
Sets the transparency property for this column. |
Methods inherited from class com.sssw.rt.tview.AgoColumnText |
applyFormat,
getAdjustWidthForContent,
getColor,
getColumnName,
getDatatype,
getFontIdentifier,
getFormatPattern,
getFormatStyle,
getMaxPointSize,
getMinPointSize,
getPropertyName,
initColumnTextHeader,
initColumnTextProperty,
setAdjustWidthForContent,
setColor,
setColumnName,
setFontIdentifier,
setFormatPattern,
setFormatStyle,
setMaxPointSize,
setMinPointSize,
setPropertyName |
Methods inherited from class com.sssw.rt.tview.AgoColumnBase |
getAlignment,
getBackgroundColor,
getBorderType,
getDisplayWidth,
getHidden,
getResizable,
getSelectable,
getVisible,
getWidth,
isWidthFixed,
setAlignment,
setBackgroundColor,
setBorderType,
setFixedWidth,
setHidden,
setProportionalWidth,
setProportionalWidth,
setResizable,
setSelectable,
setVisible,
setWidth |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public AgoColumnTextEditor(int width, boolean visible, boolean transparent, Color backgroundColor, int borderType)
width
- column width, in pixelsvisible
- true means column is visibletransparent
- true means column is transparentColor
- background color of columnborderType
- column border type
For the borderType
parameter, see the setBorderType() method.
AgoColumnTextEditor colTxtEdit = new AgoColumnTextEditor(100, // width in pixels true, // visible false, // not transparent Color.white, // background color AgoColumnBase.BORDER_3D); // border type
AgoColumnBase.setBorderType(int borderType)
Method Detail |
public boolean getEditWhenSelected()
If set to true, cells in the column are displayed as a text editor cells only when selected by the user. Otherwise, cells are always displayed as text editor cells. Text editor cells are visually different. They are displayed with a 3D border.
boolean editOnSel = colTextEdit.getEditWhenSelected();
AgoColumnTextEditor.setEditWhenSelected(boolean editWhenSelected)
public void setEditWhenSelected(boolean editWhenSelected)
editWhenSelected
- if set to true, cells in the column are displayed as a text
editor cells only when selected by the user. Otherwise, cells are always displayed as text editor cells.
Text editor cells are visually different. They are displayed with a 3D border.colTextEdit.setEditWhenSelected(true);
AgoColumnTextEditor.getEditWhenSelected()
public boolean getTransparent()
If set to true the column is transparent.
boolean isTransparent = colTextEdit.getTransparent();
AgoColumnTextEditor.setTransparent(boolean transparent)
public void setTransparent(boolean transparent)
transparent
- if set to true the column is transparentcolTextEdit.setTransparent(true);
AgoColumnTextEditor.getTransparent()
|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |