⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tree.treepanel.tag

📁 基于Jscript实现在类库,集成了现流行的ajax,重载select组件库
💻 TAG
📖 第 1 页 / 共 4 页
字号:
    * Panel : Ext.Panel

      The host Panel

 scope : Object
#

The scope in which to call the handler.
 qtip : String/Object
#

A tip string, or a config argument to Ext.QuickTip.register
 hidden : Boolean
#

True to initially render hidden.
 on : Object
#

A listener config object specifiying event listeners in the format of an argument to addListener
  Example usage: 

tools:[{id:'refresh',// hidden:true,handler: function(event, toolEl, panel){// refresh logic}}]

 Note that apart from the toggle tool which is provided when a panel is collapsible, these tools only provide the visual button. Any required functionality must be provided by adding handlers that implement the necessary behavior.
" %>

<%@ attribute
	name="width"
	type="java.lang.Integer"
	required="false"
	description="
(Number)The width of this component in pixels (defaults to auto).
" %>

<%@ attribute
	name="xtype"
	type="java.lang.String"
	required="false"
	description="
(String)The registered xtype to create. This config option is not used when passing a config object into a constructor. This config option is used only when lazy instantiation is being used, and a child item of a Container is being specified not as a fully instantiated Component, but as a Component config object. The xtype will be looked up at render time up to determine what type of child Component to create.

 The predefined xtypes are listed here. 

 If you subclass Components to create your own Components, you may register them using Ext.ComponentMgr.registerType in order to be able to take advantage of lazy instantiation and rendering.
" %>

<%-- Config params _____________________________END --%>

<%-- Events _____________________________START --%>

<%@ attribute
	name="onActivate"
	type="java.lang.String"
	required="false"
	description="
( Ext.Panel p )Fires after the Panel has been visually activated.Note that Panels do not directly support being activated, but some Panel subclassesdo (like Ext.Window). Panels which are child Components of a TabPanel fire theactivate and deactivate events under the control of the TabPanel.
" %>

<%@ attribute
	name="onAdd"
	type="java.lang.Integer"
	required="false"
	description="
( Ext.Container this, Ext.Component component, Number index )Fires after any Ext.Component is added or inserted into the container.
" %>

<%@ attribute
	name="onAfterlayout"
	type="java.lang.String"
	required="false"
	description="
( Ext.Container this, ContainerLayout layout )Fires when the components in this container are arranged by the associated layout manager.
" %>

<%@ attribute
	name="onAppend"
	type="java.lang.Integer"
	required="false"
	description="
( Tree tree, Node parent, Node node, Number index )Fires when a new child node is appended to a node in this tree.
" %>

<%@ attribute
	name="onBeforeadd"
	type="java.lang.Integer"
	required="false"
	description="
( Ext.Container this, Ext.Component component, Number index )Fires before any Ext.Component is added or inserted into the container.A handler can return false to cancel the add.
" %>

<%@ attribute
	name="onBeforeappend"
	type="java.lang.String"
	required="false"
	description="
( Tree tree, Node parent, Node node )Fires before a new child is appended to a node in this tree, return false to cancel the append.
" %>

<%@ attribute
	name="onBeforechildrenrendered"
	type="java.lang.String"
	required="false"
	description="
( Node node )Fires right before the child nodes for a node are rendered
" %>

<%@ attribute
	name="onBeforeclick"
	type="java.lang.Object"
	required="false"
	description="
( Node node, Ext.EventObject e )Fires before click processing on a node. Return false to cancel the default action.
" %>

<%@ attribute
	name="onBeforeclose"
	type="java.lang.String"
	required="false"
	description="
( Ext.Panel p )Fires before the Panel is closed.Note that Panels do not directly support being closed, but somePanel subclasses do (like Ext.Window).This event only applies to such subclasses.A handler can return false to cancel the close.
" %>

<%@ attribute
	name="onBeforecollapse"
	type="java.lang.Boolean"
	required="false"
	description="
( Ext.Panel p, Boolean animate )Fires before the Panel is collapsed.A handler can return false to cancel the collapse.
" %>

<%@ attribute
	name="onBeforecollapsenode"
	type="java.lang.Boolean"
	required="false"
	description="
( Node node, Boolean deep, Boolean anim )Fires before a node is collapsed, return false to cancel.
" %>

<%@ attribute
	name="onBeforedestroy"
	type="java.lang.String"
	required="false"
	description="
( Ext.Component this )Fires before the component is destroyed. Return false to stop the destroy.
" %>

<%@ attribute
	name="onBeforeexpand"
	type="java.lang.Boolean"
	required="false"
	description="
( Ext.Panel p, Boolean animate )Fires before the Panel is expanded.A handler can return false to cancel the expand.
" %>

<%@ attribute
	name="onBeforeexpandnode"
	type="java.lang.Boolean"
	required="false"
	description="
( Node node, Boolean deep, Boolean anim )Fires before a node is expanded, return false to cancel.
" %>

<%@ attribute
	name="onBeforehide"
	type="java.lang.String"
	required="false"
	description="
( Ext.Component this )Fires before the component is hidden. Return false to stop the hide.
" %>

<%@ attribute
	name="onBeforeinsert"
	type="java.lang.String"
	required="false"
	description="
( Tree tree, Node parent, Node node, Node refNode )Fires before a new child is inserted in a node in this tree, return false to cancel the insert.
" %>

<%@ attribute
	name="onBeforeload"
	type="java.lang.String"
	required="false"
	description="
( Node node )Fires before a node is loaded, return false to cancel
" %>

<%@ attribute
	name="onBeforemovenode"
	type="java.lang.Integer"
	required="false"
	description="
( Tree tree, Node node, Node oldParent, Node newParent, Number index )Fires before a node is moved to a new location in the tree. Return false to cancel the move.
" %>

<%@ attribute
	name="onBeforenodedrop"
	type="java.lang.Object"
	required="false"
	description="
( Object dropEvent )Fires when a DD object is dropped on a node in this tree for preprocessing. Return false to cancel the drop. The dropEventpassed to handlers has the following properties:

    * tree - The TreePanel
    * target - The node being targeted for the drop
    * data - The drag data from the drag source
    * point - The point of the drop - append, above or below
    * source - The drag source
    * rawEvent - Raw mouse event
    * dropNode - Drop node(s) provided by the source OR you can supply node(s)to be inserted by setting them on this object.
    * cancel - Set this to true to cancel the drop.

" %>

<%@ attribute
	name="onBeforeremove"
	type="java.lang.String"
	required="false"
	description="
( Tree tree, Node parent, Node node )Fires before a child is removed from a node in this tree, return false to cancel the remove.
" %>

<%@ attribute
	name="onBeforerender"
	type="java.lang.String"
	required="false"
	description="
( Ext.Component this )Fires before the component is rendered. Return false to stop the render.
" %>

<%@ attribute
	name="onBeforeshow"
	type="java.lang.String"
	required="false"
	description="
( Ext.Component this )Fires before the component is shown. Return false to stop the show.
" %>

<%@ attribute
	name="onBeforestaterestore"
	type="java.lang.Object"
	required="false"
	description="
( Ext.Component this, Object state )Fires before the state of the component is restored. Return false to stop the restore.
" %>

<%@ attribute
	name="onBeforestatesave"
	type="java.lang.Object"
	required="false"
	description="
( Ext.Component this, Object state )Fires before the state of the component is saved to the configured state provider. Return false to stop the save.
" %>

<%@ attribute
	name="onBodyresize"
	type="java.lang.Integer"
	required="false"
	description="
( Ext.Panel p, Number width, Number height )Fires after the Panel has been resized.
" %>

<%@ attribute
	name="onCheckchange"
	type="java.lang.Boolean"
	required="false"
	description="
( Node this, Boolean checked )Fires when a node with a checkbox's checked property changes
" %>

<%@ attribute
	name="onClick"
	type="java.lang.Object"
	required="false"
	description="
( Node node, Ext.EventObject e )Fires when a node is clicked
" %>

<%@ attribute
	name="onClose"
	type="java.lang.String"
	required="false"
	description="
( Ext.Panel p )Fires after the Panel is closed.Note that Panels do not directly support being closed, but somePanel subclasses do (like Ext.Window).
" %>

<%@ attribute
	name="onCollapse"
	type="java.lang.String"
	required="false"
	description="
( Ext.Panel p )Fires after the Panel has been collapsed.
" %>

<%@ attribute
	name="onCollapsenode"
	type="java.lang.String"
	required="false"
	description="
( Node node )Fires when a node is collapsed
" %>

<%@ attribute
	name="onContextmenu"
	type="java.lang.Object"
	required="false"
	description="
( Node node, Ext.EventObject e )Fires when a node is right clicked
" %>

<%@ attribute
	name="onDblclick"
	type="java.lang.Object"
	required="false"
	description="
( Node node, Ext.EventObject e )Fires when a node is double clicked
" %>

<%@ attribute
	name="onDeactivate"
	type="java.lang.String"
	required="false"
	description="
( Ext.Panel p )Fires after the Panel has been visually deactivated.Note that Panels do not directly support being deactivated, but some Panel subclassesdo (like Ext.Window). Panels which are child Components of a TabPanel fire theactivate and deactivate events under the control of the TabPanel.
" %>

<%@ attribute
	name="onDestroy"
	type="java.lang.String"
	required="false"
	description="
( Ext.Component this )Fires after the component is destroyed.
" %>

<%@ attribute
	name="onDisable"
	type="java.lang.String"
	required="false"
	description="
( Ext.Component this )Fires after the component is disabled.
" %>

<%@ attribute
	name="onDisabledchange"
	type="java.lang.Boolean"
	required="false"
	description="
( Node node, Boolean disabled )Fires when the disabled status of a node changes
" %>

<%@ attribute
	name="onDragdrop"
	type="java.lang.String"
	required="false"
	description="
( Ext.tree.TreePanel this, Ext.tree.TreeNode node, DD dd, event e )Fires when a dragged node is dropped on a valid DD target
" %>

<%@ attribute
	name="onEnable"
	type="java.lang.String"
	required="false"
	description="
( Ext.Component this )Fires after the component is enabled.
" %>

<%@ attribute
	name="onEnddrag"
	type="java.lang.String"
	required="false"
	description="

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -