⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 source.c2l2.txt

📁 您的联系人可以拨打此号码发送传真
💻 TXT
字号:
--------------------------------------------
Chapter 2 Lesson 2 - Code Snippet File
--------------------------------------------

Please refer to page <NN> of <NN>.

--------------------------------------------
ApplicationDefinition.xml
--------------------------------------------

Snippet 1:
============================================

Various widgets pertinent to the Tutorial Application Definition
have been added to the ApplicationDefinition.xml.

============================================


Snippet 2:
============================================

     <Container xsi:type="UiItemContainerType">
        <Name>Toolbar</Name>
        <Type>Toolbar</Type>
        <Item xsi:type="WidgetItemType">
          <Function>Widget</Function>
          <Widget>Pan</Widget>
        </Item>
      </Container>

============================================


Snippet 3:
============================================

        <Item xsi:type="WidgetItemType">
          <Function>Widget</Function>
          <Widget>GetPrintablePage</Widget>
        </Item>
        <Item xsi:type="SeparatorItemType">
          <Function>Separator</Function>
        </Item>
        <Item xsi:type="WidgetItemType">
          <Function>Widget</Function>
          <Widget>Measure</Widget>
        </Item>
        <Item xsi:type="WidgetItemType">
          <Function>Widget</Function>
          <Widget>Buffer</Widget>
        </Item>
        <Item xsi:type="SeparatorItemType">
          <Function>Separator</Function>
        </Item>
        <Item xsi:type="FlyoutItemType">
          <Function>Flyout</Function>
          <Label>Zoom</Label>
          <Tooltip>Open the zoom menu</Tooltip>
          <ImageUrl/>
          <ImageClass/>
          <Item xsi:type="WidgetItemType">
            <Function>Widget</Function>
            <Widget>menuPreviousView</Widget>
          </Item>
          <Item xsi:type="WidgetItemType">
            <Function>Widget</Function>
            <Widget>menuNextView</Widget>
          </Item>
          <Item xsi:type="WidgetItemType">
            <Function>Widget</Function>
            <Widget>menuInitialMapScaleAndCenter</Widget>
          </Item>
        </Item>
        <Item xsi:type="SeparatorItemType">
          <Function>Separator</Function>
        </Item>
        <Item xsi:type="WidgetItemType">
          <Function>Widget</Function>
          <Widget>ZoomInRectangle</Widget>
        </Item>
        <Item xsi:type="WidgetItemType">
          <Function>Widget</Function>
          <Widget>ZoomInFixed</Widget>
        </Item>
        <Item xsi:type="WidgetItemType">
          <Function>Widget</Function>
          <Widget>ZoomOutFixed</Widget>
        </Item>
        <Item xsi:type="SeparatorItemType">
          <Function>Separator</Function>
        </Item>
        <Item xsi:type="WidgetItemType">
          <Function>Widget</Function>
          <Widget>Select</Widget>
        </Item>
        <Item xsi:type="WidgetItemType">
          <Function>Widget</Function>
          <Widget>toolbarViewOptions</Widget>
        </Item>
        <Item xsi:type="WidgetItemType">
          <Function>Widget</Function>
          <Widget>toolbarLinkToView</Widget>
        </Item>
        <Item xsi:type="WidgetItemType">
          <Function>Widget</Function>
          <Widget>toolbarSearch</Widget>
        </Item>
        <Item xsi:type="WidgetItemType">
          <Function>Widget</Function>
          <Widget>ActivityIndicator</Widget>
        </Item>

============================================

Snippet 4:
============================================

    <Container xsi:type="UiItemContainerType">
      <Name>Statusbar</Name>
      <Type>Splitterbar</Type>
      <Item xsi:type="WidgetItemType">
        <Function>Widget</Function>
        <Widget>StatusCoords</Widget>
      </Item>
      <Item xsi:type="WidgetItemType">
        <Function>Widget</Function>
        <Widget>StatusSelection</Widget>
      </Item>
      <Item xsi:type="WidgetItemType">
        <Function>Widget</Function>
        <Widget>StatusScale</Widget>
      </Item>
      <Item xsi:type="WidgetItemType">
        <Function>Widget</Function>
        <Widget>StatusViewSize</Widget>
      </Item>
    </Container>

============================================


--------------------------------------------
index.html
--------------------------------------------


Snippet 1:
============================================

    var l = new Jx.Layout($('Toolbar').childNodes[0]);
    l.resize();

============================================

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -