com.aspose.diagram

Class SmartTagDef

  • java.lang.Object
    • com.aspose.diagram.SmartTagDef
public class SmartTagDef 
extends java.lang.Object

Contains elements that contain information for each smart tag defined for a shape or page.

Constructor Summary
SmartTagDef()
Constructor.
 
Property Getters/Setters Summary
Str2ValuegetButtonFace()
It contains the ID of the button face image that appears on the smart tag button.
intgetDel()
void
setDel(intvalue)
           A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.
Str2ValuegetDescription()
Description element contains a string that describes the smart tag, which appears as a tool tip when the user pauses the mouse over the tag.
BoolValuegetDisabled()
Disabled element determines whether the smart tag appears in the drawing window.
DisplayModeSmartTagDefgetDisplayMode()
DisplayMode element determines whether the smart tag appears when the user pauses the mouse over the tag, when the shape is selected, or all the time.
intgetID()
void
setID(intvalue)
           The unique ID of the element within its parent element.
java.lang.StringgetName()
void
setName(java.lang.Stringvalue)
           The name of the element.
java.lang.StringgetNameU()
void
setNameU(java.lang.Stringvalue)
           The universal name of the element.
Str2ValuegetTagName()
It contains the name of the smart tag that is used as a key to associate the smart tag with its actions.
DoubleValuegetX()
The x-coordinate position in the shape's local coordinates around which the smart tag button is placed.
XJustifygetXJustify()
The x-offset of the smart tag button relative to the point defined by the X and Y elements.
DoubleValuegetY()
The y-coordinate position in the shape's local coordinates around which the smart tag button is placed.
YJustifygetYJustify()
Specifies the y-offset of the smart tag button relative to the point defined by the X and Y elements.
 

    • Constructor Detail

      • SmartTagDef

        public SmartTagDef()
        Constructor.
    • Property Getters/Setters Detail

      • getName/setName

        public java.lang.String getName() / public void setName(java.lang.String value)
        
        The name of the element.
      • getNameU/setNameU

        public java.lang.String getNameU() / public void setNameU(java.lang.String value)
        
        The universal name of the element.
      • getID/setID

        public int getID() / public void setID(int value)
        
        The unique ID of the element within its parent element.
      • getDel/setDel

        public int getDel() / public void setDel(int value)
        
        A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.
      • getX

        public DoubleValue getX()
        
        The x-coordinate position in the shape's local coordinates around which the smart tag button is placed.
      • getY

        public DoubleValue getY()
        
        The y-coordinate position in the shape's local coordinates around which the smart tag button is placed.
      • getTagName

        public Str2Value getTagName()
        
        It contains the name of the smart tag that is used as a key to associate the smart tag with its actions.
      • getXJustify

        public XJustify getXJustify()
        
        The x-offset of the smart tag button relative to the point defined by the X and Y elements.
      • getYJustify

        public YJustify getYJustify()
        
        Specifies the y-offset of the smart tag button relative to the point defined by the X and Y elements.
      • getDisplayMode

        public DisplayModeSmartTagDef getDisplayMode()
        
        DisplayMode element determines whether the smart tag appears when the user pauses the mouse over the tag, when the shape is selected, or all the time.
      • getButtonFace

        public Str2Value getButtonFace()
        
        It contains the ID of the button face image that appears on the smart tag button.
      • getDisabled

        public BoolValue getDisabled()
        
        Disabled element determines whether the smart tag appears in the drawing window.
      • getDescription

        public Str2Value getDescription()
        
        Description element contains a string that describes the smart tag, which appears as a tool tip when the user pauses the mouse over the tag.