![JAR search and dependency download from the Maven repository](/logo.png)
org.appdapter.gui.api.BT Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.appdapter.lib.gui Show documentation
Show all versions of org.appdapter.lib.gui Show documentation
Appdapter Maven project including Java and Scala, produces jar, not bundle. Excludes concrete SLF4J binding.
The newest version!
package org.appdapter.gui.api;
import java.awt.Component;
import java.beans.PropertyVetoException;
import java.util.Map;
import org.appdapter.core.debug.UIAnnotations.UIHidden;
import org.appdapter.api.trigger.Box;
import org.appdapter.api.trigger.Trigger;
import org.appdapter.api.trigger.UserResult;
import org.appdapter.core.convert.Convertable;
/**
* A wrapper for objects used in the ScreenBox system. It holds an object,
* a name, and info about whether it is selected or not. The "name" and
* "selected" properties are bound and constrained, i.e. you can listen to
* changes using addPropertyChangeListener, and you can also prevent changes in
* some cases if you use addVetoableChangeListener.
*
*
*/
@UIHidden
public interface BT>> //
extends GetSetObject, java.io.Serializable, java.util.Map.Entry, Convertable, UserResult, IGetBox, //
ScreenBox, DisplayContextProvider, Box //
//, GetDisplayContext, UIProvider, //
//Map.Entry
/*>> extends MutableBox*//*extends org.appdapter.gui.api.IGetBox, GetObject, Convertable, *//*, Box extends Trigger extends Box>>*/
//extends ScreenBox, java.io.Serializable, GetSetObject, MutableBox {
{
//public Box asBox();
public abstract Object getDisplayTarget(DisplayType attachType);
public abstract DisplayType getDisplayType();
// public T[] getObjects(Class type);
// public boolean canConvert(Class c);
// public T convertTo(Class c);
// public String getDebugName();
// public String getKey();
/**
* This is used for ScreenComponentImpls to tell their BoxPanelSwitchableView that a
* property such as "name" or "selected" is about to change, allowing the
* BoxPanelSwitchableView to fire a PropertyVetoException to stop the change if it
* likes.
*
*
* This would happen, for example, if someone is trying to rename a object
* to a name that another object within this collection already has.
*/
// public abstract void vetoableChange(PropertyChangeEvent evt) throws PropertyVetoException;
/**
* This is used for ScreenComponentImpls to tell their BoxPanelSwitchableView that a
* property such as "name" or "selected" has changed. The BoxPanelSwitchableView
* will update its state as necessary.
*/
//public abstract void propertyChange(PropertyChangeEvent evt);
/**
* This returns the decomposed Mixins
* @return
*/
//public Iterable
© 2015 - 2025 Weber Informatics LLC | Privacy Policy