Class JmixResizableTextAreaWrapperWidget
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.SimplePanel
com.vaadin.client.ui.VCustomComponent
com.vaadin.client.ui.VCustomField
io.jmix.ui.widget.client.resizabletextarea.JmixResizableTextAreaWrapperWidget
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.user.client.EventListener
,com.google.gwt.user.client.ui.AcceptsOneWidget
,com.google.gwt.user.client.ui.HasOneWidget
,com.google.gwt.user.client.ui.HasVisibility
,com.google.gwt.user.client.ui.HasWidgets
,com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
,com.google.gwt.user.client.ui.IsWidget
,com.vaadin.client.Focusable
,Iterable<com.google.gwt.user.client.ui.Widget>
public class JmixResizableTextAreaWrapperWidget
extends com.vaadin.client.ui.VCustomField
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
static interface
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected static final int
protected static final int
protected ResizeDirection
static final String
protected com.google.gwt.dom.client.Element
Fields inherited from class com.vaadin.client.ui.VCustomField
focusDelegate
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
captureEvents
(com.google.gwt.user.client.Event event) getText()
protected com.google.gwt.dom.client.Element
protected void
handleResize
(com.google.gwt.user.client.Event event) boolean
boolean
protected void
releaseCapture
(com.google.gwt.user.client.Event event) void
setEnabled
(boolean enabled) void
setResizableDirection
(ResizeDirection resizableDirection) Methods inherited from class com.vaadin.client.ui.VCustomField
focus, setFocusDelegate, setFocusDelegate
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel
add, getContainerElement, getWidget, iterator, remove, setWidget, setWidget
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
RESIZE_ELEMENT
- See Also:
-
dragDrop
protected boolean dragDrop -
enabled
protected boolean enabled -
resizableDirection
-
resizeElement
protected com.google.gwt.dom.client.Element resizeElement -
resizeHandler
-
MOUSE_EVENTS
protected static final int MOUSE_EVENTS- See Also:
-
MINIMAL_WIDTH
protected static final int MINIMAL_WIDTH- See Also:
-
-
Constructor Details
-
JmixResizableTextAreaWrapperWidget
public JmixResizableTextAreaWrapperWidget()
-
-
Method Details
-
isResizable
public boolean isResizable() -
setResizableDirection
-
getResizableDirection
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
captureEvents
protected void captureEvents(com.google.gwt.user.client.Event event) -
releaseCapture
protected void releaseCapture(com.google.gwt.user.client.Event event) -
handleResize
protected void handleResize(com.google.gwt.user.client.Event event) -
getTextArea
protected com.google.gwt.dom.client.Element getTextArea() -
getText
-