Package org.jitterbit.ui.widget.text

Examples of org.jitterbit.ui.widget.text.KongaTextArea$RepaintTrigger


    // TODO: I don't belong here. I should be in a separate class that is
    // responsible for figuring out what to insert.
    private NameGenerator nameGenerator;

    public SqlTextArea() {
        textArea = new KongaTextArea(5, 40);
        textArea.disableTabs();
        textArea.setTransferHandler(new TransferHandlerImpl(this, textArea.getTransferHandler()));
        DeTemplateTransferSupport.installDropHandler(textArea, "$%s");
        nameGenerator = NameGenerators.SIMPLE;
    }
View Full Code Here


        t.setOpaque(false);
        return t;
    }

    static JTextArea getExpressionArea(String expression, boolean editable) {
        JTextArea t = new KongaTextArea(expression, 6, 50).disableTabs();
        t.setCaretPosition(expression.length());
        t.setEditable(editable);
        return t;
    }
View Full Code Here

public class StackedSectionsDisplayTest implements Runnable {

    @Override
    public void run() {
        StackedSections stack = createStack();
        KongaTextArea textArea = new KongaTextArea(20, 50);
        KongaSplitPane split = KongaSplitPane.horizontalSplit(textArea.asUiProvider(), stack);
        QuickFrame.show(split, null);
        stack.openSection(0);
    }
View Full Code Here

    }

    private StackedSections createStack() {
        StackedSections stack = new StackedSections();
        for (String s : new String[] { "&Functions", "&Project Items", "&Data Elements", "Pl&ugins" }) {
            stack.addSection(s, null, new KongaTextArea(s, 4, 30).asUiProvider());
        }
        stack.setExclusive(false);
        return stack;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.widget.text.KongaTextArea$RepaintTrigger

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.