/** * <copyright> * </copyright> * * $Id$ */ package org.openscada.vi.model.VisualInterface; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Text</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.openscada.vi.model.VisualInterface.Text#getText <em>Text</em>}</li> * <li>{@link org.openscada.vi.model.VisualInterface.Text#getLabelAlignment <em>Label Alignment</em>}</li> * <li>{@link org.openscada.vi.model.VisualInterface.Text#getIconAlignment <em>Icon Alignment</em>}</li> * <li>{@link org.openscada.vi.model.VisualInterface.Text#getTextAlignment <em>Text Alignment</em>}</li> * <li>{@link org.openscada.vi.model.VisualInterface.Text#getTextPlacement <em>Text Placement</em>}</li> * <li>{@link org.openscada.vi.model.VisualInterface.Text#getFontName <em>Font Name</em>}</li> * <li>{@link org.openscada.vi.model.VisualInterface.Text#getFontSize <em>Font Size</em>}</li> * <li>{@link org.openscada.vi.model.VisualInterface.Text#isFontBold <em>Font Bold</em>}</li> * <li>{@link org.openscada.vi.model.VisualInterface.Text#isFontItalic <em>Font Italic</em>}</li> * </ul> * </p> * * @see org.openscada.vi.model.VisualInterface.VisualInterfacePackage#getText() * @model * @generated */ public interface Text extends Figure { /** * Returns the value of the '<em><b>Text</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Text</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Text</em>' attribute. * @see #setText(String) * @see org.openscada.vi.model.VisualInterface.VisualInterfacePackage#getText_Text() * @model required="true" * @generated */ String getText(); /** * Sets the value of the '{@link org.openscada.vi.model.VisualInterface.Text#getText <em>Text</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Text</em>' attribute. * @see #getText() * @generated */ void setText(String value); /** * Returns the value of the '<em><b>Label Alignment</b></em>' attribute. * The default value is <code>"CENTER"</code>. * The literals are from the enumeration {@link org.openscada.vi.model.VisualInterface.Alignment}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Label Alignment</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Label Alignment</em>' attribute. * @see org.openscada.vi.model.VisualInterface.Alignment * @see #setLabelAlignment(Alignment) * @see org.openscada.vi.model.VisualInterface.VisualInterfacePackage#getText_LabelAlignment() * @model default="CENTER" * @generated */ Alignment getLabelAlignment(); /** * Sets the value of the '{@link org.openscada.vi.model.VisualInterface.Text#getLabelAlignment <em>Label Alignment</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Label Alignment</em>' attribute. * @see org.openscada.vi.model.VisualInterface.Alignment * @see #getLabelAlignment() * @generated */ void setLabelAlignment(Alignment value); /** * Returns the value of the '<em><b>Text Alignment</b></em>' attribute. * The default value is <code>"CENTER"</code>. * The literals are from the enumeration {@link org.openscada.vi.model.VisualInterface.Alignment}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Text Alignment</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Text Alignment</em>' attribute. * @see org.openscada.vi.model.VisualInterface.Alignment * @see #setTextAlignment(Alignment) * @see org.openscada.vi.model.VisualInterface.VisualInterfacePackage#getText_TextAlignment() * @model default="CENTER" * @generated */ Alignment getTextAlignment(); /** * Sets the value of the '{@link org.openscada.vi.model.VisualInterface.Text#getTextAlignment <em>Text Alignment</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Text Alignment</em>' attribute. * @see org.openscada.vi.model.VisualInterface.Alignment * @see #getTextAlignment() * @generated */ void setTextAlignment(Alignment value); /** * Returns the value of the '<em><b>Text Placement</b></em>' attribute. * The default value is <code>"EAST"</code>. * The literals are from the enumeration {@link org.openscada.vi.model.VisualInterface.Orientation}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Text Placement</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Text Placement</em>' attribute. * @see org.openscada.vi.model.VisualInterface.Orientation * @see #setTextPlacement(Orientation) * @see org.openscada.vi.model.VisualInterface.VisualInterfacePackage#getText_TextPlacement() * @model default="EAST" * @generated */ Orientation getTextPlacement(); /** * Sets the value of the '{@link org.openscada.vi.model.VisualInterface.Text#getTextPlacement <em>Text Placement</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Text Placement</em>' attribute. * @see org.openscada.vi.model.VisualInterface.Orientation * @see #getTextPlacement() * @generated */ void setTextPlacement(Orientation value); /** * Returns the value of the '<em><b>Font Name</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Font Name</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Font Name</em>' attribute. * @see #setFontName(String) * @see org.openscada.vi.model.VisualInterface.VisualInterfacePackage#getText_FontName() * @model * @generated */ String getFontName(); /** * Sets the value of the '{@link org.openscada.vi.model.VisualInterface.Text#getFontName <em>Font Name</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Font Name</em>' attribute. * @see #getFontName() * @generated */ void setFontName(String value); /** * Returns the value of the '<em><b>Font Size</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Font Size</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Font Size</em>' attribute. * @see #setFontSize(int) * @see org.openscada.vi.model.VisualInterface.VisualInterfacePackage#getText_FontSize() * @model * @generated */ int getFontSize(); /** * Sets the value of the '{@link org.openscada.vi.model.VisualInterface.Text#getFontSize <em>Font Size</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Font Size</em>' attribute. * @see #getFontSize() * @generated */ void setFontSize(int value); /** * Returns the value of the '<em><b>Font Bold</b></em>' attribute. * The default value is <code>"false"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Font Bold</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Font Bold</em>' attribute. * @see #setFontBold(boolean) * @see org.openscada.vi.model.VisualInterface.VisualInterfacePackage#getText_FontBold() * @model default="false" required="true" * @generated */ boolean isFontBold(); /** * Sets the value of the '{@link org.openscada.vi.model.VisualInterface.Text#isFontBold <em>Font Bold</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Font Bold</em>' attribute. * @see #isFontBold() * @generated */ void setFontBold(boolean value); /** * Returns the value of the '<em><b>Font Italic</b></em>' attribute. * The default value is <code>"false"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Font Italic</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Font Italic</em>' attribute. * @see #setFontItalic(boolean) * @see org.openscada.vi.model.VisualInterface.VisualInterfacePackage#getText_FontItalic() * @model default="false" required="true" * @generated */ boolean isFontItalic(); /** * Sets the value of the '{@link org.openscada.vi.model.VisualInterface.Text#isFontItalic <em>Font Italic</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Font Italic</em>' attribute. * @see #isFontItalic() * @generated */ void setFontItalic(boolean value); /** * Returns the value of the '<em><b>Icon Alignment</b></em>' attribute. * The default value is <code>"CENTER"</code>. * The literals are from the enumeration {@link org.openscada.vi.model.VisualInterface.Alignment}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Icon Alignment</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Icon Alignment</em>' attribute. * @see org.openscada.vi.model.VisualInterface.Alignment * @see #setIconAlignment(Alignment) * @see org.openscada.vi.model.VisualInterface.VisualInterfacePackage#getText_IconAlignment() * @model default="CENTER" * @generated */ Alignment getIconAlignment(); /** * Sets the value of the '{@link org.openscada.vi.model.VisualInterface.Text#getIconAlignment <em>Icon Alignment</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Icon Alignment</em>' attribute. * @see org.openscada.vi.model.VisualInterface.Alignment * @see #getIconAlignment() * @generated */ void setIconAlignment(Alignment value); } // Text