Class Window
- All Implemented Interfaces:
Serializable,Cloneable,org.zkoss.zk.ui.Component,org.zkoss.zk.ui.ext.Scope,org.zkoss.zk.ui.IdSpace,org.zkoss.zk.ui.sys.ComponentCtrl,Framable
- Direct Known Subclasses:
FileuploadDlg,MessageboxDlg
Unlike other elements, each Window is an independent ID space
(by implementing IdSpace).
It means a window and all its descendants forms a ID space and
the ID of each of them is unique in this space.
You could retrieve any of them in this space by calling AbstractComponent.getFellow(java.lang.String).
If a window X is a descendant of another window Y, X's descendants are not visible in Y's space. To retrieve a descendant, say Z, of X, you have to invoke Y.getFellow('X').getFellow('Z').
Events:
onMove, onOpen, onMaximize, onMinimize, and onClose.
Note: to have better performance, onOpen is sent only if a
non-deferrable event listener is registered
(see Deferrable).
onMaximize and onMinimize are supported. (since 3.5.0)
onClose is sent when the close button is pressed
(if isClosable() is true). The window has to detach or hide
the window. By default, onClose() detaches the window. To prevent
it from detached, you have to call Event.stopPropagation()
to prevent onClose() is called.
On the other hand, onOpen is sent when a popup
window (i.e., getMode() is popup) is closed due to user's activity
(such as press ESC). This event is only a notification.
In other words, the popup is hidden before the event is sent to the server.
The application cannot prevent the window from being hidden.
Default getZclass(): z-window.(since 3.5.0)
- Author:
- tomyeh
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.zkoss.zk.ui.HtmlBasedComponent
org.zkoss.zk.ui.HtmlBasedComponent.ExtraCtrlNested classes/interfaces inherited from class org.zkoss.zk.ui.AbstractComponent
org.zkoss.zk.ui.AbstractComponent.Children, org.zkoss.zk.ui.AbstractComponent.ForwardInfo, org.zkoss.zk.ui.AbstractComponent.TargetInfo -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intEmbeds the window as normal component.static final intMakes the window as highlighted.static final intMakes the window as a modal dialog. oncedoModal()is called, the execution of the event processing thread is suspended until one of the following occurs.static final intMakes the window as overlapped other components.static final intMakes the window as popup.Fields inherited from class org.zkoss.zk.ui.HtmlBasedComponent
_zclassFields inherited from interface org.zkoss.zk.ui.Component
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPEFields inherited from interface org.zkoss.zk.ui.sys.ComponentCtrl
AFTER_CHILD_ADDED, AFTER_CHILD_REMOVED, AFTER_CLONED, AFTER_PAGE_ATTACHED, AFTER_PAGE_DETACHED, AFTER_PARENT_CHANGED, CE_BUSY_IGNORE, CE_DUPLICATE_IGNORE, CE_IMPORTANT, CE_NON_DEFERRABLE, CE_REPEAT_IGNORE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeChildAdded(org.zkoss.zk.ui.Component child, org.zkoss.zk.ui.Component refChild) clone()voidMakes this window as embedded with other components (Default).voidMakes this window as highlighted.voiddoModal()Makes this window as a modal dialog.voidMakes this window as overlapped with other components.voiddoPopup()Makes this window as popup, which is overlapped with other component and auto-hidden when user clicks outside of the window.Returns the border.Returns the caption of this window.Returns the style class used for the content block.Returns the CSS style for the content block of the window.intReturns the minimum height.intReturns the minimum width.getMode()Returns the current mode.Returns the current mode.Returns how to position the window at the client screen.getTitle()Returns the title.booleanReturns whether this is embedded with other components (Default).booleanReturns whether this is a highlighted window.booleaninModal()Returns whether this is a modal dialog.booleanReturns whether this is a overlapped window.booleaninPopup()Returns whether this is a popup window.booleaninsertBefore(org.zkoss.zk.ui.Component child, org.zkoss.zk.ui.Component refChild) booleanReturns whether to show a close button on the title bar.booleanAlways return false.booleanReturns whether to display the maximizing button and allow the user to maximize the window.booleanReturns whether the window is maximized.booleanReturns whether to display the minimizing button and allow the user to minimize the window.booleanReturns whether the window is minimized.booleanisShadow()Returns whether to show the shadow of an overlapped/popup/modal window.booleanReturns whether the window is sizable.voidonChildRemoved(org.zkoss.zk.ui.Component child) voidonClose()Process the onClose event sent when the close button is pressed.voidonModal()Process the onModal event by making itself a modal window.voidonPageDetached(org.zkoss.zk.ui.Page page) protected voidrenderProperties(org.zkoss.zk.ui.sys.ContentRenderer renderer) voidservice(org.zkoss.zk.au.AuRequest request, boolean everError) Processes an AU request.voidsetBorder(boolean border) Enables or disables the border.voidSets the border (either none or normal).voidsetClosable(boolean closable) Sets whether to show a close button on the title bar.voidsetContentSclass(String scls) Sets the style class used for the content block.voidsetContentStyle(String style) Sets the CSS style for the content block of the window.voidsetDraggable(String draggable) voidsetMaximizable(boolean maximizable) Sets whether to display the maximizing button and allow the user to maximize the window, when a window is maximized, the button will automatically change to a restore button with the appropriate behavior already built-in that will restore the window to its previous size.voidsetMaximized(boolean maximized) Sets whether the window is maximized, and then the size of the window will depend on it to show a appropriate size.voidsetMinheight(int minheight) Sets the minimum height in pixels allowed for this window.voidsetMinimizable(boolean minimizable) Sets whether to display the minimizing button and allow the user to minimize the window.voidsetMinimized(boolean minimized) Sets whether the window is minimized.voidsetMinwidth(int minwidth) Sets the minimum width in pixels allowed for this window.voidsetMode(int mode) Sets the mode to overlapped, popup, modal, embedded or highlighted.voidSets the mode to overlapped, popup, modal, embedded or highlighted.voidsetMode(Window.Mode mode) Sets the mode.voidsetPosition(String pos) Sets how to position the window at the client screen.voidsetShadow(boolean shadow) Sets whether to show the shadow of an overlapped/popup/modal window.voidsetSizable(boolean sizable) Sets whether the window is sizable.voidSets the title.voidMakes this window as topmost.booleansetVisible(boolean visible) Changes the visibility of the window.Methods inherited from class org.zkoss.zul.impl.XulElement
getContext, getCtrlKeys, getPopup, getPropertyAccess, getTooltip, setContext, setContext, setContextAttributes, setCtrlKeys, setPopup, setPopup, setPopupAttributes, setTooltip, setTooltip, setTooltipAttributesMethods inherited from class org.zkoss.zk.ui.HtmlBasedComponent
addSclass, evalCSSFlex, focus, getAction, getClientAction, getDraggable, getDroppable, getExtraCtrl, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getSkeleton, getStyle, getTabindex, getTabindexInteger, getTooltiptext, getTop, getVflex, getWidth, getZindex, getZIndex, removeSclass, removeSclass, setAction, setClass, setClientAction, setDroppable, setFocus, setHeight, setHeight0, setHeightDirectly, setHflex, setHflex0, setHflexDirectly, setLeft, setLeftDirectly, setRenderdefer, setSclass, setSkeleton, setStyle, setTabindex, setTabindex, setTooltiptext, setTop, setTopDirectly, setVflex, setVflex0, setVflexDirectly, setWidth, setWidth0, setWidthDirectly, setZclass, setZindex, setZIndex, setZIndexDirectlyMethods inherited from class org.zkoss.zk.ui.AbstractComponent
addAnnotation, addCallback, addClientEvent, addEventHandler, addEventListener, addEventListener, addForward, addForward, addForward, addForward, addMoved, addRedrawCallback, addScopeListener, addShadowRoot, addShadowRootBefore, addSharedEventHandlerMap, appendChild, applyProperties, beforeChildRemoved, beforeParentChanged, destroyIndexCacheMap, detach, didActivate, didActivate, didDeserialize, didDeserialize, disableBindingAnnotation, disableClientUpdate, disableHostChanged, enableBindingAnnotation, enableHostChanged, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getAutag, getCallback, getChildren, getClientAttribute, getClientDataAttribute, getClientEvents, getDefaultMold, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getEventListenerMap, getEventListeners, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getForwards, getId, getIndexCacheMap, getLastChild, getMold, getNextSibling, getPage, getParent, getPreviousSibling, getRedrawCallback, getRoot, getShadowFellowIfAny, getShadowRoots, getShadowVariable, getShadowVariable, getShadowVariable0, getSpaceOwner, getSpecialRendererOutput, getStubonly, getSubBindingAnnotationCount, getTemplate, getTemplateNames, getUuid, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttribute, hasAttributeOrFellow, hasBindingAnnotation, hasFellow, hasFellow, hasSubBindingAnnotation, initIndexCacheMap, invalidate, isChildable, isDisabledHostChanged, isInitialized, isInvalidated, isListenerAvailable, isVisible, onChildAdded, onPageAttached, onParentChanged, onWrongValue, query, queryAll, redraw, redrawChildren, removeAttribute, removeAttribute, removeAttribute, removeCallback, removeChild, removeEventListener, removeForward, removeForward, removeRedrawCallback, removeScopeListener, removeShadowRoot, render, render, render, renderPropertiesOnly, replace, response, response, response, service, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setAttribute, setAuService, setAutag, setClientAttribute, setClientDataAttribute, setDefinition, setDefinition, setId, setMold, setPage, setPageBefore, setParent, setStubonly, setStubonly, setSubBindingAnnotationCount, setTemplate, setVisibleDirectly, setWidgetClass, setWidgetListener, setWidgetOverride, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdateWidgetListener, smartUpdateWidgetOverride, toString, updateByClient, updateSubBindingAnnotationCount, willPassivate, willPassivate, willSerialize, willSerializeMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.zkoss.zk.ui.IdSpace
getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, hasFellow, hasFellowMethods inherited from interface org.zkoss.zk.ui.ext.Scope
addScopeListener, getAttribute, hasAttribute, removeAttribute, removeScopeListener, setAttribute
-
Field Details
-
EMBEDDED
public static final int EMBEDDEDEmbeds the window as normal component.- See Also:
-
MODAL
public static final int MODALMakes the window as a modal dialog. oncedoModal()is called, the execution of the event processing thread is suspended until one of the following occurs.setMode(org.zkoss.zul.Window.Mode)is called with a mode other than MODAL.- Either
doOverlapped(),doPopup(),doEmbedded(), ordoHighlighted()is called. setVisible(boolean)is called with false.- The window is detached from the window.
Note: In the last two cases, the mode becomes
OVERLAPPED. In other words, one might say a modal window is a special overlapped window.- See Also:
-
OVERLAPPED
public static final int OVERLAPPEDMakes the window as overlapped other components.- See Also:
-
POPUP
public static final int POPUPMakes the window as popup. It is similar toOVERLAPPED, except it is auto hidden when user clicks outside of the window.- See Also:
-
HIGHLIGHTED
public static final int HIGHLIGHTEDMakes the window as highlighted. Its visual effect is the same asMODAL. However, from the server side's viewpoint, it is similar toOVERLAPPED. The execution won't be suspended whendoHighlighted()is called.- See Also:
-
-
Constructor Details
-
Window
public Window() -
Window
- Parameters:
title- the window title (seesetTitle(java.lang.String)).border- the border (seesetBorder(java.lang.String)).closable- whether it is closable (seesetClosable(boolean)).
-
-
Method Details
-
isMaximized
public boolean isMaximized()Returns whether the window is maximized.- Specified by:
isMaximizedin interfaceFramable- Since:
- 3.5.0
-
setMaximized
public void setMaximized(boolean maximized) Sets whether the window is maximized, and then the size of the window will depend on it to show a appropriate size. In other words, if true, the size of the window will count on the size of its offset parent node whose position is absolute (by notinEmbedded()) or its parent node. Otherwise, its size will be original size. Note that the maximized effect will run at client's sizing phase not initial phase.Default: false.
- Throws:
org.zkoss.zk.ui.UiException- ifisMaximizable()is false.- Since:
- 3.5.0
-
isMaximizable
public boolean isMaximizable()Returns whether to display the maximizing button and allow the user to maximize the window.Default: false.
- Specified by:
isMaximizablein interfaceFramable- Since:
- 3.5.0
-
setMaximizable
public void setMaximizable(boolean maximizable) Sets whether to display the maximizing button and allow the user to maximize the window, when a window is maximized, the button will automatically change to a restore button with the appropriate behavior already built-in that will restore the window to its previous size.Default: false.
Note: the maximize button won't be displayed if no title or caption at all.
- Since:
- 3.5.0
-
isMinimized
public boolean isMinimized()Returns whether the window is minimized.Default: false.
- Since:
- 3.5.0
-
setMinimized
public void setMinimized(boolean minimized) Sets whether the window is minimized.Default: false.
- Throws:
org.zkoss.zk.ui.UiException- ifisMinimizable()is false.- Since:
- 3.5.0
-
isMinimizable
public boolean isMinimizable()Returns whether to display the minimizing button and allow the user to minimize the window.Default: false.
- Specified by:
isMinimizablein interfaceFramable- Since:
- 3.5.0
-
setMinimizable
public void setMinimizable(boolean minimizable) Sets whether to display the minimizing button and allow the user to minimize the window. Note that this button provides no implementation -- the behavior of minimizing a window is implementation-specific, so the MinimizeEvent event must be handled and a custom minimize behavior implemented for this option to be useful.Default: false.
Note: the maximize button won't be displayed if no title or caption at all.
- Since:
- 3.5.0
- See Also:
-
MinimizeEvent
-
setMinheight
public void setMinheight(int minheight) Sets the minimum height in pixels allowed for this window. If negative, 100 is assumed.Default: 100.
Note: Only applies when
isSizable()= true.- Since:
- 3.5.0
-
getMinheight
public int getMinheight()Returns the minimum height.Default: 100.
- Since:
- 3.5.0
-
setMinwidth
public void setMinwidth(int minwidth) Sets the minimum width in pixels allowed for this window. If negative, 200 is assumed.Default: 200.
Note: Only applies when
isSizable()= true.- Since:
- 3.5.0
-
getMinwidth
public int getMinwidth()Returns the minimum width.Default: 200.
- Since:
- 3.5.0
-
getCaption
Returns the caption of this window. -
getBorder
Returns the border.Default: "none".
-
setBorder
Sets the border (either none or normal).- Parameters:
border- the border. If null, "0" or "false", "none" is assumed. If "true", "normal" is assumed (since 5.0.8).
-
setBorder
public void setBorder(boolean border) Enables or disables the border.- Parameters:
border- whether to have a border. If true is specified, it is the same assetBorder("normal").- Since:
- 5.0.8
-
getTitle
Returns the title. Besides this attribute, you could useCaptionto define a more sophisticated caption (a.k.a., title).If a window has a caption whose label (
LabelElement.getLabel()) is not empty, then this attribute is ignored.Default: empty.
-
setTitle
Sets the title. -
getMode
Returns the current mode. One of "modal", "embedded", "overlapped", "popup", and "highlighted".- See Also:
-
setMode
Sets the mode.- Since:
- 6.0.0
-
setMode
Sets the mode to overlapped, popup, modal, embedded or highlighted.Notice:
Events.ON_MODALis posted if you specify "modal" to this method. UnlikedoModal(),Events.ON_MODALis posted, so the window will become modal later (since 3.0.4). In other words, setMode("modal") never suspends the execution of the current thread. On the other hand,doModal()will suspends the execution if executed in an event listener, or throws an exception if not executed in an event listener.Refer to Overlapped, Popup, Modal, Highlighted and Embedded for more information.
- Parameters:
name- the mode which could be one of "embedded", "overlapped", "popup", "modal", "highlighted". Note: it cannot be "modal". UsedoModal()instead.
-
setMode
public void setMode(int mode) Sets the mode to overlapped, popup, modal, embedded or highlighted.- See Also:
-
getModeType
Returns the current mode.- Since:
- 6.0.0
- See Also:
-
inModal
public boolean inModal()Returns whether this is a modal dialog. -
inEmbedded
public boolean inEmbedded()Returns whether this is embedded with other components (Default).- See Also:
-
inOverlapped
public boolean inOverlapped()Returns whether this is a overlapped window. -
inPopup
public boolean inPopup()Returns whether this is a popup window. -
inHighlighted
public boolean inHighlighted()Returns whether this is a highlighted window. -
doModal
public void doModal()Makes this window as a modal dialog. It will automatically center the window (ignoringHtmlBasedComponent.getLeft()andHtmlBasedComponent.getTop()).Notice: though both setMode("modal") and doModal() both causes the window to become modal, they are a bit different. doModal causes the event listener to suspend immediately, while setMode("modal") posts an event (
Events.ON_MODAL). That is,setMode(org.zkoss.zul.Window.Mode)won't suspend the execution immediately, butdoModal()will.doModal()can be called only in an event listener, whilesetMode(org.zkoss.zul.Window.Mode)can be called anytime.- Since:
- 3.0.4
-
doOverlapped
public void doOverlapped()Makes this window as overlapped with other components. -
doPopup
public void doPopup()Makes this window as popup, which is overlapped with other component and auto-hidden when user clicks outside of the window. -
doHighlighted
public void doHighlighted()Makes this window as highlighted. The visual effect is the similar to the modal window, but, like overlapped, it doesn't suspend (block) the execution at the server. In other words, it is more like an overlapped window from the server side's viewpoint. -
doEmbedded
public void doEmbedded()Makes this window as embedded with other components (Default). -
isClosable
public boolean isClosable()Returns whether to show a close button on the title bar.- Specified by:
isClosablein interfaceFramable
-
setClosable
public void setClosable(boolean closable) Sets whether to show a close button on the title bar. If closable, a button is displayed and the onClose event is sent if an user clicks the button.Default: false.
You can intercept the default behavior by either overriding
onClose(), or listening the onClose event.Note: the close button won't be displayed if no title or caption at all.
-
isSizable
public boolean isSizable()Returns whether the window is sizable. -
setSizable
public void setSizable(boolean sizable) Sets whether the window is sizable. If true, an user can drag the border to change the window width.Default: false.
-
isShadow
public boolean isShadow()Returns whether to show the shadow of an overlapped/popup/modal window. It is meaningless if it is an embedded window.- Since:
- 3.6.0
-
setShadow
public void setShadow(boolean shadow) Sets whether to show the shadow of an overlapped/popup/modal window. It is meaningless if it is an embedded window.Default: true.
- Since:
- 3.6.0
-
getPosition
Returns how to position the window at the client screen. It is meaningless if the embedded mode is used.Default: null which depends on
getMode(): If overlapped or popup,HtmlBasedComponent.setLeft(java.lang.String)andHtmlBasedComponent.setTop(java.lang.String)are assumed. If modal or highlighted, it is centered. -
setPosition
Sets how to position the window at the client screen. It is meaningless if the embedded mode is used.- Parameters:
pos- how to position. It can be null (the default), or a combination of the following values (by separating with comma).- center
- Position the window at the center.
HtmlBasedComponent.setTop(java.lang.String)andHtmlBasedComponent.setLeft(java.lang.String)are both ignored. - nocenter
- Not to position the window at the center. A modal window, by default,
will be position at the center. By specifying this value could
prevent it and the real position depends on
HtmlBasedComponent.setTop(java.lang.String)andHtmlBasedComponent.setLeft(java.lang.String)(since 5.0.4) - left
- Position the window at the left edge.
HtmlBasedComponent.setLeft(java.lang.String)is ignored. - right
- Position the window at the right edge.
HtmlBasedComponent.setLeft(java.lang.String)is ignored. - top
- Position the window at the top edge.
HtmlBasedComponent.setTop(java.lang.String)is ignored. - bottom
- Position the window at the bottom edge.
HtmlBasedComponent.setTop(java.lang.String)is ignored. - parent
- Position the window relative to its parent.
That is, the left and top (
HtmlBasedComponent.getTop()andHtmlBasedComponent.getLeft()) is an offset to his parent's let-top corner. (since 3.0.2)
For example, "left,center" means to position it at the center of the left edge.
-
onClose
public void onClose()Process the onClose event sent when the close button is pressed.Default: detach itself.
-
onModal
public void onModal()Process the onModal event by making itself a modal window. -
getContentStyle
Returns the CSS style for the content block of the window. -
setContentStyle
Sets the CSS style for the content block of the window.Default: null.
-
getContentSclass
Returns the style class used for the content block.- See Also:
-
setContentSclass
Sets the style class used for the content block.- Since:
- 3.0.0
- See Also:
-
setTopmost
public void setTopmost()Makes this window as topmost. It has no effect if this window is embedded.- Since:
- 5.0.0
-
renderProperties
- Overrides:
renderPropertiesin classXulElement- Throws:
IOException
-
getZclass
- Overrides:
getZclassin classorg.zkoss.zk.ui.HtmlBasedComponent
-
beforeChildAdded
public void beforeChildAdded(org.zkoss.zk.ui.Component child, org.zkoss.zk.ui.Component refChild) - Specified by:
beforeChildAddedin interfaceorg.zkoss.zk.ui.sys.ComponentCtrl- Overrides:
beforeChildAddedin classorg.zkoss.zk.ui.AbstractComponent
-
insertBefore
public boolean insertBefore(org.zkoss.zk.ui.Component child, org.zkoss.zk.ui.Component refChild) - Specified by:
insertBeforein interfaceorg.zkoss.zk.ui.Component- Overrides:
insertBeforein classorg.zkoss.zk.ui.AbstractComponent
-
onChildRemoved
public void onChildRemoved(org.zkoss.zk.ui.Component child) - Specified by:
onChildRemovedin interfaceorg.zkoss.zk.ui.sys.ComponentCtrl- Overrides:
onChildRemovedin classorg.zkoss.zk.ui.AbstractComponent
-
onPageDetached
public void onPageDetached(org.zkoss.zk.ui.Page page) - Specified by:
onPageDetachedin interfaceorg.zkoss.zk.ui.sys.ComponentCtrl- Overrides:
onPageDetachedin classorg.zkoss.zk.ui.AbstractComponent
-
setVisible
public boolean setVisible(boolean visible) Changes the visibility of the window.Note if you turned on the event thread:
If a modal dialog becomes invisible, the modal state will be ended automatically. In other words, the mode (getMode()) will becomeOVERLAPPEDand the suspending thread is resumed. In other words, the modal window (MODAL) can not be invisible (while a window in other modes could be invisible).However, if the event thread is not enabled (default), there is no such limitation. In other words, it remains the same mode when becoming invisible.
- Specified by:
setVisiblein interfaceorg.zkoss.zk.ui.Component- Overrides:
setVisiblein classorg.zkoss.zk.ui.AbstractComponent
-
setDraggable
- Overrides:
setDraggablein classorg.zkoss.zk.ui.HtmlBasedComponent
-
clone
- Specified by:
clonein interfaceorg.zkoss.zk.ui.Component- Overrides:
clonein classXulElement
-
service
public void service(org.zkoss.zk.au.AuRequest request, boolean everError) Processes an AU request.Default: in addition to what are handled by
HtmlBasedComponent.service(org.zkoss.zk.au.AuRequest, boolean), it also handles onOpen.- Specified by:
servicein interfaceorg.zkoss.zk.ui.sys.ComponentCtrl- Overrides:
servicein classorg.zkoss.zk.ui.HtmlBasedComponent- Since:
- 5.0.0
-
isCollapsible
public boolean isCollapsible()Always return false.- Specified by:
isCollapsiblein interfaceFramable- Since:
- 3.6.2
-