📄 toolbar.splitbutton.tag
字号:
<%--
ExtJS Tag Library (ExtTLD)
Copyright (C) 2008 Jaroslav Benc <jaroslav.benc@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
===========================================================================
BY USING THIS LIBRARY YOU CONFIRM THAT YOU HAVE READ, UNDERSTOOD AND ACCEPT
OUR ETHICAL CRITERIA LISTED ON THE EXTTLD WEBSITE (WWW.EXTTLD.COM)
===========================================================================
--%>
<%-- Config params _____________________________START --%>
<%@ attribute
name="allowDomMove"
type="java.lang.Boolean"
required="false"
description="
(Boolean)Whether the component can move the Dom node when rendering (defaults to true).
" %>
<%@ attribute
name="applyTo"
type="java.lang.String"
required="false"
description="
(Mixed)The id of the node, a DOM node or an existing Element corresponding to a DIV that is already present in the document that specifies some structural markup for this component. When applyTo is used, constituent parts of the component can also be specified by id or CSS class name within the main element, and the component being created may attempt to create its subcomponents from that markup if applicable. Using this config, a call to render() is not required. If applyTo is specified, any value passed for renderTo will be ignored and the target element's parent node will automatically be used as the component's container.
" %>
<%@ attribute
name="arrowHandler"
type="java.lang.String"
required="false"
description="
(Function)A function called when the arrow button is clicked (can be used instead of click event)
" %>
<%@ attribute
name="arrowTooltip"
type="java.lang.String"
required="false"
description="
(String)The title attribute of the arrow
" %>
<%@ attribute
name="autoShow"
type="java.lang.Boolean"
required="false"
description="
(Boolean)True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove them on render (defaults to false).
" %>
<%@ attribute
name="clickEvent"
type="java.lang.String"
required="false"
description="
(String)The type of event to map to the button's event handler (defaults to 'click')
" %>
<%@ attribute
name="cls"
type="java.lang.String"
required="false"
description="
(String)An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be useful for adding customized styles to the component or any of its children using standard CSS rules.
" %>
<%@ attribute
name="ctCls"
type="java.lang.String"
required="false"
description="
(String)An optional extra CSS class that will be added to this component's container (defaults to ''). This can be useful for adding customized styles to the container or any of its children using standard CSS rules.
" %>
<%@ attribute
name="disabled"
type="java.lang.Boolean"
required="false"
description="
(Boolean)True to start disabled (defaults to false)
" %>
<%@ attribute
name="disabledClass"
type="java.lang.String"
required="false"
description="
(String)CSS class added to the component when it is disabled (defaults to 'x-item-disabled').
" %>
<%@ attribute
name="enableToggle"
type="java.lang.Boolean"
required="false"
description="
(Boolean)True to enable pressed/not pressed toggling (defaults to false)
" %>
<%@ attribute
name="handleMouseEvents"
type="java.lang.Boolean"
required="false"
description="
(Boolean)False to disable visual cues on mouseover, mouseout and mousedown (defaults to true)
" %>
<%@ attribute
name="handler"
type="java.lang.String"
required="false"
description="
(Function)A function called when the button is clicked (can be used instead of click event)
" %>
<%@ attribute
name="hidden"
type="java.lang.Boolean"
required="false"
description="
(Boolean)True to start hidden (defaults to false)
" %>
<%@ attribute
name="hideMode"
type="java.lang.String"
required="false"
description="
(String)How this component should hidden. Supported values are 'visibility' (css visibility), 'offsets' (negative offset position) and 'display' (css display) - defaults to 'display'.
" %>
<%@ attribute
name="hideParent"
type="java.lang.Boolean"
required="false"
description="
(Boolean)True to hide and show the component's container when hide/show is called on the component, false to hide and show the component itself (defaults to false). For example, this can be used as a shortcut for a hide button on a window by setting hide:true on the button when adding it to its parent container.
" %>
<%@ attribute
name="icon"
type="java.lang.String"
required="false"
description="
(String)The path to an image to display in the button (the image will be set as the background-image CSS property of the button by default, so if you want a mixed icon/text button, set cls:'x-btn-text-icon')
" %>
<%@ attribute
name="iconCls"
type="java.lang.String"
required="false"
description="
(String)A css class which sets a background image to be used as the icon for this button
" %>
<%@ attribute
name="id"
type="java.lang.String"
required="false"
description="
(String)The unique id of this component (defaults to an auto-assigned id).
" %>
<%@ attribute
name="listeners"
type="java.lang.Object"
required="false"
description="
(Object)A config object containing one or more event handlers to be added to this object during initialization. This should be a valid listeners config object as specified in the addListener example for attaching multiple handlers at once.
" %>
<%@ attribute
name="menu"
type="java.lang.String"
required="false"
description="
(Mixed)Standard menu attribute consisting of a reference to a menu object, a menu id or a menu config blob (defaults to undefined).
" %>
<%@ attribute
name="menuAlign"
type="java.lang.String"
required="false"
description="
(String)The position to align the menu to (see Ext.Element.alignTo for more details, defaults to 'tl-bl?').
" %>
<%@ attribute
name="minWidth"
type="java.lang.Integer"
required="false"
description="
(Number)The minimum width for this button (used to give a set of buttons a common width)
" %>
<%@ attribute
name="plugins"
type="java.lang.Object"
required="false"
description="
(Object/Array)An object or array of objects that will provide custom functionality for this component. The only requirement for a valid plugin is that it contain an init method that accepts a reference of type Ext.Component. When a component is created, if any plugins are available, the component will call the init method on each plugin, passing a reference to itself. Each plugin can then call methods or respond to events on the component as needed to provide its functionality.
" %>
<%@ attribute
name="pressed"
type="java.lang.Boolean"
required="false"
description="
(Boolean)True to start pressed (only if enableToggle = true)
" %>
<%@ attribute
name="renderTo"
type="java.lang.String"
required="false"
description="
(Mixed)The id of the node, a DOM node or an existing Element that will be the container to render this component into. Using this config, a call to render() is not required.
" %>
<%@ attribute
name="repeat"
type="java.lang.Object"
required="false"
description="
(Boolean/Object)True to repeat fire the click event while the mouse is down. This can also be an Ext.util.ClickRepeater config object (defaults to false).
" %>
<%@ attribute
name="scope"
type="java.lang.Object"
required="false"
description="
(Object)The scope of the handler
" %>
<%@ attribute
name="stateEvents"
type="java.lang.String"
required="false"
description="
(Array)An array of events that, when fired, should trigger this component to save its state (defaults to none). These can be any types of events supported by this component, including browser or custom events (e.g., ['click', 'customerchange']).
" %>
<%@ attribute
name="stateId"
type="java.lang.String"
required="false"
description="
(String)The unique id for this component to use for state management purposes (defaults to the component id).
" %>
<%@ attribute
name="style"
type="java.lang.String"
required="false"
description="
(String)A custom style specification to be applied to this component's Element. Should be a valid argument to Ext.Element.applyStyles.
" %>
<%@ attribute
name="tabIndex"
type="java.lang.Integer"
required="false"
description="
(Number)Set a DOM tabIndex for this button (defaults to undefined)
" %>
<%@ attribute
name="text"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -