All Downloads are FREE. Search and download functionalities are using the official Maven repository.

bibliothek.gui.dock.station.toolbar.layout.grid.ColumnItem Maven / Gradle / Ivy

package bibliothek.gui.dock.station.toolbar.layout.grid;

import bibliothek.gui.DockStation;
import bibliothek.gui.dock.DockElement;
import bibliothek.gui.dock.station.support.PlaceholderListItem;
import bibliothek.gui.dock.station.support.PlaceholderMap;
import bibliothek.util.Path;

/**
 * An class representing either a {@link Column} or a {@link DockElement}.
 * 
 * @author Benjamin Sigg
 */
public interface ColumnItem> {
	/**
	 * Converts this item into an item that represents a {@link DockStation}
	 * 
	 * @return the station, can be null
	 */
	public ColumnItem asStation();

	/**
	 * Gets a placeholder for this item.
	 * 
	 * @return the placeholder or null
	 */
	public Path getPlaceholder();

	/**
	 * Gets the children of this station
	 * 
	 * @return the children
	 */
	public ColumnItem[] getChildren();

	/**
	 * Gets all the placeholders of this item.
	 * 
	 * @return all the placeholders, can be null
	 */
	public PlaceholderMap getPlaceholders();

	/**
	 * Sets all the placeholders of this station.
	 * 
	 * @param map
	 *            the new placeholders
	 */
	public void setPlaceholders( PlaceholderMap map );
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy