|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.editor.client.testing.MockEditorChain<C>
C
- the type being editedpublic class MockEditorChain<C>
A Mock implementation of
CompositeEditor.EditorChain
.
Constructor Summary | |
---|---|
MockEditorChain()
|
Method Summary | |
---|---|
void |
attach(C object,
FakeLeafValueEditor<C> subEditor)
Editors attached to the chain will be automatically flushed as if they were a statically-defined sub-Editor. |
void |
detach(FakeLeafValueEditor<C> subEditor)
Detach a sub-Editor from the editor chain. |
C |
getValue(FakeLeafValueEditor<C> subEditor)
Retrieves the value associated with the editor. |
boolean |
isAttached(FakeLeafValueEditor<C> subEditor)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockEditorChain()
Method Detail |
---|
public void attach(C object, FakeLeafValueEditor<C> subEditor)
CompositeEditor.EditorChain
attach
in interface CompositeEditor.EditorChain<C,FakeLeafValueEditor<C>>
object
- the object to editsubEditor
- the Editor to populatepublic void detach(FakeLeafValueEditor<C> subEditor)
CompositeEditor.EditorChain
detach
in interface CompositeEditor.EditorChain<C,FakeLeafValueEditor<C>>
subEditor
- an Editor previously passed into CompositeEditor.EditorChain.attach(C, E)
public C getValue(FakeLeafValueEditor<C> subEditor)
CompositeEditor.EditorChain
getValue
in interface CompositeEditor.EditorChain<C,FakeLeafValueEditor<C>>
subEditor
- an Editor previously passed into CompositeEditor.EditorChain.attach(C, E)
public boolean isAttached(FakeLeafValueEditor<C> subEditor)
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |