- /**\r
- * Method addColour\r
- * \r
- * \r
- * \r
- * @param vColour\r
- */\r
- public void addColour(jalview.schemabinding.version2.Colour vColour)\r
- throws java.lang.IndexOutOfBoundsException\r
- {\r
- _colourList.addElement(vColour);\r
- } //-- void addColour(jalview.schemabinding.version2.Colour) \r
-\r
- /**\r
- * Method addColour\r
- * \r
- * \r
- * \r
- * @param index\r
- * @param vColour\r
- */\r
- public void addColour(int index, jalview.schemabinding.version2.Colour vColour)\r
- throws java.lang.IndexOutOfBoundsException\r
- {\r
- _colourList.insertElementAt(vColour, index);\r
- } //-- void addColour(int, jalview.schemabinding.version2.Colour) \r
-\r
- /**\r
- * Method enumerateColour\r
- * \r
- * \r
- * \r
- * @return Enumeration\r
- */\r
- public java.util.Enumeration enumerateColour()\r
- {\r
- return _colourList.elements();\r
- } //-- java.util.Enumeration enumerateColour() \r
-\r
- /**\r
- * Method getColour\r
- * \r
- * \r
- * \r
- * @param index\r
- * @return Colour\r
- */\r
- public jalview.schemabinding.version2.Colour getColour(int index)\r
- throws java.lang.IndexOutOfBoundsException\r
- {\r
- //-- check bounds for index\r
- if ((index < 0) || (index > _colourList.size())) {\r
- throw new IndexOutOfBoundsException();\r
- }\r
- \r
- return (jalview.schemabinding.version2.Colour) _colourList.elementAt(index);\r
- } //-- jalview.schemabinding.version2.Colour getColour(int) \r
-\r
- /**\r
- * Method getColour\r
- * \r
- * \r
- * \r
- * @return Colour\r
- */\r
- public jalview.schemabinding.version2.Colour[] getColour()\r
- {\r
- int size = _colourList.size();\r
- jalview.schemabinding.version2.Colour[] mArray = new jalview.schemabinding.version2.Colour[size];\r
- for (int index = 0; index < size; index++) {\r
- mArray[index] = (jalview.schemabinding.version2.Colour) _colourList.elementAt(index);\r
- }\r
- return mArray;\r
- } //-- jalview.schemabinding.version2.Colour[] getColour() \r
-\r
- /**\r
- * Method getColourCount\r
- * \r
- * \r
- * \r
- * @return int\r
- */\r
- public int getColourCount()\r
- {\r
- return _colourList.size();\r
- } //-- int getColourCount() \r
-\r
- /**\r
- * Returns the value of field 'schemeName'.\r
- * \r
- * @return String\r
- * @return the value of field 'schemeName'.\r
- */\r
- public java.lang.String getSchemeName()\r