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
Nested ClassesModifier and TypeClassDescriptionprotected classstatic interfaceNested 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.DebugIdImplEnabledNested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected static final intprotected static final intprotected ResizeDirectionstatic final Stringprotected com.google.gwt.dom.client.ElementFields inherited from class com.vaadin.client.ui.VCustomField
focusDelegateFields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcaptureEvents(com.google.gwt.user.client.Event event) getText()protected com.google.gwt.dom.client.Elementprotected voidhandleResize(com.google.gwt.user.client.Event event) booleanbooleanprotected voidreleaseCapture(com.google.gwt.user.client.Event event) voidsetEnabled(boolean enabled) voidsetResizableDirection(ResizeDirection resizableDirection) Methods inherited from class com.vaadin.client.ui.VCustomField
focus, setFocusDelegate, setFocusDelegateMethods inherited from class com.google.gwt.user.client.ui.SimplePanel
add, getContainerElement, getWidget, iterator, remove, setWidget, setWidgetMethods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, removeMethods 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, unsinkEventsMethods 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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
-