K
- the type of key in the window paneV
- the type of value in the window pane.public final class WindowPane<K,V> extends java.lang.Object implements MessageEnvelope<WindowKey<K>,V>
Window
.Modifier and Type | Method and Description |
---|---|
WindowKey<K> |
getKey()
Get the key for this
MessageEnvelope . |
V |
getMessage()
Get the message in this
MessageEnvelope . |
static <K,M> WindowPane<K,M> |
of(WindowKey<K> key,
M result) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isDelete
public V getMessage()
MessageEnvelope
MessageEnvelope
.getMessage
in interface MessageEnvelope<WindowKey<K>,V>
MessageEnvelope
public WindowKey<K> getKey()
MessageEnvelope
MessageEnvelope
.getKey
in interface MessageEnvelope<WindowKey<K>,V>
MessageEnvelope
public static <K,M> WindowPane<K,M> of(WindowKey<K> key, M result)