public class MessageCommand extends Command
Class=7, ElementId=1
| Modifier and Type | Class and Description |
|---|---|
static class |
MessageCommand.ActionType |
| Constructor and Description |
|---|
MessageCommand(CgmFile container) |
MessageCommand(CgmFile container,
MessageCommand.ActionType action,
String message) |
| Modifier and Type | Method and Description |
|---|---|
MessageCommand.ActionType |
getAction() |
String |
getMessage() |
void |
readFromBinary(IBinaryReader reader)
Reads the binary data from the reader
|
void |
setAction(MessageCommand.ActionType value) |
void |
setMessage(String value) |
void |
writeAsBinary(IBinaryWriter writer)
Writes/exports the command as binary mode
|
void |
writeAsClearText(IClearTextWriter writer)
Writes/exports the command as clear text mode
|
assert_, getElementClass, getElementId, toStringpublic MessageCommand(CgmFile container)
public MessageCommand(CgmFile container, MessageCommand.ActionType action, String message)
public final MessageCommand.ActionType getAction()
public final void setAction(MessageCommand.ActionType value)
public final String getMessage()
public final void setMessage(String value)
public void readFromBinary(IBinaryReader reader)
CommandReads the binary data from the reader
readFromBinary in class Commandpublic void writeAsBinary(IBinaryWriter writer)
CommandWrites/exports the command as binary mode
writeAsBinary in class Commandwriter - The writer to write the binary content to.public void writeAsClearText(IClearTextWriter writer)
CommandWrites/exports the command as clear text mode
writeAsClearText in class Commandwriter - The text writer to write the clear text to.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.