R
- the component element typeS
- the component editor typeprotected class AbstractEditorDelegate.Chain<R,S extends Editor<R>> extends Object implements CompositeEditor.EditorChain<R,S>
CompositeEditor
. An instance of a Chain is only created when
necessary for a given hierarchy type.Modifier and Type | Method and Description |
---|---|
void |
accept(EditorVisitor visitor) |
void |
attach(R object,
S subEditor)
Editors attached to the chain will be automatically flushed as if they
were a statically-defined sub-Editor.
|
void |
detach(S subEditor)
Detach a sub-Editor from the editor chain.
|
R |
getValue(S subEditor)
Retrieves the value associated with the editor.
|
public void accept(EditorVisitor visitor)
public void attach(R object, S subEditor)
CompositeEditor.EditorChain
public void detach(S subEditor)
CompositeEditor.EditorChain
detach
in interface CompositeEditor.EditorChain<R,S extends Editor<R>>
subEditor
- an Editor previously passed into CompositeEditor.EditorChain.attach(C, E)
public R getValue(S subEditor)
CompositeEditor.EditorChain
getValue
in interface CompositeEditor.EditorChain<R,S extends Editor<R>>
subEditor
- an Editor previously passed into CompositeEditor.EditorChain.attach(C, E)
Copyright © 2018. All rights reserved.