Codota Logo
JideIconsFactory.getImageIcon
Code IndexAdd Codota to your IDE (free)

How to use
getImageIcon
method
in
com.jidesoft.icons.JideIconsFactory

Best Java code snippets using com.jidesoft.icons.JideIconsFactory.getImageIcon (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: com.jidesoft/jide-oss

/**
 * Creates a ScrollButton.
 *
 * @param type one of the four values - NORTH, SOUTH, WEST, EAST as defined in SwingConstants.
 */
public ScrollButton(int type) {
  _type = type;
  switch (type) {
    case SwingConstants.NORTH:
      setIcon(JideIconsFactory.getImageIcon(JideIconsFactory.Arrow.UP));
      break;
    case SwingConstants.SOUTH:
      setIcon(JideIconsFactory.getImageIcon(JideIconsFactory.Arrow.DOWN));
      break;
    case SwingConstants.WEST:
      setIcon(JideIconsFactory.getImageIcon(JideIconsFactory.Arrow.LEFT));
      break;
    case SwingConstants.EAST:
      setIcon(JideIconsFactory.getImageIcon(JideIconsFactory.Arrow.RIGHT));
      break;
  }
  addActionListener(this);
  addMouseListener(this);
  setPreferredSize(new Dimension(10, 10));
  setMinimumSize(new Dimension(10, 10));
}
origin: edu.toronto.cs.medsavant/medsavant-client

public void addDocument(String path) {
  if (!(new File(path)).exists()) {
    JOptionPane.showMessageDialog(this, "Error opening file: \"" + path + "\"");
    return;
  }
  JComponent editor = createTextArea(path);
  editor.setFont(new Font(Font.MONOSPACED, Font.PLAIN, 14));
  final DocumentComponent txtDocument = new DocumentComponent(new JScrollPane(editor),
      path, path,
      JideIconsFactory.getImageIcon(JideIconsFactory.FileType.TEXT));
  txtDocument.setDefaultFocusComponent(editor);
  list.add(0,txtDocument);
  pane.setOpenedDocuments(list);
  pane.getLayoutPersistence().setProfileKey("documents");
  pane.getLayoutPersistence().loadLayoutData();
  this.pack();
  this.setVisible(true);
}
origin: edu.toronto.cs.savant/savant-core

public void addDocument(String path) {
  if (!(new File(path)).exists()) {
    JOptionPane.showMessageDialog(this, "Error opening file: \"" + path + "\"");
    return;
  }
  JComponent editor = createTextArea(path);
  editor.setFont(new Font(Font.MONOSPACED, Font.PLAIN, 14));
  final DocumentComponent txtDocument = new DocumentComponent(new JScrollPane(editor),
      path, path,
      JideIconsFactory.getImageIcon(JideIconsFactory.FileType.TEXT));
  txtDocument.setDefaultFocusComponent(editor);
  list.add(0,txtDocument);
  pane.setOpenedDocuments(list);
  pane.getLayoutPersistence().setProfileKey("documents");
  pane.getLayoutPersistence().loadLayoutData();
  this.pack();
  this.setVisible(true);
}
origin: com.jidesoft/jide-oss

"PopupMenuSeparator.background", menuBackground,
"CheckBoxMenuItem.checkIcon", new MenuCheckIcon(JideIconsFactory.getImageIcon(JideIconsFactory.MENU_CHECKBOX_VSNET)),
"CheckBoxMenuItem.selectionBackground", menuSelectionBackground,
"CheckBoxMenuItem.selectionForeground", menuTextColor,
origin: com.jidesoft/jide-oss

"PopupMenuSeparator.background", menuBackground,
"CheckBoxMenuItem.checkIcon", new MenuCheckIcon(JideIconsFactory.getImageIcon(JideIconsFactory.MENU_CHECKBOX_VSNET)),
"CheckBoxMenuItem.selectionBackground", menuSelectionBackground,
"CheckBoxMenuItem.selectionForeground", menuTextColor,
origin: com.jidesoft/jide-oss

"DockableFrame.usingMacStandardIcons", Boolean.TRUE,
"DockableFrame.defaultIcon", JideIconsFactory.getImageIcon(JideIconsFactory.DockableFrame.BLANK),
"DockableFrame.background", defaultBackgroundColor,
"DockableFrame.border", new BorderUIResource(BorderFactory.createLineBorder(Color.lightGray, 1)),
origin: com.jidesoft/jide-oss

"PopupMenuSeparator.background", defaultShadowColor,
"CheckBoxMenuItem.checkIcon", new MenuCheckIcon(JideIconsFactory.getImageIcon(JideIconsFactory.MENU_CHECKBOX_ECLIPSE)),
"CheckBoxMenuItem.selectionBackground", selectionBackgroundColor,
"CheckBoxMenuItem.selectionForeground", selectionTextColor,
origin: com.jidesoft/jide-oss

"PopupMenuSeparator.background", menuBackground,
"CheckBoxMenuItem.checkIcon", new MenuCheckIcon(JideIconsFactory.getImageIcon(JideIconsFactory.MENU_CHECKBOX_VSNET)),
"CheckBoxMenuItem.selectionBackground", menuSelectionBackground,
"CheckBoxMenuItem.selectionForeground", menuTextColor,
com.jidesoft.iconsJideIconsFactorygetImageIcon

Popular methods of JideIconsFactory

    Popular in Java

    • Start an intent from android
    • getSystemService (Context)
    • scheduleAtFixedRate (Timer)
      Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
    • onCreateOptionsMenu (Activity)
    • Path (java.nio.file)
    • Comparator (java.util)
      A Comparator is used to compare two objects to determine their ordering with respect to each other.
    • Hashtable (java.util)
      Hashtable is a synchronized implementation of Map. All optional operations are supported.Neither key
    • Semaphore (java.util.concurrent)
      A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
    • Response (javax.ws.rs.core)
      Defines the contract between a returned instance and the runtime when an application needs to provid
    • Table (org.hibernate.mapping)
      A relational table
    Codota Logo
    • Products

      Search for Java codeSearch for JavaScript codeEnterprise
    • IDE Plugins

      IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Codota for your IDE now