package bluej.stride.slots;

import bluej.stride.framedjava.ast.links.PossibleLink;
import bluej.stride.generic.Frame;
import bluej.utility.javafx.SharedTransition;

import javafx.collections.ObservableList;
import javafx.scene.Node;

import java.util.Collections;
import java.util.List;


| A HeaderItem is anything which might appear in a FlowPane header in a Frame. This is typically | a slot, or a label. | | Importantly, there is a one-to-many correspondence between HeaderItem and actual Node components to | display in the FlowPane (not one-to-one as you might expect). This is because things like ExpressionSlot | are one HeaderItem, but are implemented using multiple nodes (which means that they can then wrap individually | in the FlowPane, rather than as one clump, for long expressions). | | Generally, HeaderItem is just used to get hold of the graphical nodes (via getComponents); anything more | complicated is usually related to slots, which can be accessed via the asEditable method. | public interface HeaderItem { public ObservableList getComponents(); public EditableSlot asEditable(); default public List findLinks() return Collections.emptyList(); };
| Notifies the slot to change to the current view (normal, Java preview, bird's eye) | @see bluej.stride.generic.Frame.View | void setView(Frame.View oldView, Frame.View newView, SharedTransition animate); }
top, use, map, interface HeaderItem

.   getComponents
.   asEditable
.   findLinks
.   setView




22 neLoCode + 10 LoComm