FML Update

This commit is contained in:
Steffen Schröder
2014-07-03 22:34:47 +02:00
parent edd62f0eb4
commit 8b3667b252
75 changed files with 392 additions and 370 deletions

View File

@ -47,7 +47,7 @@ class ActionTrigger extends ScriptFeature {
* Set the action to trigger
*
* @param string $actionName
* @return \FML\Script\Features\ActionTrigger|static
* @return static
*/
public function setActionName($actionName) {
$this->actionName = (string)$actionName;
@ -58,7 +58,7 @@ class ActionTrigger extends ScriptFeature {
* Set the Control
*
* @param Control $control Action Control
* @return \FML\Script\Features\ActionTrigger|static
* @return static
*/
public function setControl(Control $control) {
$control->checkId();
@ -73,7 +73,7 @@ class ActionTrigger extends ScriptFeature {
* Set the label name
*
* @param string $labelName Script Label name
* @return \FML\Script\Features\ActionTrigger|static
* @return static
*/
public function setLabelName($labelName) {
$this->labelName = (string)$labelName;

View File

@ -64,7 +64,7 @@ class CheckBoxFeature extends ScriptFeature {
* Set the CheckBox Quad
*
* @param Quad $quad CheckBox Quad
* @return \FML\Script\Features\CheckBoxFeature|static
* @return static
*/
public function setQuad(Quad $quad) {
$this->quad = $quad->checkId()->setScriptEvents(true);
@ -84,7 +84,7 @@ class CheckBoxFeature extends ScriptFeature {
* Set the CheckBox Entry
*
* @param Entry $entry CheckBox Entry
* @return \FML\Script\Features\CheckBoxFeature|static
* @return static
*/
public function setEntry(Entry $entry) {
$this->entry = $entry->checkId();
@ -104,7 +104,7 @@ class CheckBoxFeature extends ScriptFeature {
* Set the default value
*
* @param bool $default Default value
* @return \FML\Script\Features\CheckBoxFeature|static
* @return static
*/
public function setDefault($default) {
$this->default = (bool)$default;
@ -115,7 +115,7 @@ class CheckBoxFeature extends ScriptFeature {
* Set the enabled Design
*
* @param CheckBoxDesign $checkBoxDesign Enabled CheckBox Design
* @return \FML\Script\Features\CheckBoxFeature|static
* @return static
*/
public function setEnabledDesign(CheckBoxDesign $checkBoxDesign) {
$this->enabledDesign = $checkBoxDesign;
@ -126,7 +126,7 @@ class CheckBoxFeature extends ScriptFeature {
* Set the disabled Design
*
* @param CheckBoxDesign $checkBoxDesign Disabled CheckBox Design
* @return \FML\Script\Features\CheckBoxFeature|static
* @return static
*/
public function setDisabledDesign(CheckBoxDesign $checkBoxDesign) {
$this->disabledDesign = $checkBoxDesign;

View File

@ -42,7 +42,7 @@ class Clock extends ScriptFeature {
* Set the Label
*
* @param Label $label Clock Label
* @return \FML\Script\Features\Clock|static
* @return static
*/
public function setLabel(Label $label) {
$this->label = $label->checkId();
@ -53,7 +53,7 @@ class Clock extends ScriptFeature {
* Set whether seconds should be shown
*
* @param bool $showSeconds Whether seconds should be shown
* @return \FML\Script\Features\Clock|static
* @return static
*/
public function setShowSeconds($showSeconds) {
$this->showSeconds = (bool)$showSeconds;
@ -64,7 +64,7 @@ class Clock extends ScriptFeature {
* Set whether the full date should be shown
*
* @param bool $showFullDate Whether the full date should be shown
* @return \FML\Script\Features\Clock|static
* @return static
*/
public function setShowFullDate($showFullDate) {
$this->showFullDate = (bool)$showFullDate;

View File

@ -40,7 +40,7 @@ class ControlScript extends ScriptFeature {
* Set the Control
*
* @param Control $control Event Control
* @return \FML\Script\Features\ControlScript|static
* @return static
*/
public function setControl(Control $control) {
$this->control = $control->checkId();
@ -52,7 +52,7 @@ class ControlScript extends ScriptFeature {
* Set the script text
*
* @param string $text Script text
* @return \FML\Script\Features\ControlScript|static
* @return static
*/
public function setText($text) {
$this->text = (string)$text;
@ -63,7 +63,7 @@ class ControlScript extends ScriptFeature {
* Set the label name
*
* @param string $labelName Script Label name
* @return \FML\Script\Features\ControlScript|static
* @return static
*/
public function setLabelName($labelName) {
$this->labelName = (string)$labelName;

View File

@ -40,7 +40,7 @@ class EntrySubmit extends ScriptFeature {
* Set the Entry
*
* @param Entry $entry Entry Control
* @return \FML\Script\Features\EntrySubmit|static
* @return static
*/
public function setEntry(Entry $entry) {
$this->entry = $entry->checkId()->setScriptEvents(true);
@ -51,7 +51,7 @@ class EntrySubmit extends ScriptFeature {
* Set the submit url
*
* @param string $url Submit url
* @return \FML\Script\Features\EntrySubmit|static
* @return static
*/
public function setUrl($url) {
$this->url = (string)$url;

View File

@ -42,7 +42,7 @@ class KeyAction extends ScriptFeature {
* Set the action to trigger
*
* @param string $actionName Triggered action
* @return \FML\Script\Features\KeyAction|static
* @return static
*/
public function setActionName($actionName) {
$this->actionName = (string)$actionName;
@ -53,7 +53,7 @@ class KeyAction extends ScriptFeature {
* Set the key name for triggering the action
*
* @param string $keyName Key Name
* @return \FML\Script\Features\KeyAction|static
* @return static
*/
public function setKeyName($keyName) {
$this->keyName = (string)$keyName;
@ -66,7 +66,7 @@ class KeyAction extends ScriptFeature {
* Set the key code for triggering the action
*
* @param int $keyCode Key Code
* @return \FML\Script\Features\KeyAction|static
* @return static
*/
public function setKeyCode($keyCode) {
$this->keyCode = (int)$keyCode;
@ -79,7 +79,7 @@ class KeyAction extends ScriptFeature {
* Set the char to press for triggering the action
*
* @param string $charPressed Pressed char
* @return \FML\Script\Features\KeyAction|static
* @return static
*/
public function setCharPressed($charPressed) {
$this->charPressed = (string)$charPressed;

View File

@ -38,7 +38,7 @@ class MapInfo extends ScriptFeature {
* Set the Control
*
* @param Control $control Map Info Control
* @return \FML\Script\Features\MapInfo|static
* @return static
*/
public function setControl(Control $control) {
$control->checkId();
@ -53,7 +53,7 @@ class MapInfo extends ScriptFeature {
* Set the label name
*
* @param string $labelName Script Label name
* @return \FML\Script\Features\MapInfo|static
* @return static
*/
public function setLabelName($labelName) {
$this->labelName = (string)$labelName;

View File

@ -46,7 +46,7 @@ class Menu extends ScriptFeature {
* @param Control $item Item Control in the Menu bar
* @param Control $control Toggled Menu Control
* @param bool $isStartElement (optional) Whether the Menu should start with this Element
* @return \FML\Script\Features\Menu|static
* @return static
*/
public function addElement(Control $item, Control $control, $isStartElement = false) {
$menuElement = new MenuElement($item, $control);
@ -59,7 +59,7 @@ class Menu extends ScriptFeature {
*
* @param MenuElement $menuElement Menu Element
* @param bool $isStartElement (optional) Whether the Menu should start with this Element
* @return \FML\Script\Features\Menu|static
* @return static
*/
public function appendElement(MenuElement $menuElement, $isStartElement = false) {
if (!in_array($menuElement, $this->elements, true)) {
@ -77,7 +77,7 @@ class Menu extends ScriptFeature {
* Set the Element to start with
*
* @param MenuElement $startElement Starting Element
* @return \FML\Script\Features\Menu|static
* @return static
*/
public function setStartElement(MenuElement $startElement) {
$this->startElement = $startElement;

View File

@ -38,7 +38,7 @@ class MenuElement {
* Set the Item Control
*
* @param Control $item Item Control in the Menu bar
* @return \FML\Script\Features\MenuElement|static
* @return static
*/
public function setItem(Control $item) {
$item->checkId();
@ -62,7 +62,7 @@ class MenuElement {
* Set the Menu Control
*
* @param Control $control Toggled Menu Control
* @return \FML\Script\Features\MenuElement|static
* @return static
*/
public function setControl(Control $control) {
$this->control = $control->checkId();

View File

@ -54,7 +54,7 @@ class Paging extends ScriptFeature {
*
* @param Control $pageControl Page Control
* @param string $pageNumber (optional) Page number
* @return \FML\Script\Features\Paging|static
* @return static
*/
public function addPage(Control $pageControl, $pageNumber = null) {
if (is_null($pageNumber)) {
@ -69,7 +69,7 @@ class Paging extends ScriptFeature {
* Append a Page
*
* @param PagingPage $page Paging Page
* @return \FML\Script\Features\Paging|static
* @return static
*/
public function appendPage(PagingPage $page) {
if (!in_array($page, $this->pages, true)) {
@ -83,7 +83,7 @@ class Paging extends ScriptFeature {
*
* @param Control $buttonControl Button used for browsing
* @param int $browseAction (optional) Number of browsed Pages per click
* @return \FML\Script\Features\Paging|static
* @return static
*/
public function addButton(Control $buttonControl, $browseAction = null) {
if (is_null($browseAction)) {
@ -103,7 +103,7 @@ class Paging extends ScriptFeature {
* Append a Button to browse through Pages
*
* @param PagingButton $button Paging Button
* @return \FML\Script\Features\Paging|static
* @return static
*/
public function appendButton(PagingButton $button) {
if (!in_array($button, $this->buttons, true)) {
@ -116,7 +116,7 @@ class Paging extends ScriptFeature {
* Set the Label showing the Page number
*
* @param Label $label Page number Label
* @return \FML\Script\Features\Paging|static
* @return static
*/
public function setLabel(Label $label) {
$this->label = $label->checkId();
@ -127,7 +127,7 @@ class Paging extends ScriptFeature {
* Set the Start Page number
*
* @param int $startPageNumber Page number to start with
* @return \FML\Script\Features\Paging|static
* @return static
*/
public function setStartPageNumber($startPageNumber) {
$this->startPageNumber = (int)$startPageNumber;
@ -137,7 +137,7 @@ class Paging extends ScriptFeature {
* Set a custom maximum Page number for using chunks
*
* @param int $maxPageNumber Custom maximum Page number
* @return \FML\Script\Features\Paging|static
* @return static
*/
public function setCustomMaxPageNumber($maxPageNumber) {
$this->customMaxPageNumber = (int)$maxPageNumber;
@ -148,7 +148,7 @@ class Paging extends ScriptFeature {
* Set the action triggered when the previous chunk is needed
*
* @param string $previousChunkAction Triggered action
* @return \FML\Script\Features\Paging|static
* @return static
*/
public function setPreviousChunkAction($previousChunkAction) {
$this->previousChunkAction = (string)$previousChunkAction;
@ -159,7 +159,7 @@ class Paging extends ScriptFeature {
* Set the action triggered when the next chunk is needed
*
* @param string $nextChunkAction Triggered action
* @return \FML\Script\Features\Paging|static
* @return static
*/
public function setNextChunkAction($nextChunkAction) {
$this->nextChunkAction = (string)$nextChunkAction;
@ -170,7 +170,7 @@ class Paging extends ScriptFeature {
* Set the actions triggered when another chunk is needed
*
* @param string $chunkAction Triggered action
* @return \FML\Script\Features\Paging|static
* @return static
*/
public function setChunkActions($chunkAction) {
$this->setNextChunkAction($chunkAction);
@ -182,7 +182,7 @@ class Paging extends ScriptFeature {
* Set if the chunk action should get the needed Page number appended
*
* @param bool $appendPageNumber Whether to append the needed Page number
* @return \FML\Script\Features\Paging|static
* @return static
*/
public function setChunkActionAppendsPageNumber($appendPageNumber) {
$this->chunkActionAppendsPageNumber = (bool)$appendPageNumber;

View File

@ -39,7 +39,7 @@ class PagingButton {
* Set the Button Control
*
* @param Control $control Browse Control
* @return \FML\Script\Features\PagingButton|static
* @return static
*/
public function setControl(Control $control) {
$control->checkId();
@ -63,7 +63,7 @@ class PagingButton {
* Set the browse action
*
* @param int $browseAction Number of browsed Pages per click
* @return \FML\Script\Features\PagingButton|static
* @return static
*/
public function setBrowseAction($browseAction) {
$this->browseAction = (int)$browseAction;

View File

@ -36,7 +36,7 @@ class PagingPage {
* Set the Page Control
*
* @param Control $control Page Control
* @return \FML\Script\Features\PagingPage|static
* @return static
*/
public function setControl(Control $control) {
$this->control = $control->checkId();
@ -56,7 +56,7 @@ class PagingPage {
* Set the Page number
*
* @param int $pageNumber Number of the Page
* @return \FML\Script\Features\PagingPage|static
* @return static
*/
public function setPageNumber($pageNumber) {
$this->number = (int)$pageNumber;

View File

@ -43,7 +43,7 @@ class PlayerProfile extends ScriptFeature {
* Set the login of the opened player
*
* @param string $login Player login
* @return \FML\Script\Features\PlayerProfile|static
* @return static
*/
public function setLogin($login) {
$this->login = $login;
@ -54,7 +54,7 @@ class PlayerProfile extends ScriptFeature {
* Set the Control
*
* @param Control $control Profile Control
* @return \FML\Script\Features\PlayerProfile|static
* @return static
*/
public function setControl(Control $control) {
$control->checkId();
@ -69,7 +69,7 @@ class PlayerProfile extends ScriptFeature {
* Set the label name
*
* @param string $labelName Script Label name
* @return \FML\Script\Features\PlayerProfile|static
* @return static
*/
public function setLabelName($labelName) {
$this->labelName = (string)$labelName;

View File

@ -13,10 +13,10 @@ use FML\Types\ScriptFeatureable;
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
abstract class ScriptFeature {
/**
* Collect the Script Features of the given objects
*
* @param ScriptFeatureable $objects (optional) Various amount of ScriptFeatureable objects
* @return ScriptFeature[]
*/
public static function collect() {
@ -36,7 +36,7 @@ abstract class ScriptFeature {
* Prepare the given Script for rendering by adding the needed Labels, etc.
*
* @param Script $script Script to prepare
* @return \FML\Script\Features\ScriptFeature|static
* @return static
*/
public abstract function prepare(Script $script);
}

View File

@ -52,7 +52,7 @@ class Toggle extends ScriptFeature {
* Set the toggling Control
*
* @param Control $control Toggling Control
* @return \FML\Script\Features\Toggle|static
* @return static
*/
public function setTogglingControl(Control $control) {
$control->checkId();
@ -67,7 +67,7 @@ class Toggle extends ScriptFeature {
* Set the toggled Control
*
* @param Control $control Toggling Control
* @return \FML\Script\Features\Toggle|static
* @return static
*/
public function setToggledControl(Control $control) {
$this->toggledControl = $control->checkId();
@ -78,7 +78,7 @@ class Toggle extends ScriptFeature {
* Set the label name
*
* @param string $labelName Script Label Name
* @return \FML\Script\Features\Toggle|static
* @return static
*/
public function setLabelName($labelName) {
$this->labelName = (string)$labelName;
@ -89,7 +89,7 @@ class Toggle extends ScriptFeature {
* Set to only show
*
* @param bool $onlyShow Whether it should only show the Control but not toggle
* @return \FML\Script\Features\Toggle|static
* @return static
*/
public function setOnlyShow($onlyShow) {
$this->onlyShow = (bool)$onlyShow;
@ -100,7 +100,7 @@ class Toggle extends ScriptFeature {
* Set to only hide
*
* @param bool $onlyHide Whether it should only hide the Control but not toggle
* @return \FML\Script\Features\Toggle|static
* @return static
*/
public function setOnlyHide($onlyHide) {
$this->onlyHide = (bool)$onlyHide;

View File

@ -55,7 +55,7 @@ class Tooltip extends ScriptFeature {
* Set the Hover Control
*
* @param Control $hoverControl Hover Control
* @return \FML\Script\Features\Tooltip|static
* @return static
*/
public function setHoverControl(Control $hoverControl) {
$hoverControl->checkId();
@ -70,7 +70,7 @@ class Tooltip extends ScriptFeature {
* Set the Tooltip Control
*
* @param Control $tooltipControl Tooltip Control
* @return \FML\Script\Features\Tooltip|static
* @return static
*/
public function setTooltipControl(Control $tooltipControl) {
$this->tooltipControl = $tooltipControl->checkId()->setVisible(false);
@ -81,7 +81,7 @@ class Tooltip extends ScriptFeature {
* Set to only show
*
* @param bool $stayOnClick (optional) Whether the Tooltip should stay on click
* @return \FML\Script\Features\Tooltip|static
* @return static
*/
public function setStayOnClick($stayOnClick) {
$this->stayOnClick = (bool)$stayOnClick;
@ -92,7 +92,7 @@ class Tooltip extends ScriptFeature {
* Set to only hide
*
* @param bool $invert (optional) Whether the visibility toggling should be inverted
* @return \FML\Script\Features\Tooltip|static
* @return static
*/
public function setInvert($invert) {
$this->invert = (bool)$invert;
@ -103,7 +103,7 @@ class Tooltip extends ScriptFeature {
* Set text
*
* @param string $text (optional) Text to display if the TooltipControl is a Label
* @return \FML\Script\Features\Tooltip|static
* @return static
*/
public function setText($text) {
$this->text = (string)$text;

View File

@ -82,7 +82,7 @@ class UISound extends ScriptFeature {
* Set the sound to play
*
* @param string $soundName Sound name
* @return \FML\Script\Features\UISound|static
* @return static
*/
public function setSoundName($soundName) {
$this->soundName = (string)$soundName;
@ -93,7 +93,7 @@ class UISound extends ScriptFeature {
* Set the Control
*
* @param Control $control Action Control
* @return \FML\Script\Features\UISound|static
* @return static
*/
public function setControl(Control $control) {
$control->checkId();
@ -108,7 +108,7 @@ class UISound extends ScriptFeature {
* Set the sound variant
*
* @param int $variant Sound variant
* @return \FML\Script\Features\UISound|static
* @return static
*/
public function setVariant($variant) {
$this->variant = (int)$variant;
@ -119,7 +119,7 @@ class UISound extends ScriptFeature {
* Set the volume
*
* @param float $volume Sound volume
* @return \FML\Script\Features\UISound|static
* @return static
*/
public function setVolume($volume) {
$this->volume = (float)$volume;
@ -130,7 +130,7 @@ class UISound extends ScriptFeature {
* Set the label name
*
* @param string $labelName Script Label name
* @return \FML\Script\Features\UISound|static
* @return static
*/
public function setLabelName($labelName) {
$this->labelName = (string)$labelName;

View File

@ -62,7 +62,7 @@ class ValuePickerFeature extends ScriptFeature {
* Set the ValuePicker Label
*
* @param Label $label ValuePicker Label
* @return \FML\Script\Features\ValuePickerFeature|static
* @return static
*/
public function setLabel(Label $label) {
$this->label = $label->checkId()->setScriptEvents(true);
@ -82,7 +82,7 @@ class ValuePickerFeature extends ScriptFeature {
* Set the hidden Entry
*
* @param Entry $entry Hidden Entry
* @return \FML\Script\Features\ValuePickerFeature|static
* @return static
*/
public function setEntry(Entry $entry) {
$this->entry = $entry->checkId();
@ -102,7 +102,7 @@ class ValuePickerFeature extends ScriptFeature {
* Set the possible values
*
* @param array $values Possible values
* @return \FML\Script\Features\ValuePickerFeature|static
* @return static
*/
public function setValues(array $values) {
$this->values = array();
@ -116,7 +116,7 @@ class ValuePickerFeature extends ScriptFeature {
* Set the default value
*
* @param string $default Default value
* @return \FML\Script\Features\ValuePickerFeature|static
* @return static
*/
public function setDefault($default) {
$this->default = (string)$default;

View File

@ -36,7 +36,7 @@ class Script {
*
* @param string $file Include file
* @param string $namespace Include namespace
* @return \FML\Script\Script|static
* @return static
*/
public function setScriptInclude($file, $namespace = null) {
if (is_object($file) && ($file instanceof ScriptInclude)) {
@ -53,7 +53,7 @@ class Script {
*
* @param string $name Constant name
* @param string $value Constant value
* @return \FML\Script\Script|static
* @return static
*/
public function addScriptConstant($name, $value = null) {
if (is_object($name) && ($name instanceof ScriptConstant)) {
@ -72,7 +72,7 @@ class Script {
*
* @param string $name Function name
* @param string $text Function text
* @return \FML\Script\Script|static
* @return static
*/
public function addScriptFunction($name, $text = null) {
if (is_object($name) && ($name instanceof ScriptFunction)) {
@ -91,7 +91,7 @@ class Script {
*
* @param string $name Label name
* @param string $text Script text
* @return \FML\Script\Script|static
* @return static
*/
public function addCustomScriptLabel($name, $text = null) {
if (is_object($name) && ($name instanceof ScriptLabel)) {
@ -109,7 +109,7 @@ class Script {
* @param string $name Label name
* @param string $text Script text
* @param bool $isolated (optional) Whether to isolate the Label Script
* @return \FML\Script\Script|static
* @return static
*/
public function appendGenericScriptLabel($name, $text = null, $isolated = false) {
if (is_object($name) && ($name instanceof ScriptLabel)) {
@ -124,7 +124,7 @@ class Script {
/**
* Remove all generic Script texts
*
* @return \FML\Script\Script|static
* @return static
*/
public function resetGenericScriptLabels() {
$this->genericLabels = array();
@ -135,7 +135,7 @@ class Script {
* Add a Script Feature
*
* @param ScriptFeature $feature Script Feature
* @return \FML\Script\Script|static
* @return static
*/
public function addFeature(ScriptFeature $feature) {
if (!in_array($feature, $this->features, true)) {
@ -148,7 +148,7 @@ class Script {
* Load the given Script Feature
*
* @param ScriptFeature $scriptFeature Script Feature to load
* @return \FML\Script\Script|static
* @return static
*/
public function loadFeature(ScriptFeature $scriptFeature) {
$scriptFeature->prepare($this);
@ -159,7 +159,7 @@ class Script {
* Load the given Script Features
*
* @param ScriptFeature[] $scriptFeatures Script Features to load
* @return \FML\Script\Script|static
* @return static
*/
public function loadFeatures(array $scriptFeatures) {
foreach ($scriptFeatures as $scriptFeature) {

View File

@ -31,7 +31,7 @@ class ScriptConstant {
* Set the name
*
* @param string $name Constant name
* @return \FML\Script\ScriptConstant|static
* @return static
*/
public function setName($name) {
$this->name = (string)$name;
@ -42,7 +42,7 @@ class ScriptConstant {
* Set the value
*
* @param string $value Constant value
* @return \FML\Script\ScriptConstant|static
* @return static
*/
public function setValue($value) {
$this->value = $value;

View File

@ -31,7 +31,7 @@ class ScriptFunction {
* Set the name
*
* @param string $name Function name
* @return \FML\Script\ScriptFunction|static
* @return static
*/
public function setName($name) {
$this->name = (string)$name;
@ -42,7 +42,7 @@ class ScriptFunction {
* Set the text
*
* @param string $text Function text
* @return \FML\Script\ScriptFunction|static
* @return static
*/
public function setText($text) {
$this->text = (string)$text;

View File

@ -37,7 +37,7 @@ class ScriptInclude {
* Set the file
*
* @param string $file Include file
* @return \FML\Script\ScriptInclude|static
* @return static
*/
public function setFile($file) {
$this->file = (string)$file;
@ -48,7 +48,7 @@ class ScriptInclude {
* Set the namespace
*
* @param string $namespace Include namespace
* @return \FML\Script\ScriptInclude|static
* @return static
*/
public function setNamespace($namespace) {
$this->namespace = (string)$namespace;

View File

@ -46,7 +46,7 @@ class ScriptLabel {
* Set the name
*
* @param string $name Label name
* @return \FML\Script\ScriptLabel|static
* @return static
*/
public function setName($name) {
$this->name = (string)$name;
@ -57,7 +57,7 @@ class ScriptLabel {
* Set the text
*
* @param string $text Script text
* @return \FML\Script\ScriptLabel|static
* @return static
*/
public function setText($text) {
$this->text = (string)$text;
@ -68,7 +68,7 @@ class ScriptLabel {
* Set isolation
*
* @param bool $isolated Whether the code should be isolated in an own block
* @return \FML\Script\ScriptLabel|static
* @return static
*/
public function setIsolated($isolated) {
$this->isolated = (bool)$isolated;