Tabnine Logo
TabInfo
Code IndexAdd Tabnine to your IDE (free)

How to use
TabInfo
in
jaxx.runtime.swing

Best Java code snippets using jaxx.runtime.swing.TabInfo (Showing top 20 results out of 315)

origin: org.nuiton.jaxx/jaxx-runtime

public void setBackground(Color background) {
  Color oldValue = this.background;
  this.background = background;
  firePropertyChange(BACKGROUND_PROPERTY, oldValue, background);
}
origin: org.nuiton.jaxx/jaxx-runtime

  protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) {
    if (propertyChangeSupport != null) {
      getPropertyChangeSupport().firePropertyChange(propertyName, oldValue, newValue);
    }
  }
}
origin: fr.ifremer/isis-fish

private void $initialize() {
  if (allComponentsCreated) {
    return;
  }
  if (log.isDebugEnabled()) {
    log.debug(this);
  }
  $objectMap.put("$InputContentUI0", $InputContentUI0);
  createBean();
  createZoneTab();
  createZoneBasicsUI();
  createVariablesUI();
  // inline creation of $TabInfo0
  $objectMap.put("$TabInfo0", $TabInfo0 = new TabInfo());
  
  $TabInfo0.setTitle(t("isisfish.zone.title"));
  // inline creation of $TabInfo1
  $objectMap.put("$TabInfo1", $TabInfo1 = new TabInfo());
  
  $TabInfo1.setTitle(t("isisfish.variables.tabtitle"));
  // inline creation of $InputContentUI0
  setName("$InputContentUI0");
  
  // registers 6 data bindings
  $registerDefaultBindings();
  $completeSetup();
}
origin: org.nuiton.jaxx/jaxx-compiler

