public abstract class AbstractCanvasInlineTextEditorControl extends AbstractCanvasHandlerRegistrationControl<AbstractCanvasHandler> implements CanvasInlineTextEditorControl<AbstractCanvasHandler,EditorSession,Element>
CanvasControl.SessionAware<S extends ClientSession>RequiresCommandManager.CommandManagerProvider<H extends CanvasHandler>| Modifier and Type | Field and Description |
|---|---|
static String |
ALIGN_LEFT |
static String |
ALIGN_MIDDLE |
static String |
ALIGN_TOP |
protected double |
borderOffsetX |
protected double |
borderOffsetY |
static String |
DEFAULT_FONT_FAMILY |
static double |
DEFAULT_FONT_SIZE |
static double |
DEFAULT_MARGIN_X |
protected double |
fontSizeCorrection |
protected double |
innerBoxOffsetY |
protected boolean |
isMultiline |
protected double |
maxInnerLeftBoxHeight |
protected double |
maxInnerLeftBoxWidth |
protected double |
maxInnerTopBoxHeight |
protected double |
maxInnerTopBoxWidth |
static double |
NOT_EDIT_ALPHA |
static String |
ORIENTATION_HORIZONTAL |
static String |
ORIENTATION_VERTICAL |
protected double |
paletteOffsetX |
static String |
POSITION_INSIDE |
static String |
POSITION_OUTSIDE |
protected double |
scrollBarOffset |
static double |
SHAPE_EDIT_ALPHA |
static double |
TITLE_EDIT_ALPHA |
protected double |
topBorderOffset |
protected double |
underBoxOffset |
canvasHandler| Constructor and Description |
|---|
AbstractCanvasInlineTextEditorControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(EditorSession session) |
protected void |
doDestroy() |
protected void |
doInit() |
protected abstract FloatingView<com.google.gwt.user.client.ui.IsWidget> |
getFloatingView() |
protected abstract TextEditorBox<AbstractCanvasHandler,Element> |
getTextEditorBox() |
CanvasInlineTextEditorControl<AbstractCanvasHandler,EditorSession,Element> |
hide() |
void |
register(Element element) |
CanvasInlineTextEditorControl<AbstractCanvasHandler,EditorSession,Element> |
rollback() |
void |
scheduleDeferredCommand(com.google.gwt.core.client.Scheduler.ScheduledCommand command) |
void |
setCommandManagerProvider(RequiresCommandManager.CommandManagerProvider<AbstractCanvasHandler> provider) |
CanvasInlineTextEditorControl<AbstractCanvasHandler,EditorSession,Element> |
show(Element item) |
protected com.google.gwt.user.client.ui.IsWidget |
wrapTextEditorBoxElement(org.jboss.errai.common.client.dom.HTMLElement element) |
checkEventContext, checkNotRegistered, clear, deregister, deregister, doClear, getRegisteredElements, isRegistered, isRegistered, registerHandler, updatedestroy, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, deregisterdestroy, initpublic static final double SHAPE_EDIT_ALPHA
public static final double TITLE_EDIT_ALPHA
public static final double NOT_EDIT_ALPHA
public static final String ALIGN_MIDDLE
public static final String ALIGN_LEFT
public static final String ALIGN_TOP
public static final String POSITION_INSIDE
public static final String POSITION_OUTSIDE
public static final String ORIENTATION_VERTICAL
public static final String ORIENTATION_HORIZONTAL
public static final double DEFAULT_MARGIN_X
public static final double DEFAULT_FONT_SIZE
public static final String DEFAULT_FONT_FAMILY
protected boolean isMultiline
protected double borderOffsetX
protected double borderOffsetY
protected double underBoxOffset
protected double topBorderOffset
protected double fontSizeCorrection
protected double maxInnerLeftBoxWidth
protected double maxInnerLeftBoxHeight
protected double maxInnerTopBoxWidth
protected double maxInnerTopBoxHeight
protected double scrollBarOffset
protected double paletteOffsetX
protected double innerBoxOffsetY
public AbstractCanvasInlineTextEditorControl()
protected abstract FloatingView<com.google.gwt.user.client.ui.IsWidget> getFloatingView()
protected abstract TextEditorBox<AbstractCanvasHandler,Element> getTextEditorBox()
public void bind(EditorSession session)
bind in interface CanvasControl.SessionAware<EditorSession>protected void doInit()
doInit in class AbstractCanvasHandlerRegistrationControl<AbstractCanvasHandler>protected com.google.gwt.user.client.ui.IsWidget wrapTextEditorBoxElement(org.jboss.errai.common.client.dom.HTMLElement element)
public void register(Element element)
register in interface CanvasRegistrationControl<AbstractCanvasHandler,Element>public CanvasInlineTextEditorControl<AbstractCanvasHandler,EditorSession,Element> show(Element item)
show in interface CanvasInlineTextEditorControl<AbstractCanvasHandler,EditorSession,Element>public void setCommandManagerProvider(RequiresCommandManager.CommandManagerProvider<AbstractCanvasHandler> provider)
setCommandManagerProvider in interface RequiresCommandManager<AbstractCanvasHandler>protected void doDestroy()
doDestroy in class AbstractCanvasHandlerRegistrationControl<AbstractCanvasHandler>public CanvasInlineTextEditorControl<AbstractCanvasHandler,EditorSession,Element> rollback()
rollback in interface CanvasInlineTextEditorControl<AbstractCanvasHandler,EditorSession,Element>public CanvasInlineTextEditorControl<AbstractCanvasHandler,EditorSession,Element> hide()
hide in interface CanvasInlineTextEditorControl<AbstractCanvasHandler,EditorSession,Element>public void scheduleDeferredCommand(com.google.gwt.core.client.Scheduler.ScheduledCommand command)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.