com.aspose.diagram
Class MasterShortcut

java.lang.Object
    extended by 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()
voidsetAlignName(int)
           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()
voidsetIcon(byte[])
           Specifies a MIME (Multipurpose Internet Mail Extensions) encoded binary icon (in .ico format) for a Master or MasterShortcut element in a document.
intgetIconSize()
voidsetIconSize(int)
           The size of the element's icon. The value of the property is IconSizeValue integer constant.
intgetID()
voidsetID(int)
           The unique ID of the element within its parent element.
java.lang.StringgetName()
voidsetName(java.lang.String)
           The name of the element.
java.lang.StringgetNameU()
voidsetNameU(java.lang.String)
           The universal name of the element.
intgetPatternFlags()
voidsetPatternFlags(int)
           Determines whether a master behaves as a custom pattern.
java.lang.StringgetPrompt()
voidsetPrompt(java.lang.String)
           The status bar and tool tip prompt for the element.
java.lang.StringgetShortcutHelp()
voidsetShortcutHelp(java.lang.String)
           A help string for the element.
java.lang.StringgetShortcutURL()
voidsetShortcutURL(java.lang.String)
           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.

See Also:
          Aspose.Diagram Documentation - the home page for the Aspose.Diagram Product Documentation.
          Aspose.Diagram Support Forum - our preferred method of support.