public String getName() { if (destinationDirectoryPanel == null) { return null; } return destinationDirectoryPanel.getName(); }
panel.addMouseListener(new MouseAdapter() { @Override public void mouseClicked(MouseEvent arg0) { JPanel panel = (JPanel) arg0.getSource(); System.out.println(panel.getName()); } });
@ScriptFunction(jsDoc = JS_NAME_DOC) @Override public String getName() { return super.getName(); }
@ScriptFunction(jsDoc = JS_NAME_DOC) @Override public String getName() { return super.getName(); }
@ScriptFunction(jsDoc = JS_NAME_DOC) @Override public String getName() { return super.getName(); }
@ScriptFunction @Undesignable @Override public String getName() { return super.getName(); }
private static void displayFallback(Object whereFrom, Object obj, DisplayType dt) { BT boxed = getTreeBoxCollection().findOrCreateBox(obj); BoxContext bc = asBoxed(whereFrom).getBoxContext(); JPanel pnl = boxed.getPropertiesPanel(); if (dt == DisplayType.FRAME) { BoxPanelSwitchableView jtp = getBoxPanelTabPane(); jtp.addComponent(pnl.getName(), pnl, DisplayType.FRAME); return; } BoxPanelSwitchableView jtp = getBoxPanelTabPane(); jtp.addComponent(pnl.getName(), pnl, DisplayType.PANEL); }
private void initialize() { this.setLayout(new CardLayout()); this.setSize(474, 251); this.setName(Constant.messages.getString("brk.panel.title")); this.setIcon(new ImageIcon(BreakpointsPanel.class.getResource("/resource/icon/16/101.png"))); // 'red X' icon this.setDefaultAccelerator(KeyStroke.getKeyStroke( KeyEvent.VK_B, Toolkit.getDefaultToolkit().getMenuShortcutKeyMask() | KeyEvent.ALT_DOWN_MASK | KeyEvent.SHIFT_DOWN_MASK, false)); this.setMnemonic(Constant.messages.getChar("brk.panel.mnemonic")); this.add(getPanelCommand(), getPanelCommand().getName()); }
void changeCategory(ChangeEvent e) { JPanel p = (JPanel) ui.getCategories().getSelectedComponent(); if (p == null) { // pas de selection return; } ui.getModel().setCategory(p.getName()); ui.getCategories().invalidate(); }
public void changeCategory(ChangeEvent e) { JPanel p = (JPanel) ui.getCategories().getSelectedComponent(); if (p == null) { // pas de selection return; } ui.getModel().setCategory(p.getName()); ui.getCategories().invalidate(); }
public void changeCategory(ChangeEvent e) { JPanel p = (JPanel) ui.getCategories().getSelectedComponent(); if (p == null) { // pas de selection return; } ui.getModel().setCategory(p.getName()); ui.getCategories().invalidate(); }
/** * This method initializes the Panel */ private void initialize() { this.setLayout(new CardLayout()); this.setName(Constant.messages.getString("variant.options.title")); this.add(getPanelScanner(), getPanelScanner().getName()); }
/** * This method initializes this */ private void initialize() { this.setLayout(new CardLayout()); this.setName(Constant.messages.getString("cfu.options.title")); this.add(getPanelMisc(), getPanelMisc().getName()); } /**
/** * This method initializes this */ private void initialize() { this.setLayout(new CardLayout()); this.setName(Constant.messages.getString("view.options.title")); this.add(getPanelMisc(), getPanelMisc().getName()); } /**
/** * This method initializes this */ private void initialize() { this.setLayout(new CardLayout()); this.setName(Constant.messages.getString("conn.options.title")); this.add(getPanelProxyChain(), getPanelProxyChain().getName()); }
/** * This method initializes this */ private void initialize() { this.setLayout(new CardLayout()); this.setName(getPanelName(getContextIndex())); this.add(getPanelSession(), getPanelSession().getName()); }
/** * This method initializes this */ private void initialize() { this.setLayout(new CardLayout()); this.setName(PANEL_NAME); regexesPanel = new MultipleRegexesOptionsPanel(View.getSingleton().getSessionDialog()); this.add(getPanelSession(), getPanelSession().getName()); }
/** * This method initializes this */ private void initialize() { this.setLayout(new CardLayout()); this.setName(PANEL_NAME); regexesPanel = new MultipleRegexesOptionsPanel(View.getSingleton().getSessionDialog()); this.add(getPanelSession(), getPanelSession().getName()); }
/** * Constructs a {@code ContextStructurePanel} for the given context. * * @param context the target context, must not be {@code null}. */ public ContextStructurePanel(Context context) { super(context.getIndex()); this.setLayout(new CardLayout()); this.setName(getPanelName(this.getContextIndex())); this.add(getPanel(), getPanel().getName()); }