Tabnine Logo
CheckMenuItem.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
javafx.scene.control.CheckMenuItem
constructor

Best Java code snippets using javafx.scene.control.CheckMenuItem.<init> (Showing top 7 results out of 315)

origin: speedment/speedment

  final CheckMenuItem mi = new CheckMenuItem("_Project Tree");
  mi.setGraphic(SpeedmentIcon.APPLICATION_SIDE_TREE.view());
  mi.selectedProperty().bindBidirectional(ui.projectTreeVisibleProperty());
})
.set("workspace", () -> {
  final CheckMenuItem mi = new CheckMenuItem("_Workspace");
  mi.setGraphic(SpeedmentIcon.APPLICATION_FORM.view());
  mi.selectedProperty().bindBidirectional(ui.workspaceVisibleProperty());
})
.set("output", () -> {
  final CheckMenuItem mi = new CheckMenuItem("_Output");
  mi.setGraphic(SpeedmentIcon.APPLICATION_XP_TERMINAL.view());
  mi.selectedProperty().bindBidirectional(ui.outputVisibleProperty());
origin: org.controlsfx/controlsfx

/**
 * Takes the provided {@link Action} and returns a {@link CheckMenuItem} instance
 * with all relevant properties bound to the properties of the Action.
 *
 * @param action The {@link Action} that the {@link CheckMenuItem} should bind to.
 * @return A {@link CheckMenuItem} that is bound to the state of the provided
 *      {@link Action}
 */
public static CheckMenuItem createCheckMenuItem(final Action action) {
  return configure(new CheckMenuItem(), action);
}
origin: org.controlsfx/controlsfx

/**
 * Takes the provided {@link Action} and returns a {@link MenuItem} instance
 * with all relevant properties bound to the properties of the Action.
 *
 * @param action The {@link Action} that the {@link MenuItem} should bind to.
 * @return A {@link MenuItem} that is bound to the state of the provided
 *      {@link Action}
 */
public static MenuItem createMenuItem(final Action action) {
  MenuItem menuItem =
    action.getClass().isAnnotationPresent(ActionCheck.class)? new CheckMenuItem(): new MenuItem();
  return configure( menuItem, action);
}
origin: com.aquafx-project/aquafx

CheckMenuItem showMessagesItem = new CheckMenuItem("Enable onShowing/onHiding _messages");
MenuItem menu15 = new MenuItem("E_xit");
final String change[] = {"Change Text", "Change Back"};
final CheckMenuItem menu113 = new CheckMenuItem("Show \"foo\" item");
menu113.setSelected(true);
menu113.selectedProperty().addListener(new InvalidationListener() {
origin: com.aquafx-project/aquafx

MenuItem windowDock = new MenuItem("Im Dock ablegen");
windowDock.setAccelerator(KeyCombination.keyCombination("shortcut+M"));
CheckMenuItem actual = new CheckMenuItem("Datum & Uhrzeit");
actual.setSelected(true);
menuWindow.getItems().addAll(windowClose, windowDock, new SeparatorMenuItem(), actual);
origin: com.aquafx-project/aquafx

MenuItem windowDock = new MenuItem("Im Dock ablegen");
windowDock.setAccelerator(KeyCombination.keyCombination("shortcut+M"));
CheckMenuItem actual = new CheckMenuItem("Datum & Uhrzeit");
actual.setSelected(true);
menuWindow.getItems().addAll(windowClose, windowDock, new SeparatorMenuItem(), actual);
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

fullScreenMenuItem = new CheckMenuItem("FullScreen");
fullScreenMenuItem.setOnAction(e -> switchFullscreen());
fullScreenMenuItem.setAccelerator(new KeyCodeCombination(KeyCode.F, KeyCombination.CONTROL_DOWN, KeyCombination.SHORTCUT_DOWN));
javafx.scene.controlCheckMenuItem<init>

Popular methods of CheckMenuItem

  • selectedProperty
  • isSelected
  • setSelected
  • setOnAction
  • setAccelerator
  • setGraphic

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setRequestProperty (URLConnection)
  • requestLocationUpdates (LocationManager)
  • findViewById (Activity)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JLabel (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now