-
- 所有已知实现类:
-
Accordion,Affine,Alert,AmbientLight,AnchorPane,Arc,AreaChart,Axis,BarChart,BorderPane,Box,BubbleChart,Button,ButtonBar,ButtonBase,Camera,Canvas,CategoryAxis,Cell,Chart,CheckBox,CheckBoxListCell,CheckBoxTableCell,CheckBoxTreeCell,CheckBoxTreeItem,CheckBoxTreeTableCell,CheckMenuItem,ChoiceBox,ChoiceBoxListCell,ChoiceBoxTableCell,ChoiceBoxTreeCell,ChoiceBoxTreeTableCell,ChoiceDialog,Circle,ColorPicker,ComboBox,ComboBoxBase,ComboBoxListCell,ComboBoxTableCell,ComboBoxTreeCell,ComboBoxTreeTableCell,ContextMenu,Control,CubicCurve,CustomMenuItem,Cylinder,DateCell,DatePicker,Dialog,DialogPane,Ellipse,FlowPane,GridPane,Group,HBox,HTMLEditorHTMLEditor,Hyperlink,ImageView,IndexedCell,Label,Labeled,LightBase,Line,LineChart,ListCell,ListView,MediaView,Menu,MenuBar,MenuButton,MenuItem,MeshView,NestedTableColumnHeader,Node,NumberAxis,Pagination,Pane,ParallelCamera,Parent,PasswordField,Path,PerspectiveCamera,PieChart,PointLight,Polygon,Polyline,Popup,PopupControl,PopupControl.CSSBridge,PopupWindow,ProgressBar,ProgressBarTableCell,ProgressBarTreeTableCell,ProgressIndicator,QuadCurve,RadioButton,RadioMenuItem,Rectangle,Region,Rotate,Scale,ScatterChart,Scene,ScheduledService,ScrollBar,ScrollPane,Separator,SeparatorMenuItem,Service,Shape,Shape3D,ShearShear,Slider,Sphere,Spinner,SplitMenuButton,SplitPane,StackedAreaChart,StackedBarChart,StackPane,Stage,SubScene,SVGPath,SwingNode,Tab,TableCell,TableColumn,TableColumnBase,TableColumnHeader,TableHeaderRow,TableRow,TableView,TabPane,Task,Text,TextArea,TextField,TextFieldListCell,TextFieldTableCell,TextFieldTreeCell,TextFieldTreeTableCell,TextFlow,TextInputControl,TextInputDialog,TilePane,TitledPane,ToggleButton,ToolBar,Tooltip,Transform,Translate,TreeCell,TreeItem,TreeTableCell,TreeTableColumn,TreeTableRow,TreeTableView,TreeView,ValueAxis,VBox,VirtualFlow,WebView,Window,XYChart
public interface EventTarget表示事件目标。- 从以下版本开始:
- JavaFX 2.0
-
-
方法摘要
所有方法 接口方法 抽象方法 Modifier and Type 方法 描述 EventDispatchChainbuildEventDispatchChain(EventDispatchChain tail)为此目标构建事件调度链。
-
-
-
方法详细信息
-
buildEventDispatchChain
EventDispatchChain buildEventDispatchChain(EventDispatchChain tail)
为此目标构建事件调度链。 事件调度链包含可能对处理针对EventTarget的事件感兴趣的事件调度EventTarget。 此事件目标不会自动添加到链中,因此如果要处理事件,则需要向链中添加一个EventDispatcher。在事件目标是某些层次结构的一部分的情况下,它的链通常是从从层次结构的根被收集到事件目标的事件分派器构建的。
事件调度链是通过修改提供的初始事件调度链来构建的。 返回的链应该在其末端具有初始链,所以调度员应该放在初始链上。
调用者不应该假定初始链条保持不变,也不会返回值引用不同的链。
- 参数
-
tail- 从...建立的初始链 - 结果
- the resulting event dispatch chain for this target
-
-