pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prophe ...@cargosoft.ru>
Subject Re: rowUpdated event
Date Fri, 30 Sep 2011 07:40:05 GMT
if the user presses Escape  - the editor won't call update() it's true. But
when click outside of editor  the editor will call update() this is code of
editor:

        @Override
        public boolean mouseDown(Container container, Mouse.Button button,
int x, int y) {
            Display display = (Display)container;
            Window window = (Window)display.getComponentAt(x, y);

            boolean consumed;
            if (window != TableViewRowEditor.this
                && (window == null || !isOwner(window))) {
                endEdit(true);
                consumed = (getEditEffect() != null);
            } else {
                consumed = false;
            }

            return consumed;
        }

-----
Thank you!
--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/rowUpdated-event-tp3378807p3381693.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Mime
View raw message