Package voltage.core

# Class VoltageMidiCable

java.lang.Object
voltage.core.VoltageComponent
voltage.core.VoltageCable
voltage.core.VoltageMidiCable

public class VoltageMidiCable extends VoltageCable
Class representing an MIDI cable.

- ## Field Summary

  ### Fields inherited from class voltage.core.VoltageComponent

  `componentName, displayName`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `AddMessage(ShortMessage message)`
  `void`
  `AllowBusWrites(boolean allow)`
  Allow writing to this cable even if it is not connected.
  `void`
  `ClearMessages()`
  `void`
  `ClearMessagesBeforeWriting()`
  `double`
  `GetHighValue()`
  `ArrayList<ShortMessage>`
  `GetMessages()`

  ### Methods inherited from class voltage.core.VoltageComponent

  `AddChildComponent, GetComponentID, GetDisplayName, GetHeight, GetMaxValue, GetMinValue, GetRect, GetSkin, GetTooltipText, GetTransparency, GetUserProperty, GetValue, GetWidth, GetX, GetY, IsEnabled, IsVisible, RemoveChildComponent, SetCanBeAutomated, SetEnabled, SetPosition, SetRect, SetRect, SetSize, SetSkin, SetTransparency, SetUnits, SetUserProperty, SetValue, SetValue, SetValueNoNotification, SetVisible, SetWantsMouseNotifications, SetZOrder, SkewNormalizedValue, UpdateGUIValue, WantsMouseNotifications`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### AddMessage

    public void AddMessage(ShortMessage message)

  - ### GetMessages

    public ArrayList<ShortMessage> GetMessages()

  - ### ClearMessages

    public void ClearMessages()

  - ### ClearMessagesBeforeWriting

    public void ClearMessagesBeforeWriting()

  - ### GetHighValue

    public double GetHighValue()

  - ### AllowBusWrites

    public void AllowBusWrites(boolean allow)
    Allow writing to this cable even if it is not connected.
    Parameters:
      `allow` - false is the default behavior.