- All Superinterfaces:
AbstractSideBox
,AbstractSideBox
,AbstractSideBox
,Accessory
,Accessory
,Accessory
,DataAnnotation
,DataAnnotation
,DataAnnotation
,Member
,ReadOnlyInterface
,SideBox
,SideBox
,WritableInterface
public interface SideBox extends SideBox, AbstractSideBox
-
Method Summary
Modifier and Type Method Description List<? extends SideBoxItem>
getDiagramItems()
List<? extends SideBoxItem>
getDiagramItems(Diagram diagram)
void
setFillLevel(double fillLevel)
The filling level of the item's shape given as percentage value.void
setFillLevelIndication(FillLevelIndication fillLevelIndication)
The indication for filling of the item's shape.void
setFont(Font font)
The font of the text label of the item.void
setPaint(Paint paint)
The fill appearance of the item's shape.void
setShape(Shape shape)
The appearance of the node in the diagram.void
setSize(double width, double height)
Changes the item's size.void
setText(String text)
The text to be displayed by this sub node.void
setTextBrush(Brush textBrush)
The fill brush of the item's text label.void
setTextStrokeColor(Color textStrokeColor)
The color for the stroke of the item's text label.void
setTextStrokeWidth(double textStrokeWidth)
The stroke width of the item's text label.void
setVerticalTextAlignment(VerticalAlignment verticalTextAlignment)
Vertical text alignmentvoid
setWrapTextInShape(boolean wrapTextInShape)
SideBox
toReadOnly()
Methods inherited from interface omix.lang.model.accessory.annotation.AbstractSideBox
blur, centric, height, scale, shadow, strokeColor, strokeStyle, strokeWidth, transparency, width
Methods inherited from interface omix.plugin.model.writable.accessory.annotation.AbstractSideBox
setBlur, setCentric, setHeight, setScale, setShadow, setStrokeColor, setStrokeStyle, setStrokeWidth, setTransparency, setWidth
Methods inherited from interface omix.plugin.model.writable.accessory.Accessory
getField, owner, setLabel, setTooltip
Methods inherited from interface omix.plugin.model.writable.accessory.annotation.DataAnnotation
setVisible
Methods inherited from interface omix.lang.reflect.Member
getAnnotation, getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotations, getDeclaredAnnotationsByType, getName, getNamespace, isAnnotationPresent
Methods inherited from interface omix.lang.model.accessory.annotation.SideBox
fillLevel, fillLevelIndication, font, paint, shape, text, textBrush, textStrokeColor, textStrokeWidth, verticalTextAlignment, wrapTextInShape
-
Method Details
-
setSize
Changes the item's size.- Specified by:
setSize
in interfaceAbstractSideBox
- Parameters:
width
-height
-- Throws:
IllegalChangeException
-
setText
The text to be displayed by this sub node.- Throws:
IllegalChangeException
-
setPaint
The fill appearance of the item's shape.- Throws:
IllegalChangeException
-
setTextStrokeColor
The color for the stroke of the item's text label.- Throws:
IllegalChangeException
-
setTextStrokeWidth
The stroke width of the item's text label.- Throws:
IllegalChangeException
-
setShape
The appearance of the node in the diagram.- Throws:
IllegalChangeException
-
setFont
The font of the text label of the item.- Throws:
IllegalChangeException
-
setFillLevel
The filling level of the item's shape given as percentage value.- Throws:
IllegalChangeException
-
setFillLevelIndication
The indication for filling of the item's shape.- Throws:
IllegalChangeException
-
setTextBrush
The fill brush of the item's text label.- Throws:
IllegalChangeException
-
setVerticalTextAlignment
void setVerticalTextAlignment(VerticalAlignment verticalTextAlignment) throws IllegalChangeExceptionVertical text alignment- Throws:
IllegalChangeException
-
setWrapTextInShape
- Throws:
IllegalChangeException
-
getDiagramItems
List<? extends SideBoxItem> getDiagramItems()- Specified by:
getDiagramItems
in interfaceAbstractSideBox
- Specified by:
getDiagramItems
in interfaceAbstractSideBox
- Specified by:
getDiagramItems
in interfaceAccessory
- Specified by:
getDiagramItems
in interfaceAccessory
- Specified by:
getDiagramItems
in interfaceDataAnnotation
- Specified by:
getDiagramItems
in interfaceDataAnnotation
- Specified by:
getDiagramItems
in interfaceSideBox
-
getDiagramItems
- Specified by:
getDiagramItems
in interfaceAbstractSideBox
- Specified by:
getDiagramItems
in interfaceAbstractSideBox
- Specified by:
getDiagramItems
in interfaceAccessory
- Specified by:
getDiagramItems
in interfaceAccessory
- Specified by:
getDiagramItems
in interfaceDataAnnotation
- Specified by:
getDiagramItems
in interfaceDataAnnotation
- Specified by:
getDiagramItems
in interfaceSideBox
- Throws:
IllegalComponentException
-
toReadOnly
SideBox toReadOnly()- Specified by:
toReadOnly
in interfaceAbstractSideBox
- Specified by:
toReadOnly
in interfaceAccessory
- Specified by:
toReadOnly
in interfaceDataAnnotation
- Specified by:
toReadOnly
in interfaceWritableInterface
-