com.aspose.diagram

Class MasterShortcut

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

Specifies a master shortcut defined in the document.

Constructor Summary
MasterShortcut()
Constructor.
 
Property Getters/Setters Summary
intgetAlignName()
void
setAlignName(intvalue)
Specifies whether the element's text in the stencil window is aligned left, right, or center. The value of the property is AlignNameValue integer constant.
byte[]getIcon()
void
setIcon(byte[]value)
Specifies a MIME (Multipurpose Internet Mail Extensions) encoded binary icon (in .ico format) for a Master or MasterShortcut element in a document.
intgetIconSize()
void
setIconSize(intvalue)
The size of the element's icon. The value of the property is IconSizeValue integer constant.
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.
intgetPatternFlags()
void
setPatternFlags(intvalue)
Determines whether a master behaves as a custom pattern.
java.lang.StringgetPrompt()
void
setPrompt(java.lang.Stringvalue)
The status bar and tool tip prompt for the element.
java.lang.StringgetShortcutHelp()
void
setShortcutHelp(java.lang.Stringvalue)
A help string for the element.
java.lang.StringgetShortcutURL()
void
setShortcutURL(java.lang.Stringvalue)
A URL to a MasterShortcut element. If this attribute is present, this MasterShortcut element is a shortcut.
 

    • Constructor Detail

      • MasterShortcut

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

      • getID/setID

        public int getID() / public void setID(int value)
        
        The unique ID of the element within its parent element.
      • 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.
      • getIconSize/setIconSize

        public int getIconSize() / public void setIconSize(int value)
        
        The size of the element's icon. The value of the property is IconSizeValue integer constant.
      • getPatternFlags/setPatternFlags

        public int getPatternFlags() / public void setPatternFlags(int value)
        
        Determines whether a master behaves as a custom pattern.
      • getPrompt/setPrompt

        public java.lang.String getPrompt() / public void setPrompt(java.lang.String value)
        
        The status bar and tool tip prompt for the element.
      • getShortcutURL/setShortcutURL

        public java.lang.String getShortcutURL() / public void setShortcutURL(java.lang.String value)
        
        A URL to a MasterShortcut element. If this attribute is present, this MasterShortcut element is a shortcut.
      • getShortcutHelp/setShortcutHelp

        public java.lang.String getShortcutHelp() / public void setShortcutHelp(java.lang.String value)
        
        A help string for the element.
      • getAlignName/setAlignName

        public int getAlignName() / public void setAlignName(int value)
        
        Specifies whether the element's text in the stencil window is aligned left, right, or center. The value of the property is AlignNameValue integer constant.
      • getIcon/setIcon

        public byte[] getIcon() / public void setIcon(byte[] value)
        
        Specifies a MIME (Multipurpose Internet Mail Extensions) encoded binary icon (in .ico format) for a Master or MasterShortcut element in a document.