-
- All Superinterfaces:
org.nasdanika.common.Adaptable,EObject,org.nasdanika.ncore.Marked,org.nasdanika.persistence.Marked,org.nasdanika.ncore.ModelElement,Notifier
- All Known Subinterfaces:
ActionGroupItem,ContentActionGroupItem,LinkActionGroupItem
- All Known Implementing Classes:
ActionGroupItemImpl,ContentActionGroupItemImpl,ItemImpl,LinkActionGroupItemImpl
public interface Item extends org.nasdanika.ncore.ModelElement
A representation of the model object 'Item'. Base class for model elements which can be active, disabled, and have color.The following features are supported:
- See Also:
BootstrapPackage.getItem()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ColorgetColor()Returns the value of the 'Color' attribute.booleanisActive()Returns the value of the 'Active' attribute.booleanisDisabled()Returns the value of the 'Disabled' attribute.voidsetActive(boolean value)Sets the value of the 'Active' attribute.voidsetColor(Color value)Sets the value of the 'Color' attribute.voidsetDisabled(boolean value)Sets the value of the 'Disabled' attribute.-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.nasdanika.ncore.ModelElement
getActionPrototype, getDescription, getRepresentations, getUris, getUuid, setActionPrototype, setDescription, setUuid
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
isActive
boolean isActive()
Returns the value of the 'Active' attribute. Indicates that the item is active (currently selected).- Returns:
- the value of the 'Active' attribute.
- See Also:
setActive(boolean),BootstrapPackage.getItem_Active()
-
setActive
void setActive(boolean value)
Sets the value of the 'Active' attribute.- Parameters:
value- the new value of the 'Active' attribute.- See Also:
isActive()
-
isDisabled
boolean isDisabled()
Returns the value of the 'Disabled' attribute. Indicates that the item is disabled and cannot be activated/selected.- Returns:
- the value of the 'Disabled' attribute.
- See Also:
setDisabled(boolean),BootstrapPackage.getItem_Disabled()
-
setDisabled
void setDisabled(boolean value)
Sets the value of the 'Disabled' attribute.- Parameters:
value- the new value of the 'Disabled' attribute.- See Also:
isDisabled()
-
getColor
Color getColor()
Returns the value of the 'Color' attribute. Item Bootstrap color.- Returns:
- the value of the 'Color' attribute.
- See Also:
setColor(Color),BootstrapPackage.getItem_Color()
-
setColor
void setColor(Color value)
Sets the value of the 'Color' attribute.- Parameters:
value- the new value of the 'Color' attribute.- See Also:
getColor()
-
-