Overview

 
Package  Use  Tree  Serialized  Deprecated  Index  Help 
SWT LPEX
v3.0.0
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

com.ibm.lpex.hlasm
Class GroupDefinition

java.lang.Object
  extended bycom.ibm.lpex.hlasm.GroupDefinition


public final class GroupDefinition
extends Object

This class is used to associate a custom color with a group of HLASM instructions. The instructions set in a group will be colored with the associated color by the HLASM document parsers.


Constructor Summary
GroupDefinition(ColorDefinition color_code, String group_name, Vector instructions)
          Constructor.
 
Method Summary
 void addNewInstruction(String newInstruction)
          Add a HLASM instruction to this group definition.
 ColorDefinition getColorCode()
          Get the color code for this group.
 String getGroupName()
          Get the name of this group.
 Vector getInstructions()
          Get the instructions for this group.
 void removeInstructionAt(int index)
          Remove an instruction from this group definition.
 void setGroupColor(ColorDefinition colorDefinition)
          Set the group color code.
 void setGroupName(String s)
          Set the group name.
 StringBuffer toXMLString()
          Return an XML-tagged string for this group.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

 

 

GroupDefinition

public GroupDefinition(ColorDefinition color_code,
                       String group_name,
                       Vector instructions)

Constructor.

Method Detail

 

 

getGroupName

public String getGroupName()

Get the name of this group.


 

 

setGroupName

public void setGroupName(String s)

Set the group name.


 

 

getColorCode

public ColorDefinition getColorCode()

Get the color code for this group.


 

 

setGroupColor

public void setGroupColor(ColorDefinition colorDefinition)

Set the group color code.


 

 

getInstructions

public Vector getInstructions()

Get the instructions for this group.


 

 

removeInstructionAt

public void removeInstructionAt(int index)

Remove an instruction from this group definition.


 

 

addNewInstruction

public void addNewInstruction(String newInstruction)

Add a HLASM instruction to this group definition.


 

 

toXMLString

public StringBuffer toXMLString()

Return an XML-tagged string for this group.

Returns:
the xml definition for the "group" element: group name, color name, and instruction names


 

Overview

 
Package  Use  Tree  Serialized  Deprecated  Index  Help 
SWT LPEX
v3.0.0
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD