internal SuppliedValueWidget(IShuffleboardContainer parent, string title, Func <T> supplier, Action <NetworkTableEntry, T> setter) : base(parent, title) { m_supplier = supplier; m_setter = setter; }
private void Apply(IShuffleboardContainer container, Action <ComplexWidget> func) { foreach (var component in container.Components) { if (component is ComplexWidget complexWidget) { func(complexWidget); } if (component is IShuffleboardContainer shuffleContainer) { Apply(shuffleContainer, func); } } }
internal ComplexWidget(IShuffleboardContainer parent, string title, ISendable sendable) : base(parent, title) { m_sendable = sendable; }
public ShuffleboardWidget(IShuffleboardContainer parent, string title) : base(parent, title) { }
internal ShuffleboardLayout(IShuffleboardContainer parent, string?name, string type) : base(parent, type, name) { m_helper = new ContainerHelper(this); }
protected ShuffleboardComponent(IShuffleboardContainer parent, string title, string?type = null) { Parent = parent; Title = title; m_type = type; }
internal SimpleWidget(IShuffleboardContainer parent, string title) : base(parent, title) { }
public WrappedShuffleboardContainer(IShuffleboardContainer container) { this.container = container; }
internal ContainerHelper(IShuffleboardContainer container) { m_container = container; }