- All Superinterfaces:
Accessory
,Accessory
,DataAnnotation
,DataAnnotation
,ItemGroup
,Member
,ReadOnlyInterface
- All Known Subinterfaces:
ItemGroup
public interface ItemGroup extends ItemGroup, DataAnnotation
-
Method Summary
Modifier and Type Method Description void
addModelComponent(AbstractModelComponent item)
Add item to the item list.List<? extends ItemGroupItem>
getDiagramItems()
List<? extends ItemGroupItem>
getDiagramItems(Diagram diagram)
Set<? extends AbstractModelComponent>
getModelComponents()
Returns a copy of the internal item list.void
removeModelComponent(AbstractModelComponent item)
Remove item from the item list.void
setModelComponents(Collection<? extends AbstractModelComponent> items)
Exchange item list.Methods inherited from interface omix.lang.model.accessory.annotation.ItemGroup
addItem, blur, brush, font, getItems, removeItem, setItems, text, textBlur, textShadow, textStrokeColor, textStrokeWidth, transparency, width
Methods inherited from interface omix.lang.reflect.Member
getAnnotation, getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotations, getDeclaredAnnotationsByType, getName, getNamespace, isAnnotationPresent
-
Method Details
-
addModelComponent
Add item to the item list.- Parameters:
item
- item to be added- Throws:
IllegalChangeException
-
removeModelComponent
Remove item from the item list.- Parameters:
item
- item to be removed- Throws:
IllegalChangeException
-
setModelComponents
void setModelComponents(Collection<? extends AbstractModelComponent> items) throws IllegalChangeExceptionExchange item list.- Parameters:
items
- items- Throws:
IllegalChangeException
-
getModelComponents
Set<? extends AbstractModelComponent> getModelComponents()Returns a copy of the internal item list.- Returns:
- all items
-
getDiagramItems
List<? extends ItemGroupItem> getDiagramItems()- Specified by:
getDiagramItems
in interfaceAccessory
- Specified by:
getDiagramItems
in interfaceDataAnnotation
-
getDiagramItems
- Specified by:
getDiagramItems
in interfaceAccessory
- Specified by:
getDiagramItems
in interfaceDataAnnotation
- Throws:
IllegalComponentException
-