public static void setAttribute(CompiledObject compiledTabInfo, JTabbedPaneHandler.CompiledTabbedPane tabs, String name, String value, JAXXCompiler compiler) throws CompilerException {
  value = value.trim();
  TabInfo tabInfo = tabs.tabInfo;
  String id = tabInfo.getId();
  String binding = DataBindingHelper.processDataBindings(value);
  if (binding != null) {
    tabInfo.setTitle(value);
    compiledTabInfo.appendInitializationCode(id + ".setTitle(" + valueCode + ");");
    tabInfo.setToolTipText(value);
    compiledTabInfo.appendInitializationCode(id + ".setToolTipText(" + valueCode + ");");
    tabInfo.setIcon(icon);
    compiledTabInfo.appendInitializationCode(id + ".setIcon(" + TypeManager.getJavaCode(icon) + ");");
  } else if (name.equals(ATTRIBUTE_ENABLED)) {
    boolean enabled = (Boolean) TypeManager.convertFromString(value, Boolean.class);
    tabInfo.setEnabled(enabled);
    compiledTabInfo.appendInitializationCode(id + ".setEnabled(" + enabled + ");");
  } else if (name.equals(ATTRIBUTE_DISABLED_ICON)) {
    Icon disabledIcon = (Icon) TypeManager.convertFromString(value, Icon.class);
    tabInfo.setDisabledIcon(disabledIcon);
    compiledTabInfo.appendInitializationCode(id + ".setDisabledIcon(" + TypeManager.getJavaCode(disabledIcon) + ");");
  } else if (name.equals(ATTRIBUTE_MNEMONIC)) {
    int mnemonic = (Character) TypeManager.convertFromString(value, char.class);
    tabInfo.setMnemonic(mnemonic);
    compiledTabInfo.appendInitializationCode(id + ".setMnemonic(" + mnemonic + ");");
  } else if (name.equals(ATTRIBUTE_DISPLAYED_MNEMONIC_INDEX)) {
    int displayedMnemonicIndex = (Integer) TypeManager.convertFromString(value, int.class);
    tabInfo.setDisplayedMnemonicIndex(displayedMnemonicIndex);
origin: fr.ifremer/isis-fish

$objectMap.put("$TabInfo0", $TabInfo0 = new TabInfo());
$TabInfo0.setTitle(t("isisfish.params.title"));
$objectMap.put("$TabInfo1", $TabInfo1 = new TabInfo());
$TabInfo1.setEnabled(false);
$TabInfo1.setTitle(t("isisfish.preScript.title"));
$objectMap.put("$TabInfo2", $TabInfo2 = new TabInfo());
$TabInfo2.setEnabled(false);
$TabInfo2.setTitle(t("isisfish.sens.title"));
$objectMap.put("$TabInfo3", $TabInfo3 = new TabInfo());
$TabInfo3.setEnabled(false);
$TabInfo3.setTitle(t("isisfish.optimization.title"));
$objectMap.put("$TabInfo4", $TabInfo4 = new TabInfo());
$TabInfo4.setTitle(t("isisfish.export.title"));
$objectMap.put("$TabInfo5", $TabInfo5 = new TabInfo());
$TabInfo5.setTitle(t("isisfish.resultChoice.title"));
$objectMap.put("$TabInfo6", $TabInfo6 = new TabInfo());
origin: fr.ifremer/isis-fish

protected void addChildrenToParametersTabbedPane() {
  if (!allComponentsCreated) {
    return;
  }
  parametersTabbedPane.add($Table6);
  parametersTabbedPane.add($Table7);
  $TabInfo0.addPropertyChangeListener(new TabInfoPropertyChangeListener(parametersTabbedPane, 0));
  $TabInfo1.addPropertyChangeListener(new TabInfoPropertyChangeListener(parametersTabbedPane, 1));
}
origin: fr.ifremer/isis-fish

createCancel();
$objectMap.put("$TabInfo0", $TabInfo0 = new TabInfo());
$objectMap.put("$TabInfo1", $TabInfo1 = new TabInfo());
$objectMap.put("$TabInfo2", $TabInfo2 = new TabInfo());
origin: fr.ifremer/isis-fish

$TabInfo0.setTitle(t("isisfish.populationMigrationMigration.title"));
$TabInfo1.setTitle(t("isisfish.populationMigrationImmigration.title"));
$TabInfo2.setTitle(t("isisfish.populationMigrationEmigration.title"));
origin: fr.ifremer/isis-fish

private void $completeSetup() {
  allComponentsCreated = true;
  if (log.isDebugEnabled()) {
    log.debug(this);
  }
  // inline complete setup of $JPanel0
  add(simulTabs, BorderLayout.CENTER);
  addChildrenToSimulTabs();
  
  // apply 8 property setters
  simulTabs.setTabPlacement(JTabbedPane.LEFT);
  $TabInfo0.setIcon(new ImageIcon(getClass().getResource("/images/book.gif")));
  $TabInfo1.setIcon(new ImageIcon(getClass().getResource("/images/simulation.gif")));
  $TabInfo2.setIcon(new ImageIcon(getClass().getResource("/images/sensitivities.gif")));
  $TabInfo3.setIcon(new ImageIcon(getClass().getResource("/images/calc.gif")));
  $TabInfo4.setIcon(new ImageIcon(getClass().getResource("/images/bookPage.gif")));
  $TabInfo5.setIcon(new ImageIcon(getClass().getResource("/images/Queue.gif")));
}
origin: fr.ifremer/isis-fish

private void $initialize() {
  if (allComponentsCreated) {
    return;
  }
  if (log.isDebugEnabled()) {
    log.debug(this);
  }
  $objectMap.put("$InputContentUI0", $InputContentUI0);
  createBean();
  createGearTab();
  createGearTabUI();
  createSelectivityUI();
  // inline creation of $TabInfo0
  $objectMap.put("$TabInfo0", $TabInfo0 = new TabInfo());
  
  $TabInfo0.setTitle(t("isisfish.gear.title"));
  // inline creation of $TabInfo1
  $objectMap.put("$TabInfo1", $TabInfo1 = new TabInfo());
  
  $TabInfo1.setTitle(t("isisfish.selectivity.title"));
  // inline creation of $InputContentUI0
  setName("$InputContentUI0");
  
  // registers 6 data bindings
  $registerDefaultBindings();
  $completeSetup();
}
origin: fr.ifremer/isis-fish

$objectMap.put("$TabInfo0", $TabInfo0 = new TabInfo());
$TabInfo0.setTitle(t("isisfish.params.title"));
$objectMap.put("$TabInfo1", $TabInfo1 = new TabInfo());
$TabInfo1.setEnabled(false);
$TabInfo1.setTitle(t("isisfish.sensitivity.title"));
$objectMap.put("$TabInfo2", $TabInfo2 = new TabInfo());
$TabInfo2.setEnabled(false);
$TabInfo2.setTitle(t("isisfish.sensitivityChooser.title"));
$objectMap.put("$TabInfo3", $TabInfo3 = new TabInfo());
$TabInfo3.setTitle(t("isisfish.export.title"));
$objectMap.put("$TabInfo4", $TabInfo4 = new TabInfo());
$TabInfo4.setTitle(t("isisfish.resultChoice.title"));
$objectMap.put("$TabInfo5", $TabInfo5 = new TabInfo());
$TabInfo5.setTitle(t("isisfish.advancedParameters.title"));
$objectMap.put("$TabInfo6", $TabInfo6 = new TabInfo());
$TabInfo6.setTitle(t("isisfish.sensitivity.secondpass.title"));
origin: fr.ifremer/isis-fish

protected void addChildrenToFieldUseMatrix() {
  if (!allComponentsCreated) {
    return;
  }
  fieldUseMatrix.add(SwingUtil.boxComponentWithJxLayer(populationMigrationMigrationUI));
  fieldUseMatrix.add(SwingUtil.boxComponentWithJxLayer(populationMigrationImmigrationUI));
  fieldUseMatrix.add(SwingUtil.boxComponentWithJxLayer(populationMigrationEmigrationUI));
  $TabInfo0.addPropertyChangeListener(new TabInfoPropertyChangeListener(fieldUseMatrix, 0));
  $TabInfo1.addPropertyChangeListener(new TabInfoPropertyChangeListener(fieldUseMatrix, 1));
  $TabInfo2.addPropertyChangeListener(new TabInfoPropertyChangeListener(fieldUseMatrix, 2));
}
origin: org.nuiton.jaxx/jaxx-compiler

  @Override
  public void compileSecondPass(Element tag, final JAXXCompiler compiler) throws CompilerException, IOException {
    if (!ClassDescriptorHelper.getClassDescriptor(JTabbedPane.class).isAssignableFrom(compiler.getOpenComponent().getObjectClass())) {
      compiler.reportError("tab tag may only appear within JTabbedPane tag");
      return;
    }

    JTabbedPaneHandler.CompiledTabbedPane tabs = (JTabbedPaneHandler.CompiledTabbedPane) compiler.getOpenComponent();

    String id = tag.getAttribute(ATTRIBUTE_ID);
    if (id == null || id.length() == 0) {
      id = compiler.getAutoId(TabInfo.class.getSimpleName());
//            id = compiler.getAutoId(ClassDescriptorHelper.getClassDescriptor(TabInfo.class));
    }
    TabInfo tabInfo = new TabInfo(id);
    CompiledObject compiledTabInfo = new CompiledObject(id, ClassDescriptorHelper.getClassDescriptor(TabInfo.class), compiler);
    compiler.registerCompiledObject(compiledTabInfo);
    //id = tabInfo.getId();
    tabs.tabInfo = tabInfo;
    setAttributes(compiledTabInfo, tabs, tag, compiler);
    compileChildrenSecondPass(tag, compiler);
    tabs.tabInfo = null;
  }

origin: fr.ifremer/isis-fish

$JLabel3.setMinimumSize(new Dimension(140,25));
$JLabel3.setPreferredSize(new Dimension(140,25));
$TabInfo0.setTitle(t("isisfish.params.stategiesAndPopulations"));
listSimulParamsStrategies.setSelectionMode(javax.swing.ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
listSimulParamsPopulations.setSelectionMode(javax.swing.ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
$JLabel6.setBorder(BorderFactory.createEtchedBorder());
$TabInfo1.setTitle(t("isisfish.params.rules"));
addRuleFactorButton.setIcon(SwingUtil.createImageIcon("building_add.png"));
origin: fr.ifremer/isis-fish

createMetierSeasonSpeciesUI();
$objectMap.put("$TabInfo0", $TabInfo0 = new TabInfo());
$TabInfo0.setTitle(t("isisfish.metier.title"));
$objectMap.put("$TabInfo1", $TabInfo1 = new TabInfo());
$TabInfo1.setTitle(t("isisfish.metierSeasonInfoZone.title"));
$objectMap.put("$TabInfo2", $TabInfo2 = new TabInfo());
$TabInfo2.setTitle(t("isisfish.metierSeasonInfoSpecies.title"));
origin: fr.ifremer/isis-fish

protected void addChildrenToZoneTab() {
  if (!allComponentsCreated) {
    return;
  }
  zoneTab.add(zoneBasicsUI);
  zoneTab.add(variablesUI);
  $TabInfo0.addPropertyChangeListener(new TabInfoPropertyChangeListener(zoneTab, 0));
  zoneTab.setTitleAt(0, t("isisfish.zone.title"));
  $TabInfo1.addPropertyChangeListener(new TabInfoPropertyChangeListener(zoneTab, 1));
  zoneTab.setTitleAt(1, t("isisfish.variables.tabtitle"));
}
origin: org.nuiton.jaxx/jaxx-runtime

public void setForeground(Color foreground) {
  Color oldValue = this.foreground;
  this.foreground = foreground;
  firePropertyChange(FOREGROUND_PROPERTY, oldValue, foreground);
}
origin: fr.ifremer/isis-fish

createSaveSimul();
$objectMap.put("$TabInfo0", $TabInfo0 = new TabInfo());
$objectMap.put("$TabInfo1", $TabInfo1 = new TabInfo());
origin: org.nuiton.jaxx/jaxx-runtime-swing

  protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) {
    if (propertyChangeSupport != null) {
      getPropertyChangeSupport().firePropertyChange(propertyName, oldValue, newValue);
    }
  }
}
origin: fr.ifremer/isis-fish

createEffortParametersUI();
$objectMap.put("$TabInfo0", $TabInfo0 = new TabInfo());
$TabInfo0.setTitle(t("isisfish.setOfVessels.title"));
$objectMap.put("$TabInfo1", $TabInfo1 = new TabInfo());
$TabInfo1.setTitle(t("isisfish.effortDescription.title"));
$objectMap.put("$TabInfo2", $TabInfo2 = new TabInfo());
$TabInfo2.setTitle(t("isisfish.effortDescription.parametersTitle"));
jaxx.runtime.swingTabInfo

Most used methods

  • <init>
  • setTitle
  • addPropertyChangeListener
  • firePropertyChange
  • getPropertyChangeSupport
  • setEnabled
  • setIcon
  • getBackground
  • getDisabledIcon
  • getDisplayedMnemonicIndex
  • getForeground
  • getIcon
  • getForeground,
  • getIcon,
  • getId,
  • getMnemonic,
  • getTabComponentStr,
  • getTitle,
  • getToolTipText,
  • isEnabled,
  • setBackground,
  • setDisabledIcon

Popular in Java

  • Reading from database using SQL prepared statement
  • findViewById (Activity)
  • startActivity (Activity)
  • onRequestPermissionsResult (Fragment)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Best IntelliJ plugins
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