Search this API

y.option
Interface CompoundEditor

All Superinterfaces:
Editor
All Known Implementing Classes:
DefaultCompoundEditor

public interface CompoundEditor
extends Editor

Specifies the general contract of a compound/composite editor.

 

Nested Class Summary
 
Nested classes/interfaces inherited from interface y.option.Editor
Editor.Event, Editor.Listener
 
Method Summary
 int editorCount()
          Returns the number of editors in this compound.
 java.util.Iterator editors()
          Returns an iterator over the editors in this compound.
 Editor getEditor(int index)
          Returns the editor at the specified position.
 
Methods inherited from interface y.option.Editor
adoptItemValue, commitValue, getComponent, resetValue
 

Method Detail

editorCount

int editorCount()
Returns the number of editors in this compound.

Returns:
the number of editors in this compound

getEditor

Editor getEditor(int index)
Returns the editor at the specified position.

Parameters:
index - zero-based index of the editor to return
Returns:
the editor at the specified position.

editors

java.util.Iterator editors()
Returns an iterator over the editors in this compound.

Returns:
an Iterator over the editors in this compound.

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.