[
  {
    "id": "oj-c.Train",
    "name": "Train",
    "memberof": "oj-c",
    "kind": "class",
    "meta": {
      "filename": "train.tsx",
      "path": "web/components/oj-c/train"
    },
    "ojcomponent": true,
    "isvcomponent": true,
    "since": "21.0.0",
    "longname": "oj-c.Train",
    "pack": "oj-c",
    "classdesc": "<h3 id=\"trainOverview-section\">\n  JET Train\n  <a class=\"bookmarkable-link\" title=\"Bookmarkable Link\" href=\"#trainOverview-section\"></a>\n</h3>\n\n<p>The JET Train element is a navigation visual that allows a user to go between different \"steps\".\nEach step can display information about the state of the step(\"visited\", \"unvisited\", \"disabled\")\nand display a message type(\"error\", \"confirmation\", \"warning\", \"info\", \"fatal\")</p>\n\n<pre class=\"prettyprint\"><code>&lt;oj-c-train\n  selected-step=\"{{currentStepValue}}\"\n  visited=\"{{visitedStepIds}}\"\n  steps=\"[[stepArray]]\">\n&lt;/oj-c-train></code></pre>\n<h3 id=\"touch-section\">\n  Touch End User Information\n  <a class=\"bookmarkable-link\" title=\"Bookmarkable Link\" href=\"#touch-section\"></a>\n</h3>\n\n{@ojinclude \"name\":\"touchDoc\"}\n\n\n <h3 id=\"keyboard-section\">\n  Keyboard End User Information\n  <a class=\"bookmarkable-link\" title=\"Bookmarkable Link\" href=\"#keyboard-section\"></a>\n</h3>\n\n\n<table class=\"keyboard-table\">\n  <thead>\n    <tr>\n      <th>Key</th>\n      <th>Action</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td><kbd>Tab</kbd></td>\n      <td> Move focus to the next selectable step. </tr>\n    <tr>\n      <td><kbd>Shift+Tab</kbd></td>\n      <td> Move focus to the previous selectable step.</tr>\n    <tr>\n      <td><kbd>Enter</kbd></td>\n      <td> Select the focused step.</tr>\n  </tbody>\n </table>\n\n<h3 id=\"a11y-section\">\n  Accessibility\n  <a class=\"bookmarkable-link\" title=\"Bookmarkable Link\" href=\"#a11y-section\"></a>\n</h3>\n<p>\nDisabled content: JET supports an accessible luminosity contrast ratio,\nas specified in <a href=\"http://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast\">WCAG 2.0 - Section 1.4.3 \"Contrast\"</a>,\nin the themes that are accessible. (See the \"Theming\" chapter of the JET Developer Guide for more information on which\nthemes are accessible.) Note that Section 1.4.3 says that text or images of text that are part of an inactive user\ninterface component have no contrast requirement. Because disabled content may not meet the minimum contrast ratio\nrequired of enabled content, it cannot be used to convey meaningful information.\n</p>",
    "scope": "static",
    "tagWithoutBrackets": "oj-c-train",
    "tagWithBrackets": "<oj-c-train>",
    "domInterface": "CTrainElement",
    "ojPageTitle": "&lt;oj-c-train>",
    "camelCaseName": "Train",
    "ojPageTitlePrefix": "Element: ",
    "ojtsvcomponent": true,
    "tstype": {
      "target": "Type",
      "value": "interface CTrainElement extends JetElement<TrainElementSettableProperties>"
    },
    "ojsignature": [
      {
        "target": "Type",
        "value": "interface CTrainElement extends JetElement<TrainElementSettableProperties>"
      }
    ],
    "tsdeprecated": [
      {
        "type": "supersedes",
        "since": "21.0.0",
        "value": [
          "oj-train"
        ]
      }
    ],
    "extension": {
      "catalog": {
        "category": "Controls"
      },
      "vbdt": {
        "module": "oj-c/train"
      },
      "oracle": {
        "icon": "oj-ux-ico-train",
        "uxSpecs": [
          "train"
        ]
      }
    },
    "ojmodule": "train"
  },
  {
    "id": "oj-c.Train#steps",
    "name": "steps",
    "memberof": "oj-c.Train",
    "meta": {
      "filename": "train.tsx",
      "path": "web/components/oj-c/train"
    },
    "kind": "member",
    "longname": "oj-c.Train#steps",
    "scope": "instance",
    "type": {
      "names": [
        "Array<object>"
      ]
    },
    "optional": false,
    "ojdisplayname": "Steps",
    "ojshortdesc": "An array of steps for the train",
    "description": "Array of step definitions.",
    "defaultvalue": "[]",
    "tstype": [
      {
        "target": "Type",
        "value": "Array<oj-c.Train.Step>",
        "jsdocOverride": true
      }
    ]
  },
  {
    "id": "oj-c.Train#selectedStep",
    "name": "selectedStep",
    "memberof": "oj-c.Train",
    "meta": {
      "filename": "train.tsx",
      "path": "web/components/oj-c/train"
    },
    "kind": "member",
    "longname": "oj-c.Train#selectedStep",
    "scope": "instance",
    "type": {
      "names": [
        "string"
      ]
    },
    "optional": false,
    "ojdisplayname": "Selected Step",
    "ojwriteback": true,
    "ojshortdesc": "The id of the selected step",
    "description": "Id of the currently selected step."
  },
  {
    "id": "oj-c.Train#visited",
    "name": "visited",
    "memberof": "oj-c.Train",
    "meta": {
      "filename": "train.tsx",
      "path": "web/components/oj-c/train"
    },
    "kind": "member",
    "longname": "oj-c.Train#visited",
    "scope": "instance",
    "type": {
      "names": [
        "Array<string>"
      ]
    },
    "optional": true,
    "ojdisplayname": "Visited",
    "ojwriteback": true,
    "description": "The ids of the visited steps.",
    "defaultvalue": "'[]'"
  },
  {
    "id": "oj-c.Train#width",
    "name": "width",
    "memberof": "oj-c.Train",
    "meta": {
      "filename": "train.tsx",
      "path": "web/components/oj-c/train"
    },
    "kind": "member",
    "longname": "oj-c.Train#width",
    "scope": "instance",
    "type": {
      "names": [
        "number|string"
      ]
    },
    "optional": true,
    "ojdisplayname": "Width",
    "description": "Specifies the component style width."
  },
  {
    "id": "oj-c.Train#setProperty",
    "name": "setProperty",
    "memberof": "oj-c.Train",
    "meta": {
      "filename": "train.tsx",
      "path": "web/components/oj-c/train"
    },
    "kind": "function",
    "longname": "oj-c.Train#setProperty",
    "scope": "instance",
    "returns": [
      {
        "type": {
          "names": [
            "void"
          ]
        }
      }
    ],
    "ojshortdesc": "Sets a property or a single subproperty for complex properties and notifies the component of the change, triggering a corresponding event.",
    "description": "Sets a property or a single subproperty for complex properties and notifies the component of the change, triggering a corresponding event.",
    "params": [
      {
        "name": "property",
        "description": "The property name to set. Supports dot notation for subproperty access.",
        "type": {
          "names": [
            "string"
          ]
        }
      },
      {
        "name": "value",
        "description": "The new value to set the property to.",
        "type": {
          "names": [
            "any"
          ]
        }
      }
    ]
  },
  {
    "id": "oj-c.Train#getProperty",
    "name": "getProperty",
    "memberof": "oj-c.Train",
    "meta": {
      "filename": "train.tsx",
      "path": "web/components/oj-c/train"
    },
    "kind": "function",
    "longname": "oj-c.Train#getProperty",
    "scope": "instance",
    "returns": [
      {
        "type": {
          "names": [
            "any"
          ]
        }
      }
    ],
    "ojshortdesc": "Retrieves the value of a property or a subproperty.",
    "description": "Retrieves the value of a property or a subproperty.",
    "params": [
      {
        "name": "property",
        "description": "The property name to get. Supports dot notation for subproperty access.",
        "type": {
          "names": [
            "string"
          ]
        }
      }
    ]
  },
  {
    "id": "oj-c.Train#setProperties",
    "name": "setProperties",
    "memberof": "oj-c.Train",
    "meta": {
      "filename": "train.tsx",
      "path": "web/components/oj-c/train"
    },
    "kind": "function",
    "longname": "oj-c.Train#setProperties",
    "scope": "instance",
    "returns": [
      {
        "type": {
          "names": [
            "void"
          ]
        }
      }
    ],
    "ojshortdesc": "Performs a batch set of properties.",
    "description": "Performs a batch set of properties.",
    "params": [
      {
        "name": "properties",
        "description": "An object containing the property and value pairs to set.",
        "type": {
          "names": [
            "object"
          ]
        }
      }
    ]
  },
  {
    "id": "oj-c.Train#event:ojBeforeSelect",
    "name": "ojBeforeSelect",
    "kind": "event",
    "memberof": "oj-c.Train",
    "meta": {
      "filename": "train.tsx",
      "path": "web/components/oj-c/train"
    },
    "longname": "oj-c.Train#event:ojBeforeSelect",
    "scope": "instance",
    "ojshortdesc": "Triggered before a step is selected. Cancel to prevent selection.",
    "ojdisplayname": "Before Select",
    "description": "<p style=\"background-color: RGB(var(--oj-palette-info-rgb-30)); border: 2px solid #ddd\"><strong>Note:</strong> The event detail contains the following properties: [oj-c.Train.TrainSelectDetail]{@link oj-c.Train.TrainSelectDetail}</p>Triggered before a step is selected. Reject the returned promise to cancel selection."
  },
  {
    "id": "oj-c.Train.touchDoc",
    "name": "touchDoc",
    "kind": "member",
    "longname": "oj-c.Train.touchDoc",
    "description": "<table class=\"keyboard-table\">\n  <thead>\n    <tr>\n      <th>Key</th>\n      <th>Action</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td><kbd>Tab</kbd></td>\n      <td> Move focus to the next selectable step. </tr>\n    <tr>\n      <td><kbd>Shift+Tab</kbd></td>\n      <td> Move focus to the previous selectable step.</tr>\n    <tr>\n      <td><kbd>Enter</kbd></td>\n      <td> Select the focused step.</tr>\n  </tbody>\n </table>",
    "memberof": "oj-c.Train",
    "meta": {
      "filename": "train.tsx",
      "path": "web/components/oj-c/train"
    },
    "ojfragment": true
  },
  {
    "id": "oj-c.Train.keyboardDoc",
    "name": "keyboardDoc",
    "kind": "member",
    "longname": "oj-c.Train.keyboardDoc",
    "description": "<table class=\"keyboard-table\">\n  <thead>\n    <tr>\n      <th>Key</th>\n      <th>Action</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td><kbd>Tab</kbd></td>\n      <td> Move focus to the next selectable step. </tr>\n    <tr>\n      <td><kbd>Shift+Tab</kbd></td>\n      <td> Move focus to the previous selectable step.</tr>\n    <tr>\n      <td><kbd>Enter</kbd></td>\n      <td> Select the focused step.</tr>\n  </tbody>\n </table>",
    "memberof": "oj-c.Train",
    "meta": {
      "filename": "train.tsx",
      "path": "web/components/oj-c/train"
    },
    "ojfragment": true
  },
  {
    "id": "oj-c.Train.Step",
    "name": "Step",
    "kind": "typedef",
    "memberof": "oj-c.Train",
    "meta": {
      "filename": "train.tsx",
      "path": "web/components/oj-c/train"
    },
    "longname": "oj-c.Train.Step",
    "type": {
      "names": [
        "Object"
      ]
    },
    "scope": "static",
    "description": "",
    "properties": [
      {
        "name": "id",
        "description": "Unique step id.",
        "optional": false,
        "type": {
          "names": [
            "string"
          ]
        }
      },
      {
        "name": "label",
        "description": "Step Label.",
        "optional": false,
        "type": {
          "names": [
            "string"
          ]
        }
      },
      {
        "name": "disabled",
        "description": "Determines if the step is disabled.",
        "optional": true,
        "type": {
          "names": [
            "boolean"
          ]
        }
      },
      {
        "name": "messageType",
        "description": "Step message type",
        "optional": true,
        "type": {
          "names": [
            "\"error\"",
            "\"confirmation\"",
            "\"info\"",
            "\"warning\"",
            "\"fatal\""
          ]
        }
      }
    ]
  },
  {
    "id": "oj-c.Train.TrainSelectDetail",
    "name": "TrainSelectDetail",
    "kind": "typedef",
    "memberof": "oj-c.Train",
    "meta": {
      "filename": "train.tsx",
      "path": "web/components/oj-c/train"
    },
    "longname": "oj-c.Train.TrainSelectDetail",
    "type": {
      "names": [
        "Object"
      ]
    },
    "scope": "static",
    "description": "Payload for selection changes, containing the step id being selected.",
    "properties": [
      {
        "name": "id",
        "optional": false,
        "type": {
          "names": [
            "string"
          ]
        }
      },
      {
        "name": "accept",
        "tstype": [
          {
            "target": "Type",
            "value": "(acceptPromise:Promise<void>) => void",
            "for": "accept",
            "jsdocOverride": true
          }
        ],
        "description": "This method can be called with an application-created Promise to cancel this event asynchronously.  The Promise should be resolved or rejected to accept or cancel the event, respectively.",
        "type": {
          "names": [
            "function"
          ]
        }
      }
    ]
  }
]