test_class.declarator: adapter = new WindowStateAdapter()
test_class.modifier: private
test_class.original_string: private WindowStateAdapter adapter = new WindowStateAdapter();
test_class.type: WindowStateAdapter
test_class.var_name: adapter
test_class.file: subprojects/griffon-pivot/src/test/java/griffon/pivot/support/adapters/WindowStateAdapterTest.java
test_class.identifier: WindowStateAdapterTest
test_case.body: @Test
      public void testWindowCloseVetoed() {
          final boolean[] invoked = new boolean[1];
          CallableWithArgs<Void> callable = new CallableWithArgs<Void>() {
              public Void call(Object... args) {
                  invoked[0] = true;
                  return null;
              } 
          };
  
          assertNull(adapter.getWindowCloseVetoed());
          adapter.windowCloseVetoed(null, null);
          assertFalse(invoked[0]);
  
          adapter.setWindowCloseVetoed(callable);
          adapter.windowCloseVetoed(null, null);
          assertTrue(invoked[0]);
      }
test_case.class_method_signature: WindowStateAdapterTest.testWindowCloseVetoed()
test_case.full_signature: @Test public void testWindowCloseVetoed()
test_case.identifier: testWindowCloseVetoed
test_case.invocations: assertNull getWindowCloseVetoed windowCloseVetoed assertFalse setWindowCloseVetoed windowCloseVetoed assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testWindowCloseVetoed()
focal_class.declarator: previewWindowOpen
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Vote> previewWindowOpen;
focal_class.type: CallableWithArgs<Vote>
focal_class.var_name: previewWindowOpen
focal_class.declarator: windowOpenVetoed
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> windowOpenVetoed;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: windowOpenVetoed
focal_class.declarator: previewWindowClose
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Vote> previewWindowClose;
focal_class.type: CallableWithArgs<Vote>
focal_class.var_name: previewWindowClose
focal_class.declarator: windowCloseVetoed
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> windowCloseVetoed;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: windowCloseVetoed
focal_class.declarator: windowOpened
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> windowOpened;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: windowOpened
focal_class.declarator: windowClosed
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> windowClosed;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: windowClosed
focal_class.file: subprojects/griffon-pivot/src/main/java/griffon/pivot/support/adapters/WindowStateAdapter.java
focal_class.identifier: WindowStateAdapter
focal_class.interfaces: implements GriffonPivotAdapter, org.apache.pivot.wtk.WindowStateListener
focal_class.class_method_signature: WindowStateAdapter.getPreviewWindowOpen()
focal_class.full_signature: public CallableWithArgs<Vote> getPreviewWindowOpen()
focal_class.identifier: getPreviewWindowOpen
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Vote>
focal_class.signature: CallableWithArgs<Vote> getPreviewWindowOpen()
focal_class.class_method_signature: WindowStateAdapter.getWindowOpenVetoed()
focal_class.full_signature: public CallableWithArgs<Void> getWindowOpenVetoed()
focal_class.identifier: getWindowOpenVetoed
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getWindowOpenVetoed()
focal_class.class_method_signature: WindowStateAdapter.getPreviewWindowClose()
focal_class.full_signature: public CallableWithArgs<Vote> getPreviewWindowClose()
focal_class.identifier: getPreviewWindowClose
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Vote>
focal_class.signature: CallableWithArgs<Vote> getPreviewWindowClose()
focal_class.class_method_signature: WindowStateAdapter.getWindowCloseVetoed()
focal_class.full_signature: public CallableWithArgs<Void> getWindowCloseVetoed()
focal_class.identifier: getWindowCloseVetoed
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getWindowCloseVetoed()
focal_class.class_method_signature: WindowStateAdapter.getWindowOpened()
focal_class.full_signature: public CallableWithArgs<Void> getWindowOpened()
focal_class.identifier: getWindowOpened
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getWindowOpened()
focal_class.class_method_signature: WindowStateAdapter.getWindowClosed()
focal_class.full_signature: public CallableWithArgs<Void> getWindowClosed()
focal_class.identifier: getWindowClosed
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getWindowClosed()
focal_class.class_method_signature: WindowStateAdapter.setPreviewWindowOpen(CallableWithArgs<Vote> previewWindowOpen)
focal_class.full_signature: public void setPreviewWindowOpen(CallableWithArgs<Vote> previewWindowOpen)
focal_class.identifier: setPreviewWindowOpen
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Vote> previewWindowOpen)
focal_class.return: void
focal_class.signature: void setPreviewWindowOpen(CallableWithArgs<Vote> previewWindowOpen)
focal_class.class_method_signature: WindowStateAdapter.setWindowOpenVetoed(CallableWithArgs<Void> windowOpenVetoed)
focal_class.full_signature: public void setWindowOpenVetoed(CallableWithArgs<Void> windowOpenVetoed)
focal_class.identifier: setWindowOpenVetoed
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> windowOpenVetoed)
focal_class.return: void
focal_class.signature: void setWindowOpenVetoed(CallableWithArgs<Void> windowOpenVetoed)
focal_class.class_method_signature: WindowStateAdapter.setPreviewWindowClose(CallableWithArgs<Vote> previewWindowClose)
focal_class.full_signature: public void setPreviewWindowClose(CallableWithArgs<Vote> previewWindowClose)
focal_class.identifier: setPreviewWindowClose
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Vote> previewWindowClose)
focal_class.return: void
focal_class.signature: void setPreviewWindowClose(CallableWithArgs<Vote> previewWindowClose)
focal_class.class_method_signature: WindowStateAdapter.setWindowCloseVetoed(CallableWithArgs<Void> windowCloseVetoed)
focal_class.full_signature: public void setWindowCloseVetoed(CallableWithArgs<Void> windowCloseVetoed)
focal_class.identifier: setWindowCloseVetoed
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> windowCloseVetoed)
focal_class.return: void
focal_class.signature: void setWindowCloseVetoed(CallableWithArgs<Void> windowCloseVetoed)
focal_class.class_method_signature: WindowStateAdapter.setWindowOpened(CallableWithArgs<Void> windowOpened)
focal_class.full_signature: public void setWindowOpened(CallableWithArgs<Void> windowOpened)
focal_class.identifier: setWindowOpened
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> windowOpened)
focal_class.return: void
focal_class.signature: void setWindowOpened(CallableWithArgs<Void> windowOpened)
focal_class.class_method_signature: WindowStateAdapter.setWindowClosed(CallableWithArgs<Void> windowClosed)
focal_class.full_signature: public void setWindowClosed(CallableWithArgs<Void> windowClosed)
focal_class.identifier: setWindowClosed
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> windowClosed)
focal_class.return: void
focal_class.signature: void setWindowClosed(CallableWithArgs<Void> windowClosed)
focal_class.class_method_signature: WindowStateAdapter.previewWindowOpen(org.apache.pivot.wtk.Window arg0)
focal_class.full_signature: public org.apache.pivot.util.Vote previewWindowOpen(org.apache.pivot.wtk.Window arg0)
focal_class.identifier: previewWindowOpen
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.Window arg0)
focal_class.return: org.apache.pivot.util.Vote
focal_class.signature: org.apache.pivot.util.Vote previewWindowOpen(org.apache.pivot.wtk.Window arg0)
focal_class.class_method_signature: WindowStateAdapter.windowOpenVetoed(org.apache.pivot.wtk.Window arg0, org.apache.pivot.util.Vote arg1)
focal_class.full_signature: public void windowOpenVetoed(org.apache.pivot.wtk.Window arg0, org.apache.pivot.util.Vote arg1)
focal_class.identifier: windowOpenVetoed
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.Window arg0, org.apache.pivot.util.Vote arg1)
focal_class.return: void
focal_class.signature: void windowOpenVetoed(org.apache.pivot.wtk.Window arg0, org.apache.pivot.util.Vote arg1)
focal_class.class_method_signature: WindowStateAdapter.previewWindowClose(org.apache.pivot.wtk.Window arg0)
focal_class.full_signature: public org.apache.pivot.util.Vote previewWindowClose(org.apache.pivot.wtk.Window arg0)
focal_class.identifier: previewWindowClose
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.Window arg0)
focal_class.return: org.apache.pivot.util.Vote
focal_class.signature: org.apache.pivot.util.Vote previewWindowClose(org.apache.pivot.wtk.Window arg0)
focal_class.class_method_signature: WindowStateAdapter.windowCloseVetoed(org.apache.pivot.wtk.Window arg0, org.apache.pivot.util.Vote arg1)
focal_class.full_signature: public void windowCloseVetoed(org.apache.pivot.wtk.Window arg0, org.apache.pivot.util.Vote arg1)
focal_class.identifier: windowCloseVetoed
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.Window arg0, org.apache.pivot.util.Vote arg1)
focal_class.return: void
focal_class.signature: void windowCloseVetoed(org.apache.pivot.wtk.Window arg0, org.apache.pivot.util.Vote arg1)
focal_class.class_method_signature: WindowStateAdapter.windowOpened(org.apache.pivot.wtk.Window arg0)
focal_class.full_signature: public void windowOpened(org.apache.pivot.wtk.Window arg0)
focal_class.identifier: windowOpened
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.Window arg0)
focal_class.return: void
focal_class.signature: void windowOpened(org.apache.pivot.wtk.Window arg0)
focal_class.class_method_signature: WindowStateAdapter.windowClosed(org.apache.pivot.wtk.Window arg0, org.apache.pivot.wtk.Display arg1, org.apache.pivot.wtk.Window arg2)
focal_class.full_signature: public void windowClosed(org.apache.pivot.wtk.Window arg0, org.apache.pivot.wtk.Display arg1, org.apache.pivot.wtk.Window arg2)
focal_class.identifier: windowClosed
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.Window arg0, org.apache.pivot.wtk.Display arg1, org.apache.pivot.wtk.Window arg2)
focal_class.return: void
focal_class.signature: void windowClosed(org.apache.pivot.wtk.Window arg0, org.apache.pivot.wtk.Display arg1, org.apache.pivot.wtk.Window arg2)
focal_method.body: public void windowCloseVetoed(org.apache.pivot.wtk.Window arg0, org.apache.pivot.util.Vote arg1) {
          if (windowCloseVetoed != null) {
              windowCloseVetoed.call(arg0, arg1);
          }
      }
focal_method.class_method_signature: WindowStateAdapter.windowCloseVetoed(org.apache.pivot.wtk.Window arg0, org.apache.pivot.util.Vote arg1)
focal_method.full_signature: public void windowCloseVetoed(org.apache.pivot.wtk.Window arg0, org.apache.pivot.util.Vote arg1)
focal_method.identifier: windowCloseVetoed
focal_method.invocations: call
focal_method.modifiers: public
focal_method.parameters: (org.apache.pivot.wtk.Window arg0, org.apache.pivot.util.Vote arg1)
focal_method.return: void
focal_method.signature: void windowCloseVetoed(org.apache.pivot.wtk.Window arg0, org.apache.pivot.util.Vote arg1)