java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.AbstractButton
javax.swing.JButton
ro.sync.ui.application.ApplicationButton
ro.sync.exml.workspace.api.standalone.ui.Button
All Implemented Interfaces:
ImageObserver, ItemSelectable, MenuContainer, Serializable, Accessible, SwingConstants

@API(type=EXTENDABLE, src=PUBLIC) public class Button extends ro.sync.ui.application.ApplicationButton
Button which has proper support for retina icons.
See Also:
  • Constructor Details

    • Button

      public Button()
      Default constructor.
    • Button

      public Button(String text)
      Creates a button with text.
      Parameters:
      text - the text of the button
    • Button

      public Button(Icon icon)
      Creates a button with an icon.
      Parameters:
      icon - the Icon image to display on the button
    • Button

      public Button(String text, Icon icon)
      Creates a button with initial text and an icon.
      Parameters:
      text - the text of the button
      icon - the Icon image to display on the button
    • Button

      public Button(Action action)
      Creates a button where properties are taken from the Action supplied.
      Parameters:
      action - the Action used to specify the new button