public class EventCanvas extends VLayout
layout subclass for
displaying a CalendarEvent in a CalendarView. Each instance can be styled, and can render a single area, or separate
header and body areas, for the look of a Window.
The component's
close and context buttons, and any necessary resizers, are shown on rollover.
config, configOnly, factoryCreated, factoryProperties, id, nativeObject, scClassName| Constructor and Description |
|---|
EventCanvas() |
EventCanvas(com.google.gwt.core.client.JavaScriptObject jsObj) |
| Modifier and Type | Method and Description |
|---|---|
static void |
changeAutoChildDefaults(java.lang.String autoChildName,
Canvas defaults)
Changes the defaults for Canvas AutoChildren named
autoChildName. |
static void |
changeAutoChildDefaults(java.lang.String autoChildName,
FormItem defaults)
Changes the defaults for FormItem AutoChildren named
autoChildName. |
protected com.google.gwt.core.client.JavaScriptObject |
create() |
java.lang.String |
getBodyHTML()
Return the HTML to show in the body of this EventCanvas.
|
java.lang.String |
getBodyStyle()
CSS class for the
body area of the EventCanvas. |
Calendar |
getCalendar()
The
Calendar in which this EventCanvas is being rendered. |
CalendarView |
getCalendarView()
The
CalendarView in which this EventCanvas is being rendered. |
java.lang.Boolean |
getEscapeHTML()
When set to true, escapes the HTML displayed in this EventCanvas and it's hover.
|
CalendarEvent |
getEvent()
The
event associated with this EventCanvas. |
Img |
getGripper()
When
showGripper is true, this is the component
that will be rendered adjacent to the canvas and allow the canvas to be moved with the mouse. |
java.lang.String |
getGripperIcon()
The source for the icon displayed as the "gripper" that snaps to the top of an event canvas and allows an event to be
dragged with the mouse.
|
java.lang.Integer |
getHeaderHeight()
|
java.lang.String |
getHeaderHTML()
Returns the HTML to show in the header of this EventCanvas.
|
java.lang.String |
getHeaderStyle()
CSS class for the
header area of the EventCanvas. |
java.lang.Boolean |
getHeaderWrap()
Whether the
header area should autosize
vertically to display all contents. |
boolean |
getIsIndicatorCanvas()
Readonly property dictating whether this is a special
IndicatorCanvas
subclass. |
boolean |
getIsZoneCanvas()
Readonly property indicating whether this is a special
ZoneCanvas subclass. |
Label |
getLabel()
When
showLabel is true, this autoChild is used to
display the header text, adjacent to this
eventCanvas. |
com.smartgwt.logicalstructure.core.LogicalStructureObject |
getLogicalStructure()
Getter implementing the
LogicalStructure interface,
which supports Eclipse's logical structure debugging facility. |
static EventCanvas |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.lang.Boolean |
getShowBody()
Renders a body DIV that fills the main area of the canvas, or all of it if no
header is shown. |
java.lang.Boolean |
getShowContextButton()
When set to true, shows a
small icon
in the top corner of an EventCanvas, beside the close-icon. |
java.lang.Boolean |
getShowGripper()
When set to true, shows the
gripper component, which
snaps, centered, to the top edge of the eventCanvas and can be used to move it with the mouse. |
java.lang.Boolean |
getShowHeader()
|
java.lang.Boolean |
getShowLabel()
When set to true, the
header text for the
associated event is not rendered inside the eventCanvas itself. |
java.lang.Boolean |
getShowRolloverControls()
When set to the default value of true, this attribute causes a set of components to be shown when the mouse rolls over
this EventCanvas.
|
java.lang.String |
getStyleName()
The CSS class for this EventCanvas.
|
java.lang.Boolean |
getVerticalResize()
Indicates the orientation of the event in its containing view.
|
EventCanvas |
setBodyStyle(java.lang.String bodyStyle)
CSS class for the
body area of the EventCanvas. |
EventCanvas |
setCalendar(Calendar calendar)
The
Calendar in which this EventCanvas is being rendered. |
EventCanvas |
setCalendarView(CalendarView calendarView)
The
CalendarView in which this EventCanvas is being rendered. |
static void |
setDefaultProperties(EventCanvas eventCanvasProperties)
Class level method to set the default properties of this class.
|
EventCanvas |
setEscapeHTML(java.lang.Boolean escapeHTML)
When set to true, escapes the HTML displayed in this EventCanvas and it's hover.
|
EventCanvas |
setEvent(CalendarEvent event)
The
event associated with this EventCanvas. |
EventCanvas |
setGripperIcon(java.lang.String gripperIcon)
The source for the icon displayed as the "gripper" that snaps to the top of an event canvas and allows an event to be
dragged with the mouse.
|
EventCanvas |
setHeaderHeight(java.lang.Integer headerHeight)
|
EventCanvas |
setHeaderStyle(java.lang.String headerStyle)
CSS class for the
header area of the EventCanvas. |
EventCanvas |
setHeaderWrap(java.lang.Boolean headerWrap)
Whether the
header area should autosize
vertically to display all contents. |
com.smartgwt.logicalstructure.core.LogicalStructureObject |
setLogicalStructure(com.smartgwt.logicalstructure.widgets.calendar.EventCanvasLogicalStructure s)
Setter implementing the
LogicalStructure interface,
which supports Eclipse's logical structure debugging facility. |
EventCanvas |
setShowBody(java.lang.Boolean showBody)
Renders a body DIV that fills the main area of the canvas, or all of it if no
header is shown. |
EventCanvas |
setShowContextButton(java.lang.Boolean showContextButton)
When set to true, shows a
small icon
in the top corner of an EventCanvas, beside the close-icon. |
EventCanvas |
setShowGripper(java.lang.Boolean showGripper)
When set to true, shows the
gripper component, which
snaps, centered, to the top edge of the eventCanvas and can be used to move it with the mouse. |
EventCanvas |
setShowHeader(java.lang.Boolean showHeader)
|
EventCanvas |
setShowLabel(java.lang.Boolean showLabel)
When set to true, the
header text for the
associated event is not rendered inside the eventCanvas itself. |
EventCanvas |
setShowRolloverControls(java.lang.Boolean showRolloverControls)
When set to the default value of true, this attribute causes a set of components to be shown when the mouse rolls over
this EventCanvas.
|
void |
setStyleName(java.lang.String styleName)
The CSS class for this EventCanvas.
|
EventCanvas |
setVerticalResize(java.lang.Boolean verticalResize)
Indicates the orientation of the event in its containing view.
|
setDefaultProperties, setLogicalStructureaddMember, addMember, addMember, addMember, addMemberPostCreate, addMemberPostCreate, addMemberPreCreate, addMemberPreCreate, addMembers, addMembers, addMembersChangedHandler, getAnimateMembers, getAnimateMemberTime, getCanDropComponents, getChildTabPosition, getDefaultResizeBars, getDropComponent, getDropLine, getDropLineThickness, getDropPosition, getEditProxyConstructor, getEnforcePolicy, getHPolicy, getLayoutBottomMargin, getLayoutEndMargin, getLayoutLeftMargin, getLayoutMargin, getLayoutRightMargin, getLayoutStartMargin, getLayoutTopMargin, getLeaveScrollbarGap, getLocateMembersBy, getLocateMembersType, getManagePercentBreadth, getMember, getMember, getMemberDefaultBreadth, getMemberNumber, getMemberNumber, getMemberOverlap, getMembers, getMembersLength, getMembersMargin, getMinMemberLength, getMinMemberSize, getOverflow, getPaddingAsLayoutMargin, getResizeBar, getResizeBarClass, getResizeBarSize, getReverseOrder, getShowDragPlaceHolder, getShowDropLines, getStackZIndex, getVertical, getVPolicy, hasMember, hideDropLine, hideMember, hideMember, layoutIsDirty, onInit_Layout, onInit, reflow, reflow, reflowNow, removeMember, removeMembers, removeMembers, reorderMember, reorderMembers, replaceMember, revealChild, revealChild, setAlign, setAlign, setAnimateMembers, setAnimateMemberTime, setCanDropComponents, setDefaultLayoutAlign, setDefaultLayoutAlign, setDefaultProperties, setDefaultResizeBars, setDropLineProperties, setDropLineThickness, setEditProxyConstructor, setEnforcePolicy, setHPolicy, setLayoutBottomMargin, setLayoutEndMargin, setLayoutLeftMargin, setLayoutMargin, setLayoutRightMargin, setLayoutStartMargin, setLayoutTopMargin, setLeaveScrollbarGap, setLocateMembersBy, setLocateMembersType, setLogicalStructure, setManagePercentBreadth, setMemberOverlap, setMembers, setMembersMargin, setMinBreadthMember, setMinBreadthMember, setMinBreadthMember, setMinMemberLength, setMinMemberSize, setOverflow, setPaddingAsLayoutMargin, setPlaceHolderDefaults, setPlaceHolderProperties, setResizeBarClass, setResizeBarSize, setReverseOrder, setShowDragPlaceHolder, setShowDropLines, setStackZIndex, setVertical, setVisibleMember, setVPolicy, showMember, showMemberaddChild, addChild, addChild, addChild, addChild, addClearHandler, addClickHandler, addDoubleClickHandler, addDragMoveHandler, addDragRepositionMoveHandler, addDragRepositionStartHandler, addDragRepositionStopHandler, addDragResizeMoveHandler, addDragResizeStartHandler, addDragResizeStopHandler, addDragStartHandler, addDragStopHandler, addDropHandler, addDropMoveHandler, addDropOutHandler, addDropOverHandler, addFocusChangedHandler, addHoverHandler, addHoverHiddenHandler, addKeyDownHandler, addKeyPressHandler, addMouseDownHandler, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseStillDownHandler, addMouseUpHandler, addMouseWheelHandler, addMovedHandler, addParentMovedHandler, addPeer, addPeer, addPeer, addPeer, addResizedHandler, addRightMouseDownHandler, addRuleContextChangedHandler, addScrolledHandler, addShowContextMenuHandler, addSnapAlignCandidate, addStyleName, addVisibilityChangedHandler, adjustForContent, animateFade, animateFade, animateFade, animateFade, animateFade, animateFade, animateFade, animateFade, animateHide, animateHide, animateHide, animateHide, animateHide, animateHide, animateHide, animateMove, animateMove, animateMove, animateMove, animateRect, animateRect, animateRect, animateRect, animateResize, animateResize, animateResize, animateResize, animateScroll, animateScroll, animateScroll, animateScroll, animateScroll, animateScroll, animateShow, animateShow, animateShow, animateShow, animateShow, animateShow, animateShow, asSGWTComponent, blur, bringToFront, clear, clearExplicitTabIndex, clickMaskUp, clickMaskUp, contains, contains, containsEvent, containsEventTarget, containsFocus, containsPoint, containsPoint, dataContextChanged, deparent, depeer, disable, enable, encloses, focus, focusAfterGroup, focusAtEnd, focusInNextTabElement, focusInPreviousTabElement, getAbsoluteLeft, getAbsoluteTop, getAccessKey, getAdaptiveHeightPriority, getAdaptiveWidthPriority, getAlwaysManageFocusNavigation, getAlwaysShowScrollbars, getAnimateAcceleration, getAnimateFadeTime, getAnimateHideAcceleration, getAnimateHideEffect, getAnimateHideTime, getAnimateMoveAcceleration, getAnimateMoveTime, getAnimateRectAcceleration, getAnimateRectTime, getAnimateResizeAcceleration, getAnimateResizeLayoutMode, getAnimateResizeTime, getAnimateScrollAcceleration, getAnimateScrollTime, getAnimateShowAcceleration, getAnimateShowEffect, getAnimateShowTime, getAnimateTime, getAppImgDir, getAriaHandleID, getAriaRole, getAriaStateDefaults, getAutoMaskComponents, getAutoParent, getAutoPopulateData, getAutoShowParent, getBackgroundColor, getBackgroundImage, getBackgroundPosition, getBackgroundRepeat, getBorder, getBorderRadius, getBottom, getById, getByJSObject, getByLocalId, getCanAcceptDrop, getCanAdaptHeight, getCanAdaptWidth, getCanDrag, getCanDragReposition, getCanDragResize, getCanDragScroll, getCanDrop, getCanDropBefore, getCanFocus, getCanHover, getCanSelectText, getCanvasAutoChild, getCanvasItem, getChildren, getChildrenResizeSnapAlign, getChildrenSnapAlign, getChildrenSnapCenterAlign, getChildrenSnapEdgeAlign, getChildrenSnapResizeToGrid, getChildrenSnapToGrid, getClassName, getComponentMask, getComponentMaskDefaults, getContentElement, getContents, getContextMenu, getCorrectZoomOverflow, getCursor, getDataContext, getDataPath, getDefaultHeight, getDefaultWidth, getDestroyed, getDestroying, getDisabled, getDisabledCursor, getDisableTouchScrollingForDrag, getDoubleClickDelay, getDragAppearance, getDragIntersectStyle, getDragMaskType, getDragMaxHeight, getDragMaxWidth, getDragMinHeight, getDragMinWidth, getDragOpacity, getDragRepositionAppearance, getDragRepositionCursor, getDragResizeAppearance, getDragScrollDelay, getDragStartDistance, getDragTarget, getDragTargetAsString, getDragType, getDropTarget, getDropTargetAsString, getDropTypes, getDropTypesAsString, getDynamicContents, getEdgeBackgroundColor, getEdgeCenterBackgroundColor, getEdgeImage, getEdgeMarginSize, getEdgeOffset, getEdgeOpacity, getEdgeShowCenter, getEdgeSize, getEditNode, getEditProxy, getElement, getElement, getEnableWhen, getEndLine, getEventEdge, getEventEdge, getExtraSpace, getFacetId, getFloatingScrollbars, getFormItemAutoChild, getForwardSVGeventsToObject, getFullDataPath, getGroupBorderCSS, getGroupLabelBackgroundColor, getGroupLabelStyleName, getGroupPadding, getGroupTitle, getHeight, getHeightAsString, getHideUsingDisplayNone, getHoverAlign, getHoverAutoDestroy, getHoverAutoFitMaxWidth, getHoverAutoFitMaxWidthAsString, getHoverAutoFitWidth, getHoverComponent, getHoverDelay, getHoverFocusKey, getHoverHeight, getHoverHTML, getHoverMoveWithMouse, getHoverOpacity, getHoverPersist, getHoverScreen, getHoverStyle, getHoverVAlign, getHoverWidth, getHoverWrap, getHSnapPosition, getHSnapPosition, getHtmlElement, getHtmlElementAsString, getHtmlPosition, getImage, getImgURL, getImgURL, getInnerContentHeight, getInnerContentWidth, getInnerHeight, getInnerWidth, getIsGroup, getIsPrinting, getIsRuleScope, getIsSnapAlignCandidate, getKeepInParentRect, getLayoutAlign, getLeaveGroupLabelSpace, getLeavePageSpace, getLeft, getLeftAsString, getLocalId, getLocateByIDOnly, getLocateChildrenBy, getLocateChildrenType, getLocatePeersBy, getLocatePeersType, getLocatorName, getMargin, getMasterCanvas, getMasterElement, getMatchElement, getMatchElementHeight, getMatchElementWidth, getMaxHeight, getMaxWidth, getMaxZoomOverflowError, getMenuConstructor, getMinHeight, getMinNonEdgeSize, getMinWidth, getMomentumScrollMinSpeed, getMouseStillDownDelay, getMouseStillDownInitialDelay, getName, getNativeAutoHideScrollbars, getNextZIndex, getNoDoubleClicks, getNoDropCursor, getOffsetHeight, getOffsetWidth, getOffsetX, getOffsetY, getOpacity, getOuterElement, getPadding, getPageBottom, getPageLeft, getPageRect, getPageRight, getPageTop, getPaletteDefaults, getPanelContainer, getParentCanvas, getParentElement, getPeers, getPercentBox, getPercentSource, getPersistentMatchElement, getPointerSettings, getPointerTarget, getPointerTargetAsString, getPosition, getPrefix, getPrintChildrenAbsolutelyPositioned, getPrintHTML, getPrintHTML, getPrintStyleName, getPrompt, getProportionalResizeModifiers, getProportionalResizing, getReceiveScrollbarEvents, getRect, getRedrawOnResize, getResizeBarTarget, getResizeFrom, getRight, getRuleContext, getRuleContext, getRuleScope, getScrollbarSize, getScrollBottom, getScrollHeight, getScrollLeft, getScrollRight, getScrollTop, getScrollWidth, getShadowColor, getShadowDepth, getShadowHOffset, getShadowImage, getShadowOffset, getShadowSoftness, getShadowSpread, getShadowVOffset, getShouldPrint, getShowCustomScrollbars, getShowDragShadow, getShowEdges, getShowHover, getShowHoverComponents, getShowPointer, getShowResizeBar, getShowShadow, getShowSnapGrid, getShrinkElementOnHide, getSizeMayChangeOnRedraw, getSkinImgDir, getSnapAlignCandidates, getSnapAlignCenterLineStyle, getSnapAlignEdgeLineStyle, getSnapAxis, getSnapEdge, getSnapGridLineProperties, getSnapGridStyle, getSnapHDirection, getSnapHGap, getSnapOffsetLeft, getSnapOffsetTop, getSnapOnDrop, getSnapPosition, getSnapPosition, getSnapResizeToAlign, getSnapResizeToGrid, getSnapTo, getSnapToAlign, getSnapToCenterAlign, getSnapToEdgeAlign, getSnapToGrid, getSnapVDirection, getSnapVGap, getStartLine, getTabIndex, getTestDataContext, getTestInstance, getTitle, getTooltip, getTop, getTopAsString, getTopElement, getUISummary, getUpdateTabPositionOnDraw, getUpdateTabPositionOnReparent, getUseBackMask, getUseCSSShadow, getUseDragMask, getUseImageForSVG, getUseNativeDrag, getUseOpacityFilter, getUseTouchScrolling, getValuesManager, getValuesManagerAsString, getViewportHeight, getViewportWidth, getVisibility, getVisibleHeight, getVisibleWhen, getVisibleWidth, getVSnapPosition, getVSnapPosition, getWidth, getWidthAsString, getZIndex, getZIndex, handleHover, hide, hideClickMask, hideClickMask, hideComponentMask, hideComponentMask, hideContextMenu, imgHTML, imgHTML, imgHTML, intersects, isDirty, isDisabled, isFocused, isVisible, keyUp, layoutChildren, linkHTML, linkHTML, linkHTML, linkHTML, linkHTML, linkHTML, markForDestroy, markForRedraw, markForRedraw, moveAbove, moveBelow, moveBy, moveTo, onAttach, onDetach, pageScrollDown, pageScrollUp, parentResized, placeNear, placeNear, placeNear, print, print, print, print, printComponents, provideRuleContext, provideRuleContext, redraw, redraw, registerFontScaledPaddingStyles, removeChild, removeChild, removePeer, removePeer, removeRuleContext, removeSnapAlignCandidate, resizeAutoChildAttributes, resizeBy, resizeControls, resizeControlsTo, resizeFonts, resizeFonts, resizeFonts, resizeFontsTo, resizeIcons, resizePadding, resizePadding, resizeTo, resizeTo, scrollBy, scrollByPercent, scrollTo, scrollTo, scrollTo, scrollToBottom, scrollToLeft, scrollToPercent, scrollToRight, scrollToTop, sendToBack, setAccessKey, setAdaptHeightByCustomizer, setAdaptiveHeightPriority, setAdaptiveWidthPriority, setAdaptWidthByCustomizer, setAllowExternalFilters, setAlwaysManageFocusNavigation, setAlwaysShowScrollbars, setAnimateAcceleration, setAnimateFadeTime, setAnimateHideAcceleration, setAnimateHideEffect, setAnimateHideTime, setAnimateMoveAcceleration, setAnimateMoveTime, setAnimateRectAcceleration, setAnimateRectTime, setAnimateResizeAcceleration, setAnimateResizeLayoutMode, setAnimateResizeTime, setAnimateScrollAcceleration, setAnimateScrollTime, setAnimateShowAcceleration, setAnimateShowEffect, setAnimateShowTime, setAnimateTime, setAppImgDir, setAriaRole, setAriaState, setAutoChildConstructor, setAutoChildProperties, setAutoChildProperties, setAutoChildProperties, setAutoChildProperties, setAutoChildVisibility, setAutoHeight, setAutoMaskComponents, setAutoParent, setAutoPopulateData, setAutoResizeAutoChildAttributes, setAutoResizeIcons, setAutoShowParent, setAutoWidth, setBackgroundColor, setBackgroundImage, setBackgroundPosition, setBackgroundRepeat, setBorder, setBorderRadius, setBottom, setCanAcceptDrop, setCanAdaptHeight, setCanAdaptWidth, setCanDrag, setCanDragReposition, setCanDragResize, setCanDragScroll, setCanDrop, setCanDropBefore, setCanFocus, setCanHover, setCanSelectText, setChildren, setChildrenResizeSnapAlign, setChildrenSnapAlign, setChildrenSnapCenterAlign, setChildrenSnapEdgeAlign, setChildrenSnapResizeToGrid, setChildrenSnapToGrid, setComponentMaskDefaults, setContents, setContextMenu, setCorrectZoomOverflow, setCursor, setDataContext, setDataPath, setDefaultHeight, setDefaultPageSpace, setDefaultProperties, setDefaultShowCustomScrollbars, setDefaultWidth, setDisabled, setDisabledCursor, setDisableTouchScrollingForDrag, setDoubleClickDelay, setDragAppearance, setDragIntersectStyle, setDragMaskType, setDragMaxHeight, setDragMaxWidth, setDragMinHeight, setDragMinWidth, setDragOpacity, setDragRepositionAppearance, setDragRepositionCursor, setDragResizeAppearance, setDragScrollDelay, setDragStartDistance, setDragTarget, setDragTarget, setDragType, setDropTarget, setDropTarget, setDropTypes, setDropTypes, setDynamicContents, setEdgeBackgroundColor, setEdgeCenterBackgroundColor, setEdgeImage, setEdgeMarginSize, setEdgeOffset, setEdgeOpacity, setEdgeShowCenter, setEdgeSize, setEditMode, setEditMode, setEditMode, setElement, setEnableWhen, setEndLine, setExtraSpace, setFacetId, setFloatingScrollbars, setForwardSVGeventsToObject, setGroupBorderCSS, setGroupLabelBackgroundColor, setGroupLabelStyleName, setGroupPadding, setGroupTitle, setHeight, setHeight, setHeight, setHeight100, setHideUsingDisplayNone, setHoverAlign, setHoverAutoDestroy, setHoverAutoFitMaxWidth, setHoverAutoFitMaxWidth, setHoverAutoFitWidth, setHoverDelay, setHoverFocusKey, setHoverHeight, setHoverMoveWithMouse, setHoverOpacity, setHoverPersist, setHoverScreen, setHoverStyle, setHoverVAlign, setHoverWidth, setHoverWrap, setHtmlElement, setHtmlElement, setHtmlPosition, setImage, setImage, setInitHandler, setIsGroup, setIsRuleScope, setIsSnapAlignCandidate, setKeepInParentRect, setKeepInParentRect, setKeepInParentRect, setLayoutAlign, setLayoutAlign, setLeaveGroupLabelSpace, setLeavePageSpace, setLeft, setLeft, setLocateByIDOnly, setLocateChildrenBy, setLocateChildrenType, setLocatePeersBy, setLocatePeersType, setLocatorName, setLocatorParent, setLocatorParent, setLogicalStructure, setMargin, setMatchElement, setMatchElementHeight, setMatchElementWidth, setMaxHeight, setMaxWidth, setMaxZoomOverflowError, setMenuConstructor, setMinHeight, setMinNonEdgeSize, setMinWidth, setMomentumScrollMinSpeed, setMouseStillDownDelay, setMouseStillDownInitialDelay, setName, setNativeAutoHideScrollbars, setNeverUseFilters, setNoDoubleClicks, setNoDropCursor, setOpacity, setPadding, setPageLeft, setPageTop, setPanelContainer, setParentCanvas, setParentElement, setPeers, setPercentBox, setPercentSource, setPersistentMatchElement, setPointerSettings, setPointerTarget, setPosition, setPrefix, setPrintChildrenAbsolutelyPositioned, setPrintStyleName, setPrompt, setProportionalResizeModifiers, setProportionalResizing, setReceiveScrollbarEvents, setRect, setRect, setRedrawOnResize, setRelativeTabPosition, setResizeBarTarget, setResizeFrom, setResizeFrom, setRight, setRuleScope, setScrollbarConstructor, setScrollbarSize, setShadowColor, setShadowDepth, setShadowHOffset, setShadowImage, setShadowOffset, setShadowSoftness, setShadowSpread, setShadowVOffset, setShouldPrint, setShowCustomScrollbars, setShowDragShadow, setShowEdges, setShowHover, setShowHoverComponents, setShowPointer, setShowResizeBar, setShowShadow, setShowSnapGrid, setShrinkElementOnHide, setSizeMayChangeOnRedraw, setSkinImgDir, setSmoothFade, setSnapAlignCandidates, setSnapAlignCenterLineStyle, setSnapAlignEdgeLineStyle, setSnapAxis, setSnapEdge, setSnapGridLineProperties, setSnapGridStyle, setSnapHDirection, setSnapHGap, setSnapOffsetLeft, setSnapOffsetTop, setSnapOnDrop, setSnapResizeToAlign, setSnapResizeToGrid, setSnapTo, setSnapToAlign, setSnapToCenterAlign, setSnapToEdgeAlign, setSnapToGrid, setSnapVDirection, setSnapVGap, setStartLine, setTabIndex, setTestDataContext, setTitle, setTooltip, setTop, setTop, setUpdateTabPositionOnDraw, setUpdateTabPositionOnReparent, setUseBackMask, setUseCSSShadow, setUseDragMask, setUseImageForSVG, setUseNativeDrag, setUseOpacityFilter, setUseTouchScrolling, setValuesManager, setValuesManager, setVisibility, setVisible, setVisibleWhen, setWidth, setWidth, setWidth, setWidth100, setZIndex, shouldDragScroll, show, showClickMask, showComponentMask, showComponentMask, showNextTo, showNextTo, showNextTo, showNextTo, showPrintPreview, showPrintPreview, showPrintPreview, showPrintPreview, showRecursively, updateChildTabPosition, updateChildTabPositions, updateEditNode, updateHover, updateHover, updateShadow, updateTabPositionForDraw, visibleAtPoint, willAcceptDropaddDrawHandler, addDynamicProperty, addDynamicProperty, addDynamicProperty, addDynamicProperty, applyFactoryProperties, clearDynamicProperty, completeCreation, destroy, doAddHandler, doInit, doOnRender, draw, equals, error, errorIfNotCreated, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDateArray, getAttributeAsDouble, getAttributeAsElement, getAttributeAsFloat, getAttributeAsFloatArray, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getConfig, getDOM, getHandlerCount, getID, getInnerHTML, getJsObj, getOrCreateJsObj, getRef, getScClassName, hasAutoAssignedID, hasDynamicProperty, hashCode, initNativeObject, internalSetID, internalSetID, isConfigOnly, isCreated, isDrawn, isFactoryCreated, onBind, onDestroy, onDraw, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setConfig, setConfigOnly, setDefaultProperties, setDragTracker, setFactoryCreated, setID, setJavaScriptObject, setLogicalStructure, setLogicalStructure, setNullProperty, setPosition, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setScClassName, toStringaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getLayoutData, getParent, isAttached, isOrWasAttached, onBrowserEvent, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, ensureDebugId, ensureDebugId, ensureDebugId, getStyleElement, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEventpublic EventCanvas()
public EventCanvas(com.google.gwt.core.client.JavaScriptObject jsObj)
public static EventCanvas getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public static void changeAutoChildDefaults(java.lang.String autoChildName,
Canvas defaults)
autoChildName.autoChildName - name of an AutoChild to customize the defaults for.defaults - Canvas defaults to apply. These defaults override any existing properties
without destroying or wiping out non-overridden properties. For usage tips on this
param, see SGWTProperties.AutoChildUsagepublic static void changeAutoChildDefaults(java.lang.String autoChildName,
FormItem defaults)
autoChildName.autoChildName - name of an AutoChild to customize the defaults for.defaults - FormItem defaults to apply. These defaults override any existing properties
without destroying or wiping out non-overridden properties. For usage tips on this
param, see SGWTProperties.AutoChildUsageprotected com.google.gwt.core.client.JavaScriptObject create()
public EventCanvas setBodyStyle(java.lang.String bodyStyle)
body area of the EventCanvas. If
unset, defaults to the base styleName with the
suffix "Body".bodyStyle - New bodyStyle value. Default value is nullEventCanvas instance, for chaining setter callsCSSStyleName,
Appearance overview and related methodspublic java.lang.String getBodyStyle()
body area of the EventCanvas. If
unset, defaults to the base styleName with the
suffix "Body".CSSStyleName,
Appearance overview and related methodspublic EventCanvas setCalendar(Calendar calendar) throws java.lang.IllegalStateException
Calendar in which this EventCanvas is being rendered.calendar - New calendar value. Default value is nullEventCanvas instance, for chaining setter callsjava.lang.IllegalStateException - this property cannot be changed after the component has been createdpublic Calendar getCalendar()
Calendar in which this EventCanvas is being rendered.public EventCanvas setCalendarView(CalendarView calendarView) throws java.lang.IllegalStateException
CalendarView in which this EventCanvas is being rendered.calendarView - New calendarView value. Default value is nullEventCanvas instance, for chaining setter callsjava.lang.IllegalStateException - this property cannot be changed after the component has been createdpublic CalendarView getCalendarView()
CalendarView in which this EventCanvas is being rendered.public EventCanvas setEscapeHTML(java.lang.Boolean escapeHTML)
escapeHTML - New escapeHTML value. Default value is nullEventCanvas instance, for chaining setter callspublic java.lang.Boolean getEscapeHTML()
public EventCanvas setEvent(CalendarEvent event) throws java.lang.IllegalStateException
event associated with this EventCanvas.
event to this EventCanvas, including updates to drag, style and rollover properties.event - the new event to apply to this EventCanvas. Default value is nullEventCanvas instance, for chaining setter callsjava.lang.IllegalStateException - this property cannot be changed after the component has been createdpublic CalendarEvent getEvent()
event associated with this EventCanvas.public Img getGripper() throws java.lang.IllegalStateException
showGripper is true, this is the component
that will be rendered adjacent to the canvas and allow the canvas to be moved with the mouse.
This component is an AutoChild named "gripper". For an overview of how to use and
configure AutoChildren, see Using AutoChildren.
java.lang.IllegalStateException - if this widget has not yet been rendered.public EventCanvas setGripperIcon(java.lang.String gripperIcon)
gripperIcon - New gripperIcon value. Default value is nullEventCanvas instance, for chaining setter callsSCImgURLpublic java.lang.String getGripperIcon()
SCImgURLpublic EventCanvas setHeaderHeight(java.lang.Integer headerHeight)
header area, when headerWrap is false and showBody is true. If showBody is false, the
header area fills the canvas.headerHeight - New headerHeight value. Default value is nullEventCanvas instance, for chaining setter callsAppearance overview and related methodspublic java.lang.Integer getHeaderHeight()
header area, when headerWrap is false and showBody is true. If showBody is false, the
header area fills the canvas.Appearance overview and related methodspublic EventCanvas setHeaderStyle(java.lang.String headerStyle)
header area of the EventCanvas.
If unset, defaults to the base styleName with the
suffix "Header".headerStyle - New headerStyle value. Default value is nullEventCanvas instance, for chaining setter callsCSSStyleName,
Appearance overview and related methodspublic java.lang.String getHeaderStyle()
header area of the EventCanvas.
If unset, defaults to the base styleName with the
suffix "Header".CSSStyleName,
Appearance overview and related methodspublic EventCanvas setHeaderWrap(java.lang.Boolean headerWrap)
header area should autosize
vertically to display all contents. If true, the header will wrap to multiple lines. If false, the header will be
sized according to the specified height, or to
the full height of the canvas is showBody is false.headerWrap - New headerWrap value. Default value is nullEventCanvas instance, for chaining setter callsAppearance overview and related methodspublic java.lang.Boolean getHeaderWrap()
header area should autosize
vertically to display all contents. If true, the header will wrap to multiple lines. If false, the header will be
sized according to the specified height, or to
the full height of the canvas is showBody is false.Appearance overview and related methodspublic boolean getIsIndicatorCanvas()
throws java.lang.IllegalStateException
IndicatorCanvas
subclass.
Note : This method should be called only after the widget has been rendered.
java.lang.IllegalStateException - if this widget has not yet been rendered.public boolean getIsZoneCanvas()
throws java.lang.IllegalStateException
ZoneCanvas subclass.
Note : This method should be called only after the widget has been rendered.
java.lang.IllegalStateException - if this widget has not yet been rendered.public Label getLabel() throws java.lang.IllegalStateException
showLabel is true, this autoChild is used to
display the header text, adjacent to this
eventCanvas.
This component is an AutoChild named "label". For an overview of how to use and
configure AutoChildren, see Using AutoChildren.
java.lang.IllegalStateException - if this widget has not yet been rendered.public EventCanvas setShowBody(java.lang.Boolean showBody)
header is shown. This area typically displays an
event description. This area can be styled
via bodyStyle and the HTML it shows is retrieved
from a call to getBodyHTML(). The default is taken
from Calendar.showEventDescriptions.showBody - New showBody value. Default value is nullEventCanvas instance, for chaining setter callspublic java.lang.Boolean getShowBody()
header is shown. This area typically displays an
event description. This area can be styled
via bodyStyle and the HTML it shows is retrieved
from a call to getBodyHTML(). The default is taken
from Calendar.showEventDescriptions.public EventCanvas setShowContextButton(java.lang.Boolean showContextButton)
small icon
in the top corner of an EventCanvas, beside the close-icon. When clicked, shows a context menu containing items applicable to this
canvas.showContextButton - New showContextButton value. Default value is falseEventCanvas instance, for chaining setter callspublic java.lang.Boolean getShowContextButton()
small icon
in the top corner of an EventCanvas, beside the close-icon. When clicked, shows a context menu containing items applicable to this
canvas.public EventCanvas setShowGripper(java.lang.Boolean showGripper)
gripper component, which
snaps, centered, to the top edge of the eventCanvas and can be used to move it with the mouse.showGripper - New showGripper value. Default value is nullEventCanvas instance, for chaining setter callspublic java.lang.Boolean getShowGripper()
gripper component, which
snaps, centered, to the top edge of the eventCanvas and can be used to move it with the mouse.public EventCanvas setShowHeader(java.lang.Boolean showHeader)
body of the event, and typically showing a name or title - like a Window. This header area can be
styled via headerStyle and the HTML it shows is
retrieved from a call to getHeaderHTML(). The
default is taken from Calendar.showEventHeaders.showHeader - New showHeader value. Default value is nullEventCanvas instance, for chaining setter callspublic java.lang.Boolean getShowHeader()
body of the event, and typically showing a name or title - like a Window. This header area can be
styled via headerStyle and the HTML it shows is
retrieved from a call to getHeaderHTML(). The
default is taken from Calendar.showEventHeaders.public EventCanvas setShowLabel(java.lang.Boolean showLabel)
header text for the
associated event is not rendered inside the eventCanvas itself. Instead, it is rendered in it's own label and shown as a peer of this eventCanvas, immediately
outside of it.
showLabel - New showLabel value. Default value is nullEventCanvas instance, for chaining setter callspublic java.lang.Boolean getShowLabel()
header text for the
associated event is not rendered inside the eventCanvas itself. Instead, it is rendered in it's own label and shown as a peer of this eventCanvas, immediately
outside of it.
public EventCanvas setShowRolloverControls(java.lang.Boolean showRolloverControls)
close and context buttons, the latter's context menu and the images used for
drag-resizing. Using rollover controls is more efficient that showing static buttons in each eventCanvas, so this
is the default behavior. See Calendar.useEventCanvasRolloverControls for the alternative.
showRolloverControls - New showRolloverControls value. Default value is trueEventCanvas instance, for chaining setter callspublic java.lang.Boolean getShowRolloverControls()
close and context buttons, the latter's context menu and the images used for
drag-resizing. Using rollover controls is more efficient that showing static buttons in each eventCanvas, so this
is the default behavior. See Calendar.useEventCanvasRolloverControls for the alternative.
public void setStyleName(java.lang.String styleName)
eventCanvas.event, if specified, or on the calendar otherwise. Also see headerStyle and bodyStyle.
setStyleName in class CanvasstyleName - New styleName value. Default value is nullCSSStyleName,
Appearance overview and related methodspublic java.lang.String getStyleName()
eventCanvas.event, if specified, or on the calendar otherwise. Also see headerStyle and bodyStyle.
getStyleName in class CanvasCSSStyleName,
Appearance overview and related methodspublic EventCanvas setVerticalResize(java.lang.Boolean verticalResize)
verticalResize - New verticalResize value. Default value is nullEventCanvas instance, for chaining setter callspublic java.lang.Boolean getVerticalResize()
public java.lang.String getBodyHTML()
Calendar.getEventBodyHTML(), which returns the value of
the description field for the current event.HTMLStringAppearance overview and related methodspublic java.lang.String getHeaderHTML()
name of the current event.HTMLStringAppearance overview and related methodspublic static void setDefaultProperties(EventCanvas eventCanvasProperties)
Note: This method is intended for setting default attributes only and will affect all instances of the underlying class (including those automatically generated in JavaScript). This method should not be used to apply standard EventHandlers or override methods for a class - use a custom subclass instead. Calling this method after instances have been created can result in undefined behavior, since it bypasses any setters and a class instance may have already examined a particular property and not be expecting any changes through this route.
eventCanvasProperties - properties that should be used as new defaults when instances of this class are createdSGWTPropertiespublic com.smartgwt.logicalstructure.core.LogicalStructureObject setLogicalStructure(com.smartgwt.logicalstructure.widgets.calendar.EventCanvasLogicalStructure s)
LogicalStructure interface,
which supports Eclipse's logical structure debugging facility.public com.smartgwt.logicalstructure.core.LogicalStructureObject getLogicalStructure()
LogicalStructure interface,
which supports Eclipse's logical structure debugging facility.getLogicalStructure in interface LogicalStructuregetLogicalStructure in class VLayout