|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sibvisions.rad.ui.celleditor.AbstractStyledCellEditor
public abstract class AbstractStyledCellEditor
The AbstractStyledCellEditor
is an abstract implementation of
IStyledCellEditor
which provides a base implementation.
Field Summary | |
---|---|
protected int |
horizontalAlignment
The horizontal alignment. |
protected int |
verticalAlignment
The vertical alignment. |
Fields inherited from interface javax.rad.ui.IAlignmentConstants |
---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
Constructor Summary | |
---|---|
protected |
AbstractStyledCellEditor()
Creates a new instance of AbstractStyledCellEditor . |
|
AbstractStyledCellEditor(int pHorizontalAlignment,
int pVerticalAlignment)
Creates a new instance of AbstractStyledCellEditor . |
Method Summary | |
---|---|
int |
getHorizontalAlignment()
Returns the alignment along the x axis. |
int |
getVerticalAlignment()
Returns the alignment along the y axis. |
boolean |
isDirectCellEditor()
Defines, if the editor should edit directly in complex controls. |
void |
setHorizontalAlignment(int pHorizontalAlignment)
Sets the horizontal alignment. |
void |
setVerticalAlignment(int pVerticalAlignment)
Sets the vertical alignment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.rad.model.ui.ICellEditor |
---|
createCellEditorHandler |
Field Detail |
---|
protected int horizontalAlignment
protected int verticalAlignment
Constructor Detail |
---|
protected AbstractStyledCellEditor()
AbstractStyledCellEditor
.
public AbstractStyledCellEditor(int pHorizontalAlignment, int pVerticalAlignment)
AbstractStyledCellEditor
.
pHorizontalAlignment
- the horizontal alignment.pVerticalAlignment
- the vertical alignment.Method Detail |
---|
public int getHorizontalAlignment()
getHorizontalAlignment
in interface IAlignmentConstants
public int getVerticalAlignment()
getVerticalAlignment
in interface IAlignmentConstants
public boolean isDirectCellEditor()
isDirectCellEditor
in interface ICellEditor
ICellEditorHandler
.public void setHorizontalAlignment(int pHorizontalAlignment)
setHorizontalAlignment
in interface IAlignmentConstants
pHorizontalAlignment
- the new vertical alignmentpublic void setVerticalAlignment(int pVerticalAlignment)
setVerticalAlignment
in interface IAlignmentConstants
pVerticalAlignment
- the new vertical alignment
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |