Package com.atolsystems.atolutilities

Examples of com.atolsystems.atolutilities.LoggingWindow


    }
    void enableHighlightOnChange(int index, Color color, boolean insert,boolean remove,boolean update) {
        javax.swing.JScrollPane scroll = (JScrollPane) this.getComponentAt(index);
        Component c = scroll.getViewport().getComponents()[0];
        if (c instanceof LoggingWindow) {
            LoggingWindow log = (LoggingWindow) c;
            TabHighlighter th = new TabHighlighter(scroll, color, insert,remove,update);
            tabHighlighters.add(th);
            log.addDocumentListener(th);
        } else {
            throw new RuntimeException("not implemented yet");
        }
    }
View Full Code Here


    void clearHighlight(int index){
        javax.swing.JScrollPane scroll = (JScrollPane) this.getComponentAt(index);
        Component c = scroll.getViewport().getComponents()[0];
        if (c instanceof LoggingWindow) {
            LoggingWindow log = (LoggingWindow) c;
            for (TabHighlighter th : tabHighlighters) {
                if (th.component == this.getComponentAt(index)) {
                    th.clearHighlight();
                    break;
                }
View Full Code Here

    void disableHighlightOnChange(int index) {
        javax.swing.JScrollPane scroll = (JScrollPane) this.getComponentAt(index);
        Component c = scroll.getViewport().getComponents()[0];
        if (c instanceof LoggingWindow) {
            LoggingWindow log = (LoggingWindow) c;
            for (TabHighlighter th : tabHighlighters) {
                if (th.component == this.getComponentAt(index)) {
                    log.removeDocumentListener(th);
                    tabHighlighters.remove(th);
                    this.removeChangeListener(th);
                    break;
                }
            }
View Full Code Here

TOP

Related Classes of com.atolsystems.atolutilities.LoggingWindow

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.