tripleplay.ui.Togglable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tripleplay Show documentation
Show all versions of tripleplay Show documentation
Utilities for use in PlayN-based games.
//
// Triple Play - utilities for use in PlayN-based games
// Copyright (c) 2011-2014, Three Rings Design, Inc. - All rights reserved.
// http://github.com/threerings/tripleplay/blob/master/LICENSE
package tripleplay.ui;
import react.Value;
/**
* Implemented by {@link Element}s that expose a selected state and can be clicked.
*/
public interface Togglable> extends Clickable
{
/** A value that reflects the current selection state and is updated when said state changes. */
Value selected ();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy