Changeset 607

Show
Ignore:
Timestamp:
06/01/07 16:10:22 (5 years ago)
Author:
eitan
Message:

fixed issue with creating basicstroke with proper dash array value for SOLID linestyle (should be null)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • css4swing/css4swing.iws

    r604 r607  
    1919    <list default="true" name="Default" comment=""> 
    2020      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/css4swing.iws" afterPath="$PROJECT_DIR$/css4swing.iws" /> 
     21      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/com/u2d/css4swing/LineStyle.java" afterPath="$PROJECT_DIR$/src/com/u2d/css4swing/LineStyle.java" /> 
    2122    </list> 
    2223  </component> 
     
    350351      <hideEmptyPackages /> 
    351352      <abbreviatePackageNames /> 
    352       <showStructure Favorites="false" PackagesPane="false" Scope="false" ProjectPane="false" /> 
     353      <showStructure ProjectPane="false" PackagesPane="false" Scope="false" Favorites="false" /> 
    353354      <autoscrollToSource /> 
    354355      <autoscrollFromSource /> 
     
    359360    <property name="GoToFile.includeJavaFiles" value="false" /> 
    360361    <property name="GoToClass.toSaveIncludeLibraries" value="false" /> 
     362    <property name="RunManagerConfig.compileBeforeRunning" value="true" /> 
    361363    <property name="RunManagerConfig.showSettingsBeforeRunnig" value="true" /> 
    362     <property name="RunManagerConfig.compileBeforeRunning" value="true" /> 
    363364    <property name="MemberChooser.sorted" value="false" /> 
    364365    <property name="MemberChooser.showClasses" value="true" /> 
     
    424425      </method> 
    425426    </configuration> 
    426     <configuration default="true" type="Applet" factoryName="Applet"> 
    427       <module name="" /> 
    428       <option name="MAIN_CLASS_NAME" /> 
    429       <option name="HTML_FILE_NAME" /> 
    430       <option name="HTML_USED" value="false" /> 
    431       <option name="WIDTH" value="400" /> 
    432       <option name="HEIGHT" value="300" /> 
    433       <option name="POLICY_FILE" value="/opt/idea-5766/bin/appletviewer.policy" /> 
    434       <option name="VM_PARAMETERS" /> 
    435       <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> 
    436       <option name="ALTERNATIVE_JRE_PATH" /> 
     427    <configuration default="true" type="Remote" factoryName="Remote"> 
     428      <option name="USE_SOCKET_TRANSPORT" value="true" /> 
     429      <option name="SERVER_MODE" value="false" /> 
     430      <option name="SHMEM_ADDRESS" value="javadebug" /> 
     431      <option name="HOST" value="localhost" /> 
     432      <option name="PORT" value="5005" /> 
    437433    </configuration> 
    438434    <configuration default="true" type="Application" factoryName="Application" enabled="false" merge="false"> 
     
    449445      </method> 
    450446    </configuration> 
    451     <configuration default="true" type="Remote" factoryName="Remote"> 
    452       <option name="USE_SOCKET_TRANSPORT" value="true" /> 
    453       <option name="SERVER_MODE" value="false" /> 
    454       <option name="SHMEM_ADDRESS" value="javadebug" /> 
    455       <option name="HOST" value="localhost" /> 
    456       <option name="PORT" value="5005" /> 
     447    <configuration default="true" type="Applet" factoryName="Applet"> 
     448      <module name="" /> 
     449      <option name="MAIN_CLASS_NAME" /> 
     450      <option name="HTML_FILE_NAME" /> 
     451      <option name="HTML_USED" value="false" /> 
     452      <option name="WIDTH" value="400" /> 
     453      <option name="HEIGHT" value="300" /> 
     454      <option name="POLICY_FILE" value="/opt/idea-5766/bin/appletviewer.policy" /> 
     455      <option name="VM_PARAMETERS" /> 
     456      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> 
     457      <option name="ALTERNATIVE_JRE_PATH" /> 
    457458    </configuration> 
    458459    <configuration default="false" name="Demo Applet" type="Applet" factoryName="Applet"> 
     
    577578  </component> 
    578579  <component name="ToolWindowManager"> 
    579     <frame x="-4" y="26" width="1288" height="778" extended-state="6" /> 
     580    <frame x="-4" y="26" width="1288" height="778" extended-state="0" /> 
    580581    <editor active="true" /> 
    581582    <layout> 
     
    696697  </component> 
    697698  <component name="editorHistoryManager"> 
    698     <entry file="file://$PROJECT_DIR$/src/com/u2d/css4swing/property/BorderRadiusBottomLeft.java"> 
    699       <provider selected="true" editor-type-id="text-editor"> 
    700         <state line="21" column="1" selection-start="425" selection-end="425" vertical-scroll-proportion="0.5080645"> 
    701           <folding /> 
    702         </state> 
    703       </provider> 
    704     </entry> 
    705     <entry file="file://$PROJECT_DIR$/src/com/u2d/css4swing/property/BorderRadiusBottomRight.java"> 
    706       <provider selected="true" editor-type-id="text-editor"> 
    707         <state line="20" column="4" selection-start="424" selection-end="424" vertical-scroll-proportion="0.48387095"> 
    708           <folding /> 
    709         </state> 
    710       </provider> 
    711     </entry> 
    712699    <entry file="file://$PROJECT_DIR$/src/com/u2d/css4swing/property/BorderRadiusTopRight.java"> 
    713700      <provider selected="true" editor-type-id="text-editor"> 
     
    795782      </provider> 
    796783    </entry> 
     784    <entry file="jar:///usr/lib/j2sdk1.6-sun/src.zip!/java/awt/BasicStroke.java"> 
     785      <provider selected="true" editor-type-id="text-editor"> 
     786        <state line="178" column="30" selection-start="7759" selection-end="7759" vertical-scroll-proportion="0.3564516"> 
     787          <folding /> 
     788        </state> 
     789      </provider> 
     790    </entry> 
     791    <entry file="file://$PROJECT_DIR$/src/com/u2d/css4swing/LineStyle.java"> 
     792      <provider selected="true" editor-type-id="text-editor"> 
     793        <state line="13" column="31" selection-start="287" selection-end="287" vertical-scroll-proportion="0.31451613"> 
     794          <folding /> 
     795        </state> 
     796      </provider> 
     797    </entry> 
     798    <entry file="file://$PROJECT_DIR$/src/com/u2d/css4swing/border/Edge.java"> 
     799      <provider selected="true" editor-type-id="text-editor"> 
     800        <state line="57" column="62" selection-start="1929" selection-end="1929" vertical-scroll-proportion="0.63709676"> 
     801          <folding /> 
     802        </state> 
     803      </provider> 
     804    </entry> 
    797805    <entry file="file://$PROJECT_DIR$/src/com/u2d/css4swing/border/CSSBorder.java"> 
    798806      <provider selected="true" editor-type-id="text-editor"> 
    799         <state line="45" column="19" selection-start="1545" selection-end="1545" vertical-scroll-proportion="0.49586776"> 
    800           <folding /> 
    801         </state> 
    802       </provider> 
    803     </entry> 
    804     <entry file="file://$PROJECT_DIR$/src/com/u2d/css4swing/border/Edge.java"> 
    805       <provider selected="true" editor-type-id="text-editor"> 
    806         <state line="61" column="4" selection-start="2059" selection-end="2059" vertical-scroll-proportion="0.816129"> 
     807        <state line="11" column="13" selection-start="204" selection-end="204" vertical-scroll-proportion="0.24793388"> 
    807808          <folding /> 
    808809        </state> 
  • css4swing/src/com/u2d/css4swing/LineStyle.java

    r601 r607  
    99public enum LineStyle 
    1010{ 
    11    DASHED(new float[] {5f, 5f}), SOLID(new float[] {5000f, 0f}), DOTTED(new float[] {1f, 5f}); 
     11   DASHED(new float[] {5f, 5f}), SOLID(null), DOTTED(new float[] {1f, 5f}); 
    1212    
    1313   private float[] dashArray;