public class SpenControlLine extends SpenControlBase
STYLE_BORDER_NONE, STYLE_BORDER_NONE_ACTION_NONE, STYLE_BORDER_OBJECT, STYLE_BORDER_STATIC| Constructor and Description |
|---|
SpenControlLine(Context context,
SpenPageDoc pageDoc)
ControlLine constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the SpenControlLine instance.
|
void |
fit()
Fit control region according to object's size in list.
|
SpenObjectLine |
getObject()
Get the line object. |
void |
setObject(SpenObjectLine objectLine)
Set the specified line object. |
getContextMenu, getMinResizeRect, getObjectList, getPixel, getRect, getStyle, isClosed, isContextMenuItemEnabled, isContextMenuVisible, isDimEnabled, isObjectOutlineEnabled, isTouchEnabled, onDraw, onHoverEvent, onTouchEvent, onWindowFocusChanged, setContextMenu, setContextMenuItemEnabled, setContextMenuVisible, setDimEnabled, setMinResizeRect, setObjectOutlineEnabled, setStyle, setTouchEnabledpublic SpenControlLine(Context context, SpenPageDoc pageDoc)
context - The context for the application.pageDoc - The page document.NullPointerException - Thrown if context is null.public void setObject(SpenObjectLine objectLine)
objectLine - The line object to set.getObject()public SpenObjectLine getObject()
setObject(SpenObjectLine objectLine)public void close()
close in class SpenControlBasepublic void fit()
fit in class SpenControlBase