InputView

public interface InputView
Known Indirect Subclasses

Abstract methods required by Input views.

Implementations of InputView must extend ViewGroup or one of its subclasses. The class should also disable activated/focused/pressed/selected state propegation, as implemented in NonPropagatingViewGroup.

Public Method Summary

abstract BlockGroup
abstract Input
abstract void
setConnectedBlockGroup(BlockGroup group)
Sets the BlockGroup containing the block connected to this input and updates the view hierarchy.
abstract void
unlinkModel()
Recursively disconnects the view from the model, including all subviews/model subcomponents.

Public Methods

public abstract BlockGroup getConnectedBlockGroup ()

Returns
  • The BlockGroup connected to this input connection.

public abstract Input getInput ()

Returns
  • The Input represented by this view.

public abstract void setConnectedBlockGroup (BlockGroup group)

Sets the BlockGroup containing the block connected to this input and updates the view hierarchy. Calling this with null will disconnect the current group.

Parameters
group The BlockGroup to add to this input view.

public abstract void unlinkModel ()

Recursively disconnects the view from the model, including all subviews/model subcomponents.

This method should only be called by unlinkModel().