Package nextapp.echo2.app

Examples of nextapp.echo2.app.Column


    protected final String IMG_DROPDOWN = Styles.IMAGE_PATH + "blank.gif";
   
    public JbsMenuLabel(String text) {
        super();
        this.setBtnMain(new JbsButton(""));
        this.getBtnMain().addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent arg0) {
                logger.debug("popup");
                setExpanded(!isExpanded());
                collapseAllOther();
View Full Code Here


        }
    }
   
    public void addMenuItem(MenuItem menuItem) {
        menuItem.setBorder(BorderEx.NONE);
        menuItem.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

            public void actionPerformed(ActionEvent arg0) {
                setExpanded(false);
View Full Code Here

 
  public JbsLangTextField(JbsLanguage mainLanguage) {
    this.setMainLanguage(mainLanguage);
    langStrings = new JbsLangStrings();
   
    this.getBtnSelect().addActionListener(new ActionListener() {

      private static final long serialVersionUID = 1L;

      public void actionPerformed(ActionEvent arg0) {
        editTexts();
View Full Code Here

  }
 
  public void editTexts() {
    final FmLangStringsEditShort fmLangStringsEdit = new FmLangStringsEditShort(JbsL10N.getString("Language.editStrings"));
    fmLangStringsEdit.setLangStrings(this.getLangStrings());
    fmLangStringsEdit.addActionListener(new ActionListener() {

      private static final long serialVersionUID = 1L;

      public void actionPerformed(ActionEvent e) {
        if (e.getActionCommand().equals(JbsDialogWindowOKCancel.ACTION_OK)) {
View Full Code Here

        this.setMaxIntegerDigits(0);
        this.setMinFractionDigits(2);
        this.setMaxFractionDigits(maxFractionDigits);
        this.setValue(0);
        this.setActionCausedOnChange(true);
        this.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

            public void actionPerformed(ActionEvent event) {
                setValue(getValue());
View Full Code Here

        mainRow.setInsets(new Insets(new JbsExtent(5), new JbsExtent(5)));

        btnOK = new JbsButton(JbsL10N.getString("Generic.ok"));
        btnOK.setAlignmentHorizontal(Alignment.CENTER);
        btnOK.setWidth(new JbsExtent(80));
        btnOK.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

            public void actionPerformed(ActionEvent arg0) {
                postDialog();
            }
        });
        mainRow.add(btnOK);

        btnCancel = new JbsButton(JbsL10N.getString("Generic.cancel"));
        btnCancel.setAlignmentHorizontal(Alignment.CENTER);
        btnCancel.setWidth(new JbsExtent(80));
        btnCancel.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

            public void actionPerformed(ActionEvent arg0) {
                cancelDialog();
View Full Code Here

    protected KeyStrokeListener createKeyStrokeListener() {
        KeyStrokeListener ks = new KeyStrokeListener();

        ks.addKeyCombination(KeyStrokeListener.ALT_MASK + KeyStrokeListener.VK_O, "OK");
        ks.addKeyCombination(KeyStrokeListener.VK_F10,"OK");
        ks.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

            public void actionPerformed(ActionEvent arg0) {
                if (arg0.getActionCommand().equals("OK")) {
View Full Code Here

        this.setToggleRolloverIcon(new ResourceImageReference(IMG_DROPDOWN));
    }

    public void addMenuItem(MenuItem menuItem) {
        menuItem.setBorder(BorderEx.NONE);
        menuItem.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

            public void actionPerformed(ActionEvent arg0) {
                setExpanded(false);
View Full Code Here

        this.addControl(groupName, groupName, control);
    }

    public void addSeparator(String groupName) {
        Row row = new Row();
        ColumnLayoutData layout = new ColumnLayoutData();
        layout.setHeight(new JbsExtent(15, JbsExtent.PX));
        row.setLayoutData(layout);
        this.addControl(groupName, row);
    }
View Full Code Here

        //If nor group is found then create a new one:
        if (newColumn == null) {
            newColumn = new Column();
            newColumn.setId(groupName);
            newColumn.setStyleName("Default");
            AccordionPaneLayoutData layoutData = new AccordionPaneLayoutData();
            layoutData.setTitle(groupTitle);
            newColumn.setLayoutData(layoutData);
            this.add(newColumn);
        }
        return newColumn;
    }
View Full Code Here

TOP

Related Classes of nextapp.echo2.app.Column

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.