public class DefaultAsideAnswer extends Object implements AsideAnswer
DefaultAsideAnswer is just a container for properties but does not modify them
in any way.| Constructor and Description |
|---|
DefaultAsideAnswer(boolean canceled,
DockableProperty location,
PlaceholderMap layout)
Creates a new answer.
|
| Modifier and Type | Method and Description |
|---|---|
PlaceholderMap |
getLayout()
Gets the layout of a non-existent child station.
|
DockableProperty |
getLocation()
Gets the location generated by the child station.
|
boolean |
isCanceled()
Tells whether the request was canceled.
|
public DefaultAsideAnswer(boolean canceled,
DockableProperty location,
PlaceholderMap layout)
canceled - whether the request was canceledlocation - the location of the new itemlayout - the layout of the non-existing stationpublic boolean isCanceled()
AsideAnswerisCanceled in interface AsideAnswerpublic DockableProperty getLocation()
AsideAnswersuccessor. A value of null indicates
the the child station did not produce a location.getLocation in interface AsideAnswernullpublic PlaceholderMap getLayout()
AsideAnswernull either indicates that
the child station exists, or that it does not (no longer) have a layout worth saving.getLayout in interface AsideAnswernullCopyright © 2017 Docking Frames. All rights reserved.