1 <?xml version="1.0" encoding="UTF-8"?> 2 3 <!-- 4 Copyright (c) 2012, 2014, Oracle and/or its affiliates. 5 All rights reserved. Use is subject to license terms. 6 7 This file is available and licensed under the following license: 8 9 Redistribution and use in source and binary forms, with or without 10 modification, are permitted provided that the following conditions 11 are met: 12 13 - Redistributions of source code must retain the above copyright 14 notice, this list of conditions and the following disclaimer. 15 - Redistributions in binary form must reproduce the above copyright 16 notice, this list of conditions and the following disclaimer in 17 the documentation and/or other materials provided with the distribution. 18 - Neither the name of Oracle Corporation nor the names of its 19 contributors may be used to endorse or promote products derived 20 from this software without specific prior written permission. 21 22 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 23 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 24 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 25 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 26 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 27 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 28 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 29 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 30 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 32 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 --> 34 35 <?import com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.editors.*?> 36 <?import java.lang.*?> 37 <?import javafx.geometry.*?> 38 <?import javafx.scene.control.*?> 39 <?import javafx.scene.layout.*?> 40 <?scenebuilder-classpath-element ../../../../../../../../../../dist/SceneBuilderKit.jar?> 41 42 <HBox maxWidth="1.7976931348623157E308" spacing="1.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"> 43 <children> 44 <IntegerField fx:id="integerField" onKeyReleased="#textFieldKeyReleased" onMouseClicked="#textFieldMouseClicked"> 45 <contextMenu> 46 <ContextMenu maxHeight="-1.0"> 47 <items> 48 <CustomMenuItem mnemonicParsing="false"> 49 <content> 50 <ListView fx:id="suggestedLv" maxHeight="-1.0" minHeight="-1.0" onKeyPressed="#suggestedLvKeyPressed" onMousePressed="#suggestedLvMousePressed" prefHeight="92.0" prefWidth="180.0" /> 51 </content> 52 </CustomMenuItem> 53 </items> 54 <styleClass> 55 <String fx:value="theme-presets" /> 56 <String fx:value="property-sheet" /> 57 <String fx:value="auto-suggest-popup" /> 58 </styleClass> 59 </ContextMenu> 60 </contextMenu> 61 <HBox.margin> 62 <Insets /> 63 </HBox.margin> 64 </IntegerField><MenuButton fx:id="menuButton" mnemonicParsing="false" HBox.hgrow="NEVER" xmlns:fx="http://javafx.com/fxml"> 65 <items> 66 <MenuItem mnemonicParsing="false" text="Action 1" /> 67 <MenuItem mnemonicParsing="false" text="Action 2" /> 68 </items> 69 <styleClass> 70 <String fx:value="menu-button" /> 71 <String fx:value="multi-row-menubutton" /> 72 </styleClass> 73 </MenuButton> 74 </children> 75 </HBox>