diff --git a/diylc/diylc-core/doc/allclasses-frame.html b/diylc/diylc-core/doc/allclasses-frame.html new file mode 100644 index 00000000..31c25fce --- /dev/null +++ b/diylc/diylc-core/doc/allclasses-frame.html @@ -0,0 +1,225 @@ + + + + + + +All Classes + + + + + + + + + + + +All Classes +
+ + + + + +
AbstractComponent +
+AbstractCurvedComponent +
+AbstractLeadedComponent +
+AbstractMeasure +
+AbstractRadialComponent +
+AbstractSchematicLeadedSymbol +
+AbstractTransparentComponent +
+AllowAllValidator +
+Announcement +
+AnnouncementProvider +
+AutoCreated +
+BadPositionException +
+BomEntry +
+BomMaker +
+BomPolicy +
+CalcUtils +
+Capacitance +
+CapacitanceUnit +
+CloudException +
+CloudListener +
+CloudPresenter +
+CommentEntity +
+CommentTree +
+ComparatorFactory +
+ComponentDescriptor +
+ComponentProcessor +
+ComponentState +
+ComponentType +
+Constants +
+CountryDetails +
+CreationMethod +
+Current +
+CurrentUnit +
+DashboardEntity +
+Display +
+DrawingManager +
+DrawOption +
+EditableProperty +
+EventType +
+ExpansionMode +
+GridType +
+HorizontalAlignment +
+IAnnouncementService +
+IComponentFiler +
+IconLoader +
+IDIYComponent +
+IDrawingObserver +
+IKeyProcessor +
+IMouseProcessor +
+Inductance +
+InductanceUnit +
+InstantiationManager +
+IOldFileParser +
+IPlugIn +
+IPlugInPort +
+IPropertyValidator +
+ISelectionProcessor +
+IServiceAPI +
+ITask +
+ITemplateProcessor +
+ITemplateProcessor.TemplateAlreadyExistsException +
+IView +
+LabelPosition +
+MemoryCleaner +
+NotConnectedException +
+NotExistsException +
+NotLoggedInException +
+ObjectCache +
+Orientation +
+OrientationHV +
+PagingProvider +
+Pair +
+PCBLayer +
+PCBLayerFiler +
+PointConverter +
+PositiveMeasureValidator +
+Power +
+PowerUnit +
+Presenter +
+Project +
+Project.SpacingValidator +
+ProjectEntity +
+ProjectFileManager +
+PropertyWrapper +
+Resistance +
+ResistanceUnit +
+ResistorColorCode +
+Size +
+SizeUnit +
+Template +
+Theme +
+Unit +
+UserEntity +
+ValidationException +
+VerticalAlignment +
+VisibilityPolicy +
+Voltage +
+VoltageUnit +
+
+ + + diff --git a/diylc/diylc-core/doc/allclasses-noframe.html b/diylc/diylc-core/doc/allclasses-noframe.html new file mode 100644 index 00000000..5ba9f7c8 --- /dev/null +++ b/diylc/diylc-core/doc/allclasses-noframe.html @@ -0,0 +1,225 @@ + + + + + + +All Classes + + + + + + + + + + + +All Classes +
+ + + + + +
AbstractComponent +
+AbstractCurvedComponent +
+AbstractLeadedComponent +
+AbstractMeasure +
+AbstractRadialComponent +
+AbstractSchematicLeadedSymbol +
+AbstractTransparentComponent +
+AllowAllValidator +
+Announcement +
+AnnouncementProvider +
+AutoCreated +
+BadPositionException +
+BomEntry +
+BomMaker +
+BomPolicy +
+CalcUtils +
+Capacitance +
+CapacitanceUnit +
+CloudException +
+CloudListener +
+CloudPresenter +
+CommentEntity +
+CommentTree +
+ComparatorFactory +
+ComponentDescriptor +
+ComponentProcessor +
+ComponentState +
+ComponentType +
+Constants +
+CountryDetails +
+CreationMethod +
+Current +
+CurrentUnit +
+DashboardEntity +
+Display +
+DrawingManager +
+DrawOption +
+EditableProperty +
+EventType +
+ExpansionMode +
+GridType +
+HorizontalAlignment +
+IAnnouncementService +
+IComponentFiler +
+IconLoader +
+IDIYComponent +
+IDrawingObserver +
+IKeyProcessor +
+IMouseProcessor +
+Inductance +
+InductanceUnit +
+InstantiationManager +
+IOldFileParser +
+IPlugIn +
+IPlugInPort +
+IPropertyValidator +
+ISelectionProcessor +
+IServiceAPI +
+ITask +
+ITemplateProcessor +
+ITemplateProcessor.TemplateAlreadyExistsException +
+IView +
+LabelPosition +
+MemoryCleaner +
+NotConnectedException +
+NotExistsException +
+NotLoggedInException +
+ObjectCache +
+Orientation +
+OrientationHV +
+PagingProvider +
+Pair +
+PCBLayer +
+PCBLayerFiler +
+PointConverter +
+PositiveMeasureValidator +
+Power +
+PowerUnit +
+Presenter +
+Project +
+Project.SpacingValidator +
+ProjectEntity +
+ProjectFileManager +
+PropertyWrapper +
+Resistance +
+ResistanceUnit +
+ResistorColorCode +
+Size +
+SizeUnit +
+Template +
+Theme +
+Unit +
+UserEntity +
+ValidationException +
+VerticalAlignment +
+VisibilityPolicy +
+Voltage +
+VoltageUnit +
+
+ + + diff --git a/diylc/diylc-core/doc/constant-values.html b/diylc/diylc-core/doc/constant-values.html new file mode 100644 index 00000000..4923b6b1 --- /dev/null +++ b/diylc/diylc-core/doc/constant-values.html @@ -0,0 +1,564 @@ + + + + + + +Constant Field Values + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Constant Field Values

+
+
+Contents + + + + + + +
+org.diylc.*
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.diylc.common.IKeyProcessor
+public static final intVK_DOWN40
+public static final intVK_LEFT37
+public static final intVK_RIGHT39
+public static final intVK_UP38
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.diylc.common.IPlugInPort
+public static final java.lang.StringABNORMAL_EXIT_KEY"abnormalExit"
+public static final java.lang.StringANTI_ALIASING_KEY"antiAliasing"
+public static final java.lang.StringAUTO_EDIT_KEY"autoEdit"
+public static final java.lang.StringAUTO_PADS_KEY"autoCreatePads"
+public static final intBUTTON11
+public static final intBUTTON22
+public static final intBUTTON33
+public static final java.lang.StringCONTINUOUS_CREATION_KEY"continuousCreation"
+public static final intDND_TOGGLE_SNAP1073741824
+public static final intDND_TOGGLE_STICKY1
+public static final java.lang.StringEXPORT_GRID_KEY"exportGrid"
+public static final java.lang.StringHI_QUALITY_RENDER_KEY"hiQualityRender"
+public static final java.lang.StringMETRIC_KEY"metric"
+public static final intNOBUTTON0
+public static final java.lang.StringOUTLINE_KEY"outline"
+public static final java.lang.StringRECENT_COMPONENTS_KEY"recentComponents"
+public static final java.lang.StringSNAP_TO_GRID_KEY"snapToGrid"
+public static final java.lang.StringSTICKY_POINTS_KEY"stickyPoints"
+public static final java.lang.StringTHEME_KEY"theme"
+public static final java.lang.StringWHEEL_ZOOM_KEY"wheelZoom"
+ +

+ +

+ + + + + + + + + + + + +
org.diylc.common.ITemplateProcessor
+public static final java.lang.StringTEMPLATES_KEY"templates"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.diylc.core.IDIYComponent<T>
+public static final intBOARD2
+public static final intCHASSIS1
+public static final intCOMPONENT4
+public static final intTEXT5
+public static final intTRACE3
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.diylc.core.IView
+public static final intCANCEL_OPTION2
+public static final java.lang.StringCHECK_BOX_MENU_ITEM"org.diylc.checkBoxMenuItem"
+public static final intDEFAULT_OPTION-1
+public static final intERROR_MESSAGE0
+public static final intINFORMATION_MESSAGE1
+public static final intNO_OPTION1
+public static final intOK_CANCEL_OPTION2
+public static final intOK_OPTION0
+public static final intPLAIN_MESSAGE-1
+public static final intQUESTION_MESSAGE3
+public static final java.lang.StringRADIO_BUTTON_GROUP_KEY"org.diylc.radioButtonGroup"
+public static final intWARNING_MESSAGE2
+public static final intYES_NO_CANCEL_OPTION1
+public static final intYES_NO_OPTION0
+public static final intYES_OPTION0
+ +

+ +

+ + + + + + + + + + + + +
org.diylc.plugins.cloud.model.IServiceAPI
+public static final java.lang.StringURL_KEY"serviceUrl"
+ +

+ +

+ + + + + + + + + + + + +
org.diylc.presenter.DrawingManager
+public static final java.lang.StringZOOM_KEY"zoom"
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.diylc.presenter.Presenter
+public static final java.lang.StringDEFAULTS_KEY_PREFIX"default."
+public static final intICON_SIZE32
+ +

+ +

+ + + + + + + + + + + + +
org.diylc.utils.Constants
+public static final intPIXELS_PER_INCH200
+ +

+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/deprecated-list.html b/diylc/diylc-core/doc/deprecated-list.html new file mode 100644 index 00000000..837a4f1e --- /dev/null +++ b/diylc/diylc-core/doc/deprecated-list.html @@ -0,0 +1,146 @@ + + + + + + +Deprecated List + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Deprecated API

+
+
+Contents + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/help-doc.html b/diylc/diylc-core/doc/help-doc.html new file mode 100644 index 00000000..d18b14d2 --- /dev/null +++ b/diylc/diylc-core/doc/help-doc.html @@ -0,0 +1,223 @@ + + + + + + +API Help + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+How This API Document Is Organized

+
+This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

+Overview

+
+ +

+The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

+

+Package

+
+ +

+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

+
+

+Class/Interface

+
+ +

+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+ +

+Annotation Type

+
+ +

+Each annotation type has its own separate page with the following sections:

+
+ +

+Enum

+
+ +

+Each enum has its own separate page with the following sections:

+
+

+Use

+
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+

+Tree (Class Hierarchy)

+
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object. +
+

+Deprecated API

+
+The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+

+Index

+
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+

+Prev/Next

+These links take you to the next or previous class, interface, package, or related page.

+Frames/No Frames

+These links show and hide the HTML frames. All pages are available with or without frames. +

+

+Serialized Form

+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. +

+

+Constant Field Values

+The Constant Field Values page lists the static final fields and their values. +

+ + +This help file applies to API documentation generated using the standard doclet. + +
+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-1.html b/diylc/diylc-core/doc/index-files/index-1.html new file mode 100644 index 00000000..7c97f962 --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-1.html @@ -0,0 +1,199 @@ + + + + + + +A-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+A

+
+
ABNORMAL_EXIT_KEY - +Static variable in interface org.diylc.common.IPlugInPort +
  +
AbstractComponent<T> - Class in org.diylc.components
Abstract implementation of IDIYComponent that contains component name and toString.
AbstractComponent() - +Constructor for class org.diylc.components.AbstractComponent +
  +
AbstractCurvedComponent<T> - Class in org.diylc.components
 
AbstractCurvedComponent() - +Constructor for class org.diylc.components.AbstractCurvedComponent +
  +
AbstractLeadedComponent<T> - Class in org.diylc.components
Base class for all leaded components such as resistors or capacitors.
AbstractMeasure<T extends java.lang.Enum<? extends Unit>> - Class in org.diylc.core.measures
Immutable measure class.
AbstractMeasure(Double, T) - +Constructor for class org.diylc.core.measures.AbstractMeasure +
  +
AbstractRadialComponent<T> - Class in org.diylc.components
Base class for radial components.
AbstractRadialComponent() - +Constructor for class org.diylc.components.AbstractRadialComponent +
  +
AbstractSchematicLeadedSymbol<T> - Class in org.diylc.components
 
AbstractSchematicLeadedSymbol() - +Constructor for class org.diylc.components.AbstractSchematicLeadedSymbol +
  +
AbstractTransparentComponent<T> - Class in org.diylc.components
 
AbstractTransparentComponent() - +Constructor for class org.diylc.components.AbstractTransparentComponent +
  +
AllowAllValidator - Class in org.diylc.core
Validator that allows all values.
AllowAllValidator() - +Constructor for class org.diylc.core.AllowAllValidator +
  +
allowFileAction() - +Method in interface org.diylc.common.IPlugInPort +
Shows a user dialog if there are changes to confirm that it's safe to proceed. +
allowFileAction() - +Method in class org.diylc.presenter.Presenter +
  +
Announcement - Class in org.diylc.announcements
 
Announcement() - +Constructor for class org.diylc.announcements.Announcement +
  +
AnnouncementProvider - Class in org.diylc.announcements
 
AnnouncementProvider() - +Constructor for class org.diylc.announcements.AnnouncementProvider +
  +
ANTI_ALIASING_KEY - +Static variable in interface org.diylc.common.IPlugInPort +
  +
applyPropertiesToProject(List<PropertyWrapper>) - +Method in interface org.diylc.common.IPlugInPort +
Applies specified properties to the current project. +
applyPropertiesToProject(List<PropertyWrapper>) - +Method in class org.diylc.presenter.Presenter +
  +
applyTemplateToSelection(Template) - +Method in interface org.diylc.common.ITemplateProcessor +
  +
applyTemplateToSelection(Template) - +Method in class org.diylc.presenter.Presenter +
  +
AUTO_EDIT_KEY - +Static variable in interface org.diylc.common.IPlugInPort +
  +
AUTO_PADS_KEY - +Static variable in interface org.diylc.common.IPlugInPort +
  +
AutoCreated - Annotation Type in org.diylc.core.annotations
Annotation for IDIYComponent implementation.
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-10.html b/diylc/diylc-core/doc/index-files/index-10.html new file mode 100644 index 00000000..cdde4631 --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-10.html @@ -0,0 +1,148 @@ + + + + + + +K-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+K

+
+
keyPressed(int, boolean, boolean, boolean) - +Method in interface org.diylc.common.IKeyProcessor +
Notifies the presenter that a key hes been pressed on the canvas. +
keyPressed(int, boolean, boolean, boolean) - +Method in class org.diylc.presenter.Presenter +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-11.html b/diylc/diylc-core/doc/index-files/index-11.html new file mode 100644 index 00000000..a120d6c5 --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-11.html @@ -0,0 +1,196 @@ + + + + + + +L-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+L

+
+
LABEL_COLOR - +Static variable in class org.diylc.components.AbstractComponent +
  +
LABEL_COLOR_SELECTED - +Static variable in class org.diylc.components.AbstractComponent +
  +
LABEL_FONT - +Static variable in class org.diylc.components.AbstractComponent +
  +
LabelPosition - Enum in org.diylc.common
 
LEAD_COLOR - +Static variable in class org.diylc.components.AbstractLeadedComponent +
  +
LEAD_COLOR - +Static variable in class org.diylc.components.AbstractSchematicLeadedSymbol +
  +
LEAD_COLOR_ICON - +Static variable in class org.diylc.components.AbstractLeadedComponent +
  +
LEAD_THICKNESS - +Static variable in class org.diylc.components.AbstractLeadedComponent +
  +
loadComponentShapeFromTemplate(IDIYComponent<?>, Template) - +Method in class org.diylc.presenter.InstantiationManager +
Uses stored control points from the template to shape component. +
loadProject(Project, boolean) - +Method in interface org.diylc.common.IPlugInPort +
Loads specified Project. +
loadProject(Project, boolean) - +Method in class org.diylc.presenter.Presenter +
  +
loadProjectFromFile(String) - +Method in interface org.diylc.common.IPlugInPort +
Loads a project from the specified file. +
loadProjectFromFile(String) - +Method in class org.diylc.presenter.Presenter +
  +
loggedIn() - +Method in interface org.diylc.plugins.cloud.presenter.CloudListener +
  +
loggedOut() - +Method in interface org.diylc.plugins.cloud.presenter.CloudListener +
  +
login(String, String, String) - +Method in interface org.diylc.plugins.cloud.model.IServiceAPI +
Tries to login with the provided credentials and machineId. +
logIn(String, String) - +Method in class org.diylc.plugins.cloud.presenter.CloudPresenter +
  +
loginWithToken(String, String, String) - +Method in interface org.diylc.plugins.cloud.model.IServiceAPI +
Tries to authenticate with the token that was previously created by calling login() function. +
logOut() - +Method in class org.diylc.plugins.cloud.presenter.CloudPresenter +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-12.html b/diylc/diylc-core/doc/index-files/index-12.html new file mode 100644 index 00000000..ce7b4e95 --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-12.html @@ -0,0 +1,175 @@ + + + + + + +M-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+M

+
+
marshal(Object, HierarchicalStreamWriter, MarshallingContext) - +Method in class org.diylc.presenter.PointConverter +
  +
MAX_ALPHA - +Static variable in class org.diylc.components.AbstractTransparentComponent +
  +
MAX_RECENT_COMPONENTS - +Static variable in class org.diylc.presenter.InstantiationManager +
  +
MemoryCleaner - Class in org.diylc.utils
 
MemoryCleaner() - +Constructor for class org.diylc.utils.MemoryCleaner +
  +
METAL_COLOR - +Static variable in class org.diylc.components.AbstractComponent +
  +
METRIC_KEY - +Static variable in interface org.diylc.common.IPlugInPort +
  +
mouseClicked(Point, int, boolean, boolean, boolean, int) - +Method in interface org.diylc.common.IMouseProcessor +
Notifies the presenter that mouse is clicked. +
mouseClicked(Point, int, boolean, boolean, boolean, int) - +Method in class org.diylc.presenter.Presenter +
  +
mouseMoved(Point, boolean, boolean, boolean) - +Method in interface org.diylc.common.IMouseProcessor +
Notifies the presenter that mouse is moved. +
mouseMoved(Point, boolean, boolean, boolean) - +Method in class org.diylc.presenter.Presenter +
  +
MULTI_VALUE_COLOR - +Static variable in class org.diylc.utils.Constants +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-13.html b/diylc/diylc-core/doc/index-files/index-13.html new file mode 100644 index 00000000..f73b0157 --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-13.html @@ -0,0 +1,160 @@ + + + + + + +N-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+N

+
+
NO_OPTION - +Static variable in interface org.diylc.core.IView +
  +
NOBUTTON - +Static variable in interface org.diylc.common.IPlugInPort +
Mouse button constants. +
NotConnectedException - Exception in org.diylc.plugins.cloud.presenter
 
NotConnectedException() - +Constructor for exception org.diylc.plugins.cloud.presenter.NotConnectedException +
  +
NotExistsException - Exception in org.diylc.plugins.cloud.presenter
 
NotExistsException(String) - +Constructor for exception org.diylc.plugins.cloud.presenter.NotExistsException +
  +
notifyFileChange() - +Method in class org.diylc.presenter.ProjectFileManager +
  +
NotLoggedInException - Exception in org.diylc.plugins.cloud.presenter
 
NotLoggedInException() - +Constructor for exception org.diylc.plugins.cloud.presenter.NotLoggedInException +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-14.html b/diylc/diylc-core/doc/index-files/index-14.html new file mode 100644 index 00000000..2f34e085 --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-14.html @@ -0,0 +1,151 @@ + + + + + + +O-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+O

+
+
ObjectCache - Class in org.diylc.common
Repository for object that may be reused, such as Stroke or AlphaComposite.
OK_CANCEL_OPTION - +Static variable in interface org.diylc.core.IView +
  +
OK_OPTION - +Static variable in interface org.diylc.core.IView +
  +
org.diylc.announcements - package org.diylc.announcements
 
org.diylc.common - package org.diylc.common
 
org.diylc.components - package org.diylc.components
 
org.diylc.core - package org.diylc.core
 
org.diylc.core.annotations - package org.diylc.core.annotations
 
org.diylc.core.measures - package org.diylc.core.measures
 
org.diylc.images - package org.diylc.images
 
org.diylc.parsing - package org.diylc.parsing
 
org.diylc.plugins.cloud.model - package org.diylc.plugins.cloud.model
 
org.diylc.plugins.cloud.presenter - package org.diylc.plugins.cloud.presenter
 
org.diylc.presenter - package org.diylc.presenter
 
org.diylc.utils - package org.diylc.utils
 
Orientation - Enum in org.diylc.common
 
OrientationHV - Enum in org.diylc.common
 
OUTLINE_KEY - +Static variable in interface org.diylc.common.IPlugInPort +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-15.html b/diylc/diylc-core/doc/index-files/index-15.html new file mode 100644 index 00000000..9ff40493 --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-15.html @@ -0,0 +1,230 @@ + + + + + + +P-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+P

+
+
PagingProvider - Class in org.diylc.plugins.cloud.presenter
 
PagingProvider(CloudPresenter) - +Constructor for class org.diylc.plugins.cloud.presenter.PagingProvider +
  +
Pair<A,B> - Class in org.diylc.utils
 
Pair(A, B) - +Constructor for class org.diylc.utils.Pair +
  +
parseCapacitance(String) - +Static method in class org.diylc.core.measures.Capacitance +
  +
parseCapacitance(String) - +Static method in class org.diylc.core.measures.Inductance +
  +
parseCapacitance(String) - +Static method in class org.diylc.core.measures.Power +
  +
parseCapacitance(String) - +Static method in class org.diylc.core.measures.Voltage +
  +
parseFile(Element, List<String>) - +Method in interface org.diylc.parsing.IOldFileParser +
  +
parseResistance(String) - +Static method in class org.diylc.core.measures.Resistance +
  +
parseSize(String) - +Static method in class org.diylc.core.measures.Size +
  +
pasteComponents(List<IDIYComponent<?>>) - +Method in interface org.diylc.common.IPlugInPort +
Adds a list of components to the project. +
pasteComponents(List<IDIYComponent<?>>, Point, boolean, Size) - +Method in class org.diylc.presenter.InstantiationManager +
  +
pasteComponents(List<IDIYComponent<?>>) - +Method in class org.diylc.presenter.Presenter +
  +
PCBLayer - Enum in org.diylc.common
 
PCBLayerFiler - Class in org.diylc.presenter
 
PCBLayerFiler(PCBLayer) - +Constructor for class org.diylc.presenter.PCBLayerFiler +
  +
PIN_SPACING - +Static variable in class org.diylc.components.AbstractRadialComponent +
  +
PIXEL_SIZE - +Static variable in class org.diylc.utils.Constants +
  +
PIXELS_PER_INCH - +Static variable in class org.diylc.utils.Constants +
  +
PLAIN_MESSAGE - +Static variable in interface org.diylc.core.IView +
  +
PointConverter - Class in org.diylc.presenter
Serializes Point objects by converting coordinates from pixels to inches, thus avoiding + the resolution to affect point placement.
PointConverter() - +Constructor for class org.diylc.presenter.PointConverter +
  +
PositiveMeasureValidator - Class in org.diylc.core.annotations
 
PositiveMeasureValidator() - +Constructor for class org.diylc.core.annotations.PositiveMeasureValidator +
  +
postComment(String, String, String, Integer, String) - +Method in interface org.diylc.plugins.cloud.model.IServiceAPI +
Posts a comment to the specified project. +
postComment(int, String) - +Method in class org.diylc.plugins.cloud.presenter.CloudPresenter +
  +
Power - Class in org.diylc.core.measures
 
Power(Double, PowerUnit) - +Constructor for class org.diylc.core.measures.Power +
  +
PowerUnit - Enum in org.diylc.core.measures
 
Presenter - Class in org.diylc.presenter
The main presenter class, contains core app logic and drawing routines.
Presenter(IView) - +Constructor for class org.diylc.presenter.Presenter +
  +
Project - Class in org.diylc.core
Entity class that defines a project.
Project() - +Constructor for class org.diylc.core.Project +
  +
Project.SpacingValidator - Class in org.diylc.core
 
Project.SpacingValidator() - +Constructor for class org.diylc.core.Project.SpacingValidator +
  +
ProjectEntity - Class in org.diylc.plugins.cloud.model
 
ProjectEntity() - +Constructor for class org.diylc.plugins.cloud.model.ProjectEntity +
  +
ProjectFileManager - Class in org.diylc.presenter
 
ProjectFileManager(MessageDispatcher<EventType>) - +Constructor for class org.diylc.presenter.ProjectFileManager +
  +
promptFileSave() - +Method in interface org.diylc.core.IView +
  +
PropertyWrapper - Class in org.diylc.common
Entity class for editable properties extracted from component objects.
PropertyWrapper(String, Class<?>, String, String, boolean, IPropertyValidator) - +Constructor for class org.diylc.common.PropertyWrapper +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-16.html b/diylc/diylc-core/doc/index-files/index-16.html new file mode 100644 index 00000000..a5b54af8 --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-16.html @@ -0,0 +1,145 @@ + + + + + + +Q-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+Q

+
+
QUESTION_MESSAGE - +Static variable in interface org.diylc.core.IView +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-17.html b/diylc/diylc-core/doc/index-files/index-17.html new file mode 100644 index 00000000..4a09dff5 --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-17.html @@ -0,0 +1,178 @@ + + + + + + +R-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+R

+
+
RADIO_BUTTON_GROUP_KEY - +Static variable in interface org.diylc.core.IView +
  +
readFrom(Object) - +Method in class org.diylc.common.PropertyWrapper +
  +
RECENT_COMPONENTS_KEY - +Static variable in interface org.diylc.common.IPlugInPort +
  +
refresh() - +Method in interface org.diylc.common.IPlugInPort +
Causes the display to refresh. +
refresh() - +Method in class org.diylc.presenter.Presenter +
  +
renumberSelectedComponents(boolean) - +Method in interface org.diylc.common.IPlugInPort +
Renumbers all the selected components. +
renumberSelectedComponents(boolean) - +Method in class org.diylc.presenter.Presenter +
  +
requestMoreData() - +Method in class org.diylc.plugins.cloud.presenter.PagingProvider +
  +
Resistance - Class in org.diylc.core.measures
 
Resistance(Double, ResistanceUnit) - +Constructor for class org.diylc.core.measures.Resistance +
  +
ResistanceUnit - Enum in org.diylc.core.measures
 
ResistorColorCode - Enum in org.diylc.common
 
rotateSelection(int) - +Method in interface org.diylc.common.ISelectionProcessor +
Rotates selection for 90 degrees. +
rotateSelection(int) - +Method in class org.diylc.presenter.Presenter +
  +
roundToGrid(int, Size) - +Static method in class org.diylc.presenter.CalcUtils +
Rounds the number to the closest grid line. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-18.html b/diylc/diylc-core/doc/index-files/index-18.html new file mode 100644 index 00000000..3b39aa97 --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-18.html @@ -0,0 +1,439 @@ + + + + + + +S-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+S

+
+
saveProjectToFile(String, boolean) - +Method in interface org.diylc.common.IPlugInPort +
Saves the current project into the specified file. +
saveProjectToFile(String, boolean) - +Method in class org.diylc.presenter.Presenter +
  +
saveSelectedComponentAsTemplate(String) - +Method in interface org.diylc.common.ITemplateProcessor +
  +
saveSelectedComponentAsTemplate(String) - +Method in class org.diylc.presenter.Presenter +
  +
search(String, String, Integer, Integer, String) - +Method in interface org.diylc.plugins.cloud.model.IServiceAPI +
Searches for projects that meet the specified search criteria. +
search(String, String, String, int, int) - +Method in class org.diylc.plugins.cloud.presenter.CloudPresenter +
  +
selectAll(int) - +Method in interface org.diylc.common.ISelectionProcessor +
Selects all components in the project. +
selectAll(int) - +Method in class org.diylc.presenter.Presenter +
  +
SELECTED_CONTROL_POINT_COLOR - +Static variable in class org.diylc.presenter.DrawingManager +
  +
SELECTION_COLOR - +Static variable in class org.diylc.components.AbstractComponent +
  +
sendSelectionToBack() - +Method in interface org.diylc.common.IPlugInPort +
Sends each of the selected components one step back. +
sendSelectionToBack() - +Method in class org.diylc.presenter.Presenter +
  +
serializeProjectToFile(Project, String, boolean) - +Method in class org.diylc.presenter.ProjectFileManager +
  +
setAlpha(Byte) - +Method in class org.diylc.components.AbstractTransparentComponent +
  +
setAuthor(String) - +Method in class org.diylc.core.Project +
  +
setBio(String) - +Method in class org.diylc.plugins.cloud.model.UserEntity +
  +
setBodyColor(Color) - +Method in class org.diylc.components.AbstractLeadedComponent +
  +
setBorderColor(Color) - +Method in class org.diylc.components.AbstractLeadedComponent +
  +
setCategory(String) - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
setChanged(boolean) - +Method in class org.diylc.common.PropertyWrapper +
  +
setColor(Color) - +Method in class org.diylc.components.AbstractCurvedComponent +
  +
setComment(String) - +Method in class org.diylc.plugins.cloud.model.CommentEntity +
  +
setCommentCount(int) - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
setComponentTypeSlot(ComponentType, Template, Project) - +Method in class org.diylc.presenter.InstantiationManager +
  +
setControlPoint(Point, int) - +Method in class org.diylc.components.AbstractCurvedComponent +
  +
setControlPoint(Point, int) - +Method in class org.diylc.components.AbstractLeadedComponent +
  +
setControlPoint(Point, int) - +Method in interface org.diylc.core.IDIYComponent +
Updates the control point at the specified index. +
setDate(String) - +Method in class org.diylc.announcements.Announcement +
  +
setDescription(String) - +Method in class org.diylc.core.Project +
  +
setDescription(String) - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
setDisplay(Display) - +Method in class org.diylc.components.AbstractLeadedComponent +
  +
setDownloadCount(int) - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
setDownloadUrl(String) - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
setEmail(String) - +Method in class org.diylc.plugins.cloud.model.UserEntity +
  +
setFileVersion(VersionNumber) - +Method in class org.diylc.core.Project +
  +
setFlipStanding(boolean) - +Method in class org.diylc.components.AbstractLeadedComponent +
  +
setGridSpacing(Size) - +Method in class org.diylc.core.Project +
  +
setHeight(Size) - +Method in class org.diylc.core.Project +
  +
setId(int) - +Method in class org.diylc.plugins.cloud.model.CommentEntity +
  +
setId(int) - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
setLabelColor(Color) - +Method in class org.diylc.components.AbstractLeadedComponent +
  +
setLabelPosition(LabelPosition) - +Method in class org.diylc.components.AbstractSchematicLeadedSymbol +
  +
setLayerLocked(int, boolean) - +Method in interface org.diylc.common.IPlugInPort +
Locks or unlocks the specified layer. +
setLayerLocked(int, boolean) - +Method in class org.diylc.presenter.Presenter +
  +
setLeadColor(Color) - +Method in class org.diylc.components.AbstractLeadedComponent +
  +
setLength(Size) - +Method in class org.diylc.components.AbstractLeadedComponent +
  +
setMetric(boolean) - +Method in interface org.diylc.common.IPlugInPort +
Changes default size notation, true for metric, false for imperial. +
setMetric(boolean) - +Method in class org.diylc.presenter.Presenter +
  +
setName(String) - +Method in class org.diylc.components.AbstractComponent +
  +
setName(String) - +Method in interface org.diylc.core.IDIYComponent +
Updates component instance name. +
setName(String) - +Method in class org.diylc.core.Template +
  +
setName(String) - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
setName(String) - +Method in class org.diylc.utils.BomEntry +
  +
setNewComponentTypeSlot(ComponentType, Template) - +Method in interface org.diylc.common.IPlugInPort +
Sets the new component slot. +
setNewComponentTypeSlot(ComponentType, Template) - +Method in class org.diylc.presenter.Presenter +
  +
setNotes(String) - +Method in class org.diylc.utils.BomEntry +
  +
setOwner(String) - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
setParentId(int) - +Method in class org.diylc.plugins.cloud.model.CommentEntity +
  +
setPinSpacing(Size) - +Method in class org.diylc.components.AbstractRadialComponent +
  +
setPointCount(AbstractCurvedComponent.PointCount) - +Method in class org.diylc.components.AbstractCurvedComponent +
  +
setPoints(List<Point>) - +Method in class org.diylc.core.Template +
  +
setPostedAt(String) - +Method in class org.diylc.plugins.cloud.model.CommentEntity +
  +
setProjectDefaultPropertyValue(String, Object) - +Method in interface org.diylc.common.IPlugInPort +
Sets default value for the specified property name for projects. +
setProjectDefaultPropertyValue(String, Object) - +Method in class org.diylc.presenter.Presenter +
  +
setQuantity(Integer) - +Method in class org.diylc.utils.BomEntry +
  +
setSelectedTheme(Theme) - +Method in interface org.diylc.common.IPlugInPort +
Changes the current theme. +
setSelectedTheme(Theme) - +Method in class org.diylc.presenter.Presenter +
  +
setSelectionDefaultPropertyValue(String, Object) - +Method in interface org.diylc.common.IPlugInPort +
Sets default value for the specified property name for currently selected component types. +
setSelectionDefaultPropertyValue(String, Object) - +Method in class org.diylc.presenter.Presenter +
  +
setText(String) - +Method in class org.diylc.announcements.Announcement +
  +
setTheme(Theme) - +Method in class org.diylc.presenter.DrawingManager +
  +
setThumbnailUrl(String) - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
setTitle(String) - +Method in class org.diylc.announcements.Announcement +
  +
setTitle(String) - +Method in class org.diylc.core.Project +
  +
setUnique(boolean) - +Method in class org.diylc.common.PropertyWrapper +
  +
setUpdated(String) - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
setUsername(String) - +Method in class org.diylc.plugins.cloud.model.CommentEntity +
  +
setUsername(String) - +Method in class org.diylc.plugins.cloud.model.UserEntity +
  +
setValue(Object) - +Method in class org.diylc.common.PropertyWrapper +
  +
setValue(T) - +Method in interface org.diylc.core.IDIYComponent +
Updates component value. +
setValue(String) - +Method in class org.diylc.utils.BomEntry +
  +
setValues(Map<String, Object>) - +Method in class org.diylc.core.Template +
  +
setViewCount(int) - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
setWebsite(String) - +Method in class org.diylc.plugins.cloud.model.UserEntity +
  +
setWidth(Size) - +Method in class org.diylc.components.AbstractLeadedComponent +
  +
setWidth(Size) - +Method in class org.diylc.core.Project +
  +
setZoomLevel(double) - +Method in interface org.diylc.common.IPlugInPort +
Changes current zoom level where zoomLevel = 1.0d means 100% +
setZoomLevel(double) - +Method in class org.diylc.presenter.DrawingManager +
  +
setZoomLevel(double) - +Method in class org.diylc.presenter.Presenter +
  +
showConfirmDialog(String, String, int, int) - +Method in interface org.diylc.core.IView +
  +
showMessage(String, String, int) - +Method in interface org.diylc.core.IView +
  +
Size - Class in org.diylc.core.measures
 
Size(Double, SizeUnit) - +Constructor for class org.diylc.core.measures.Size +
  +
SizeUnit - Enum in org.diylc.core.measures
 
SNAP_TO_GRID_KEY - +Static variable in interface org.diylc.common.IPlugInPort +
  +
snapPointToGrid(Point, Size) - +Static method in class org.diylc.presenter.CalcUtils +
  +
startNewFile() - +Method in class org.diylc.presenter.ProjectFileManager +
  +
startSession(String, String, String) - +Method in class org.diylc.plugins.cloud.presenter.PagingProvider +
  +
startTracking() - +Method in interface org.diylc.core.IDrawingObserver +
  +
STICKY_POINTS_KEY - +Static variable in interface org.diylc.common.IPlugInPort +
  +
stopTracking() - +Method in interface org.diylc.core.IDrawingObserver +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-19.html b/diylc/diylc-core/doc/index-files/index-19.html new file mode 100644 index 00000000..08deadbc --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-19.html @@ -0,0 +1,244 @@ + + + + + + +T-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+T

+
+
Template - Class in org.diylc.core
 
Template(String, Map<String, Object>, List<Point>) - +Constructor for class org.diylc.core.Template +
  +
TEMPLATES_KEY - +Static variable in interface org.diylc.common.ITemplateProcessor +
  +
testComponent(IDIYComponent<?>) - +Method in interface org.diylc.common.IComponentFiler +
  +
testComponent(IDIYComponent<?>) - +Method in class org.diylc.presenter.PCBLayerFiler +
  +
TEXT - +Static variable in interface org.diylc.core.IDIYComponent +
  +
Theme - Class in org.diylc.core
 
Theme(String, Color, Color, Color) - +Constructor for class org.diylc.core.Theme +
  +
THEME_KEY - +Static variable in interface org.diylc.common.IPlugInPort +
  +
toString() - +Method in class org.diylc.common.ComponentType +
  +
toString() - +Method in enum org.diylc.common.Display +
  +
toString() - +Method in enum org.diylc.common.HorizontalAlignment +
  +
toString() - +Method in enum org.diylc.common.LabelPosition +
  +
toString() - +Method in enum org.diylc.common.Orientation +
  +
toString() - +Method in enum org.diylc.common.OrientationHV +
  +
toString() - +Method in enum org.diylc.common.PCBLayer +
  +
toString() - +Method in class org.diylc.common.PropertyWrapper +
  +
toString() - +Method in enum org.diylc.common.ResistorColorCode +
  +
toString() - +Method in enum org.diylc.common.VerticalAlignment +
  +
toString() - +Method in class org.diylc.components.AbstractComponent +
  +
toString() - +Method in class org.diylc.core.measures.AbstractMeasure +
  +
toString() - +Method in enum org.diylc.core.measures.CapacitanceUnit +
  +
toString() - +Method in enum org.diylc.core.measures.CurrentUnit +
  +
toString() - +Method in enum org.diylc.core.measures.InductanceUnit +
  +
toString() - +Method in enum org.diylc.core.measures.PowerUnit +
  +
toString() - +Method in enum org.diylc.core.measures.ResistanceUnit +
  +
toString() - +Method in enum org.diylc.core.measures.VoltageUnit +
  +
toString() - +Method in class org.diylc.core.Project +
  +
toString() - +Method in class org.diylc.core.Theme +
  +
toString() - +Method in class org.diylc.plugins.cloud.model.CommentEntity +
  +
toString() - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
toString() - +Method in class org.diylc.plugins.cloud.model.UserEntity +
  +
TRACE - +Static variable in interface org.diylc.core.IDIYComponent +
  +
TRANSPARENT_COLOR - +Static variable in class org.diylc.utils.Constants +
  +
tryLogInWithToken() - +Method in class org.diylc.plugins.cloud.presenter.CloudPresenter +
  +
tryToRotateComponentSlot() - +Method in class org.diylc.presenter.InstantiationManager +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-2.html b/diylc/diylc-core/doc/index-files/index-2.html new file mode 100644 index 00000000..fd0f68fd --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-2.html @@ -0,0 +1,166 @@ + + + + + + +B-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+B

+
+
BadPositionException - Exception in org.diylc.common
 
BadPositionException() - +Constructor for exception org.diylc.common.BadPositionException +
  +
BOARD - +Static variable in interface org.diylc.core.IDIYComponent +
  +
BomEntry - Class in org.diylc.utils
 
BomEntry(String, String, String, int) - +Constructor for class org.diylc.utils.BomEntry +
  +
BomMaker - Class in org.diylc.utils
 
BomPolicy - Enum in org.diylc.core.annotations
 
bringSelectionToFront() - +Method in interface org.diylc.common.IPlugInPort +
Brings each of the selected components one step to front. +
bringSelectionToFront() - +Method in class org.diylc.presenter.Presenter +
  +
BUTTON1 - +Static variable in interface org.diylc.common.IPlugInPort +
  +
BUTTON2 - +Static variable in interface org.diylc.common.IPlugInPort +
  +
BUTTON3 - +Static variable in interface org.diylc.common.IPlugInPort +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-20.html b/diylc/diylc-core/doc/index-files/index-20.html new file mode 100644 index 00000000..2f706efb --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-20.html @@ -0,0 +1,187 @@ + + + + + + +U-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+U

+
+
ungroupSelectedComponents() - +Method in interface org.diylc.common.IPlugInPort +
Ungroups all selected components. +
ungroupSelectedComponents() - +Method in class org.diylc.presenter.Presenter +
  +
Unit - Interface in org.diylc.core.measures
 
unmarshal(HierarchicalStreamReader, UnmarshallingContext) - +Method in class org.diylc.presenter.PointConverter +
  +
updatePassword(String, String, String) - +Method in interface org.diylc.plugins.cloud.model.IServiceAPI +
Updates password of the current user using token to authenticate. +
updatePassword(String, String) - +Method in class org.diylc.plugins.cloud.presenter.CloudPresenter +
  +
updatePointByPoint(Point) - +Method in class org.diylc.presenter.InstantiationManager +
Updates component in the slot with the new second control point. +
updateSelection(List<IDIYComponent<?>>) - +Method in interface org.diylc.common.ISelectionProcessor +
Updates the selection with the specified list of component. +
updateSelection(List<IDIYComponent<?>>) - +Method in class org.diylc.presenter.Presenter +
  +
updateSingleClick(Point, boolean, Size) - +Method in class org.diylc.presenter.InstantiationManager +
Updates location of component slot based on the new mouse location. +
updateUserDetails(String, String, String, String, String, String) - +Method in interface org.diylc.plugins.cloud.model.IServiceAPI +
Updates user details using token to authenticate. +
updateUserDetails(String, String, String) - +Method in class org.diylc.plugins.cloud.presenter.CloudPresenter +
  +
upload(String, String, String, String, String, String, String, String, File, File) - +Method in interface org.diylc.plugins.cloud.model.IServiceAPI +
Uploads a project using token to authenticate. +
upload(String, String, String, String, String, File, File) - +Method in class org.diylc.plugins.cloud.presenter.CloudPresenter +
  +
URL_KEY - +Static variable in interface org.diylc.plugins.cloud.model.IServiceAPI +
  +
UserEntity - Class in org.diylc.plugins.cloud.model
 
UserEntity(String, String, String, String) - +Constructor for class org.diylc.plugins.cloud.model.UserEntity +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-21.html b/diylc/diylc-core/doc/index-files/index-21.html new file mode 100644 index 00000000..93a76bed --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-21.html @@ -0,0 +1,340 @@ + + + + + + +V-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+V

+
+
validate(Object) - +Method in class org.diylc.core.AllowAllValidator +
  +
validate(Object) - +Method in class org.diylc.core.annotations.PositiveMeasureValidator +
  +
validate(Object) - +Method in interface org.diylc.core.IPropertyValidator +
  +
validate(Object) - +Method in class org.diylc.core.Project.SpacingValidator +
  +
ValidationException - Exception in org.diylc.core
 
ValidationException(String) - +Constructor for exception org.diylc.core.ValidationException +
  +
valueOf(String) - +Static method in enum org.diylc.common.Display +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.diylc.common.DrawOption +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.diylc.common.EventType +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.diylc.common.GridType +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.diylc.common.HorizontalAlignment +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.diylc.common.LabelPosition +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.diylc.common.Orientation +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.diylc.common.OrientationHV +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.diylc.common.PCBLayer +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.diylc.common.ResistorColorCode +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.diylc.common.VerticalAlignment +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.diylc.core.annotations.BomPolicy +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.diylc.core.ComponentState +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.diylc.core.CreationMethod +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.diylc.core.ExpansionMode +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.diylc.core.measures.CapacitanceUnit +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.diylc.core.measures.CurrentUnit +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.diylc.core.measures.InductanceUnit +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.diylc.core.measures.PowerUnit +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.diylc.core.measures.ResistanceUnit +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.diylc.core.measures.SizeUnit +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.diylc.core.measures.VoltageUnit +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.diylc.core.VisibilityPolicy +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.diylc.images.IconLoader +
Returns the enum constant of this type with the specified name. +
values() - +Static method in enum org.diylc.common.Display +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.diylc.common.DrawOption +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.diylc.common.EventType +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.diylc.common.GridType +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.diylc.common.HorizontalAlignment +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.diylc.common.LabelPosition +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.diylc.common.Orientation +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.diylc.common.OrientationHV +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.diylc.common.PCBLayer +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.diylc.common.ResistorColorCode +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.diylc.common.VerticalAlignment +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.diylc.core.annotations.BomPolicy +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.diylc.core.ComponentState +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.diylc.core.CreationMethod +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.diylc.core.ExpansionMode +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.diylc.core.measures.CapacitanceUnit +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.diylc.core.measures.CurrentUnit +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.diylc.core.measures.InductanceUnit +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.diylc.core.measures.PowerUnit +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.diylc.core.measures.ResistanceUnit +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.diylc.core.measures.SizeUnit +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.diylc.core.measures.VoltageUnit +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.diylc.core.VisibilityPolicy +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.diylc.images.IconLoader +
Returns an array containing the constants of this enum type, in +the order they are declared. +
VerticalAlignment - Enum in org.diylc.common
 
VisibilityPolicy - Enum in org.diylc.core
Enumerates control point visibility policies.
VK_DOWN - +Static variable in interface org.diylc.common.IKeyProcessor +
  +
VK_LEFT - +Static variable in interface org.diylc.common.IKeyProcessor +
  +
VK_RIGHT - +Static variable in interface org.diylc.common.IKeyProcessor +
  +
VK_UP - +Static variable in interface org.diylc.common.IKeyProcessor +
  +
Voltage - Class in org.diylc.core.measures
 
Voltage(Double, VoltageUnit) - +Constructor for class org.diylc.core.measures.Voltage +
  +
VoltageUnit - Enum in org.diylc.core.measures
 
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-22.html b/diylc/diylc-core/doc/index-files/index-22.html new file mode 100644 index 00000000..68a605fc --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-22.html @@ -0,0 +1,151 @@ + + + + + + +W-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+W

+
+
WARNING_MESSAGE - +Static variable in interface org.diylc.core.IView +
  +
WHEEL_ZOOM_KEY - +Static variable in interface org.diylc.common.IPlugInPort +
  +
writeTo(Object) - +Method in class org.diylc.common.PropertyWrapper +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-23.html b/diylc/diylc-core/doc/index-files/index-23.html new file mode 100644 index 00000000..743086c1 --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-23.html @@ -0,0 +1,151 @@ + + + + + + +Y-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+Y

+
+
YES_NO_CANCEL_OPTION - +Static variable in interface org.diylc.core.IView +
  +
YES_NO_OPTION - +Static variable in interface org.diylc.core.IView +
  +
YES_OPTION - +Static variable in interface org.diylc.core.IView +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-24.html b/diylc/diylc-core/doc/index-files/index-24.html new file mode 100644 index 00000000..4df76b4a --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-24.html @@ -0,0 +1,145 @@ + + + + + + +Z-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+Z

+
+
ZOOM_KEY - +Static variable in class org.diylc.presenter.DrawingManager +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-3.html b/diylc/diylc-core/doc/index-files/index-3.html new file mode 100644 index 00000000..8f1b816b --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-3.html @@ -0,0 +1,298 @@ + + + + + + +C-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+C

+
+
calculateSelectionDimension() - +Method in interface org.diylc.common.IPlugInPort +
  +
calculateSelectionDimension() - +Method in class org.diylc.presenter.Presenter +
  +
CalcUtils - Class in org.diylc.presenter
 
CalcUtils() - +Constructor for class org.diylc.presenter.CalcUtils +
  +
CANCEL_OPTION - +Static variable in interface org.diylc.core.IView +
  +
canControlPointOverlap(int) - +Method in class org.diylc.components.AbstractComponent +
  +
canControlPointOverlap(int) - +Method in class org.diylc.components.AbstractCurvedComponent +
  +
canControlPointOverlap(int) - +Method in interface org.diylc.core.IDIYComponent +
  +
canConvert(Class) - +Method in class org.diylc.presenter.PointConverter +
  +
canParse(String) - +Method in interface org.diylc.parsing.IOldFileParser +
  +
CANVAS_COLOR - +Static variable in class org.diylc.utils.Constants +
  +
Capacitance - Class in org.diylc.core.measures
 
Capacitance(Double, CapacitanceUnit) - +Constructor for class org.diylc.core.measures.Capacitance +
  +
CapacitanceUnit - Enum in org.diylc.core.measures
 
CHASSIS - +Static variable in interface org.diylc.core.IDIYComponent +
  +
CHECK_BOX_MENU_ITEM - +Static variable in interface org.diylc.core.IView +
  +
clean(Object) - +Static method in class org.diylc.utils.MemoryCleaner +
  +
clearComponentAreaMap() - +Method in class org.diylc.presenter.DrawingManager +
  +
clone() - +Method in class org.diylc.common.PropertyWrapper +
  +
clone() - +Method in class org.diylc.components.AbstractComponent +
  +
clone() - +Method in interface org.diylc.core.IDIYComponent +
Clones the component. +
clone() - +Method in class org.diylc.core.measures.Capacitance +
  +
clone() - +Method in class org.diylc.core.measures.Current +
  +
clone() - +Method in class org.diylc.core.measures.Inductance +
  +
clone() - +Method in class org.diylc.core.measures.Power +
  +
clone() - +Method in class org.diylc.core.measures.Resistance +
  +
clone() - +Method in class org.diylc.core.measures.Size +
  +
clone() - +Method in class org.diylc.core.measures.Voltage +
  +
clone() - +Method in class org.diylc.core.Project +
  +
CloudException - Exception in org.diylc.plugins.cloud.presenter
 
CloudException(Exception) - +Constructor for exception org.diylc.plugins.cloud.presenter.CloudException +
  +
CloudException(String) - +Constructor for exception org.diylc.plugins.cloud.presenter.CloudException +
  +
CloudListener - Interface in org.diylc.plugins.cloud.presenter
 
CloudPresenter - Class in org.diylc.plugins.cloud.presenter
 
CloudPresenter(CloudListener) - +Constructor for class org.diylc.plugins.cloud.presenter.CloudPresenter +
  +
COLOR - +Static variable in class org.diylc.components.AbstractSchematicLeadedSymbol +
  +
CommentEntity - Class in org.diylc.plugins.cloud.model
 
CommentEntity() - +Constructor for class org.diylc.plugins.cloud.model.CommentEntity +
  +
CommentTree - Class in org.diylc.plugins.cloud.model
 
CommentTree(CommentEntity) - +Constructor for class org.diylc.plugins.cloud.model.CommentTree +
  +
ComparatorFactory - Class in org.diylc.presenter
 
ComparatorFactory() - +Constructor for class org.diylc.presenter.ComparatorFactory +
  +
compareTo(Size) - +Method in class org.diylc.core.measures.Size +
  +
complete(T) - +Method in interface org.diylc.common.ITask +
Called if background thread is executed correctly, the result is passed as a parameter. +
COMPONENT - +Static variable in interface org.diylc.core.IDIYComponent +
  +
ComponentDescriptor - Annotation Type in org.diylc.core.annotations
Annotation for IDIYComponent implementation.
ComponentProcessor - Class in org.diylc.presenter
Utility class with component processing methods.
ComponentState - Enum in org.diylc.core
Enumerates all possible states that a component can be in.
ComponentType - Class in org.diylc.common
Entity class used to describe a component type.
ComponentType(String, String, CreationMethod, String, String, String, Icon, Class<? extends IDIYComponent<?>>, double, boolean, boolean, BomPolicy, boolean, boolean, String) - +Constructor for class org.diylc.common.ComponentType +
  +
connect(IPlugInPort) - +Method in interface org.diylc.common.IPlugIn +
Method that connects the plug-in with IPlugInPort. +
Constants - Class in org.diylc.utils
 
Constants() - +Constructor for class org.diylc.utils.Constants +
  +
CONTINUOUS_CREATION_KEY - +Static variable in interface org.diylc.common.IPlugInPort +
  +
CONTROL_POINT_COLOR - +Static variable in class org.diylc.presenter.DrawingManager +
  +
CONTROL_POINT_SIZE - +Static variable in class org.diylc.presenter.DrawingManager +
  +
convertToPixels() - +Method in class org.diylc.core.measures.Size +
  +
CountryDetails - Class in org.diylc.plugins.cloud.model
 
CountryDetails() - +Constructor for class org.diylc.plugins.cloud.model.CountryDetails +
  +
createBom(List<IDIYComponent<?>>) - +Method in class org.diylc.utils.BomMaker +
  +
createNewProject() - +Method in interface org.diylc.common.IPlugInPort +
Creates a new project. +
createNewProject() - +Method in class org.diylc.presenter.Presenter +
  +
createUniqueName(ComponentType, Project) - +Method in class org.diylc.presenter.InstantiationManager +
  +
createUser(String, String, String, String, String) - +Method in interface org.diylc.plugins.cloud.model.IServiceAPI +
Creates a user with the specified details. +
createUserAccount(String, String, String, String, String) - +Method in class org.diylc.plugins.cloud.presenter.CloudPresenter +
  +
CreationMethod - Enum in org.diylc.core
 
Current - Class in org.diylc.core.measures
 
Current(Double, CurrentUnit) - +Constructor for class org.diylc.core.measures.Current +
  +
CURRENT_VERSION - +Static variable in class org.diylc.presenter.Presenter +
  +
CurrentUnit - Enum in org.diylc.core.measures
 
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-4.html b/diylc/diylc-core/doc/index-files/index-4.html new file mode 100644 index 00000000..dd03b63a --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-4.html @@ -0,0 +1,260 @@ + + + + + + +D-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+D

+
+
DashboardEntity - Class in org.diylc.plugins.cloud.model
 
DashboardEntity() - +Constructor for class org.diylc.plugins.cloud.model.DashboardEntity +
  +
DASHED_STROKE - +Static variable in class org.diylc.utils.Constants +
  +
DEBUG_COMPONENT_AREAS - +Static variable in class org.diylc.presenter.DrawingManager +
  +
DEFAULT_GRID_SPACING - +Static variable in class org.diylc.core.Project +
  +
DEFAULT_HEIGHT - +Static variable in class org.diylc.core.Project +
  +
DEFAULT_OPTION - +Static variable in interface org.diylc.core.IView +
  +
DEFAULT_SIZE - +Static variable in class org.diylc.components.AbstractCurvedComponent +
  +
DEFAULT_SIZE - +Static variable in class org.diylc.components.AbstractLeadedComponent +
  +
DEFAULT_THEME - +Static variable in class org.diylc.utils.Constants +
  +
DEFAULT_TITLE - +Static variable in class org.diylc.core.Project +
  +
DEFAULT_WIDTH - +Static variable in class org.diylc.core.Project +
  +
DEFAULTS_KEY_PREFIX - +Static variable in class org.diylc.presenter.Presenter +
  +
deleteSelectedComponents() - +Method in interface org.diylc.common.IPlugInPort +
Deletes all the selected components from the project. +
deleteSelectedComponents() - +Method in class org.diylc.presenter.Presenter +
  +
deleteTemplate(String, String, String) - +Method in interface org.diylc.common.ITemplateProcessor +
  +
deleteTemplate(String, String, String) - +Method in class org.diylc.presenter.Presenter +
  +
deserializeProjectFromFile(String, List<String>) - +Method in class org.diylc.presenter.ProjectFileManager +
  +
dismissed() - +Method in class org.diylc.announcements.AnnouncementProvider +
  +
Display - Enum in org.diylc.common
 
dispose() - +Method in class org.diylc.presenter.Presenter +
  +
DND_TOGGLE_SNAP - +Static variable in interface org.diylc.common.IPlugInPort +
  +
DND_TOGGLE_STICKY - +Static variable in interface org.diylc.common.IPlugInPort +
  +
doInBackground() - +Method in interface org.diylc.common.ITask +
Runs in background thread. +
dragActionChanged(int) - +Method in interface org.diylc.common.IMouseProcessor +
Changes the current drag action during the dragging. +
dragActionChanged(int) - +Method in class org.diylc.presenter.Presenter +
  +
dragEnded(Point) - +Method in interface org.diylc.common.IMouseProcessor +
Notification that drag has been ended in the specified point. +
dragEnded(Point) - +Method in class org.diylc.presenter.Presenter +
  +
dragOver(Point) - +Method in interface org.diylc.common.IMouseProcessor +
Checks if it's possible to drop over the specified point. +
dragOver(Point) - +Method in class org.diylc.presenter.Presenter +
  +
dragStarted(Point, int) - +Method in interface org.diylc.common.IMouseProcessor +
Notification that drag has been started from the specified point. +
dragStarted(Point, int) - +Method in class org.diylc.presenter.Presenter +
  +
draw(Graphics2D, Set<DrawOption>, IComponentFiler) - +Method in interface org.diylc.common.IPlugInPort +
Draws project on the provided Graphics2D. +
draw(Graphics2D, ComponentState, boolean, Project, IDrawingObserver) - +Method in class org.diylc.components.AbstractCurvedComponent +
  +
draw(Graphics2D, ComponentState, boolean, Project, IDrawingObserver) - +Method in class org.diylc.components.AbstractLeadedComponent +
  +
draw(Graphics2D, ComponentState, boolean, Project, IDrawingObserver) - +Method in interface org.diylc.core.IDIYComponent +
Draws the component onto the Graphics2D. +
draw(Graphics2D, Set<DrawOption>, IComponentFiler) - +Method in class org.diylc.presenter.Presenter +
  +
drawIcon(Graphics2D, int, int) - +Method in class org.diylc.components.AbstractCurvedComponent +
  +
drawIcon(Graphics2D, int, int) - +Method in interface org.diylc.core.IDIYComponent +
Draws icon representation of the component. +
DrawingManager - Class in org.diylc.presenter
Utility that deals with painting Project on the Graphics2D and keeps areas taken + by each drawn component.
DrawingManager(MessageDispatcher<EventType>) - +Constructor for class org.diylc.presenter.DrawingManager +
  +
DrawOption - Enum in org.diylc.common
Enumerates all options that can be used when drawing a project.
drawProject(Graphics2D, Project, Set<DrawOption>, IComponentFiler, Rectangle, List<IDIYComponent<?>>, Set<IDIYComponent<?>>, Set<IDIYComponent<?>>, List<Point>, List<IDIYComponent<?>>, boolean) - +Method in class org.diylc.presenter.DrawingManager +
Paints the project onto the canvas and returns the list of components that failed to draw. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-5.html b/diylc/diylc-core/doc/index-files/index-5.html new file mode 100644 index 00000000..e5536c8d --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-5.html @@ -0,0 +1,208 @@ + + + + + + +E-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+E

+
+
EditableProperty - Annotation Type in org.diylc.core.annotations
Used to annotate editable component property.
editProperties(List<PropertyWrapper>, Set<PropertyWrapper>) - +Method in interface org.diylc.core.IView +
  +
editSelection() - +Method in interface org.diylc.common.IPlugInPort +
  +
editSelection() - +Method in class org.diylc.presenter.Presenter +
  +
EMPTY_SELECTION - +Static variable in class org.diylc.presenter.Presenter +
  +
equals(Object) - +Method in class org.diylc.announcements.Announcement +
  +
equals(Object) - +Method in class org.diylc.common.PropertyWrapper +
  +
equals(Object) - +Method in class org.diylc.core.measures.AbstractMeasure +
  +
equals(Object) - +Method in class org.diylc.core.Project +
  +
equals(Object) - +Method in class org.diylc.core.Template +
  +
equals(Object) - +Method in class org.diylc.core.Theme +
  +
equals(Object) - +Method in class org.diylc.plugins.cloud.model.CommentEntity +
  +
equals(Object) - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
equals(Object) - +Method in class org.diylc.plugins.cloud.model.UserEntity +
  +
equals(Object) - +Method in class org.diylc.utils.BomEntry +
  +
equalsTo(IDIYComponent<?>) - +Method in class org.diylc.components.AbstractComponent +
  +
equalsTo(IDIYComponent<?>) - +Method in interface org.diylc.core.IDIYComponent +
Checks if two components are equal. +
ERROR_MESSAGE - +Static variable in interface org.diylc.core.IView +
  +
EventType - Enum in org.diylc.common
Enumerates all possible events between IPlugInPort and IPlugIn.
expandSelection(ExpansionMode) - +Method in interface org.diylc.common.ISelectionProcessor +
Expands the current selection to include surrounding components. +
expandSelection(ExpansionMode) - +Method in class org.diylc.presenter.Presenter +
  +
ExpansionMode - Enum in org.diylc.core
 
EXPORT_GRID_KEY - +Static variable in interface org.diylc.common.IPlugInPort +
  +
extractComponentTypeFrom(Class<? extends IDIYComponent<?>>) - +Method in class org.diylc.presenter.ComponentProcessor +
  +
extractProperties(Class<?>) - +Method in class org.diylc.presenter.ComponentProcessor +
Extracts all editable properties from the component class. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-6.html b/diylc/diylc-core/doc/index-files/index-6.html new file mode 100644 index 00000000..69cd1b55 --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-6.html @@ -0,0 +1,169 @@ + + + + + + +F-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+F

+
+
failed(Exception) - +Method in interface org.diylc.common.ITask +
Called if background thread fails. +
fetchBasicStroke(int) - +Method in class org.diylc.common.ObjectCache +
  +
fillWithDefaultProperties(Object, Template) - +Method in class org.diylc.presenter.InstantiationManager +
Finds any properties that have default values and injects default values. +
findComponentsAt(Point) - +Method in interface org.diylc.common.ISelectionProcessor +
Finds all components at the specified location, sorted by z-index from top to bottom. +
findComponentsAt(Point, Project) - +Method in class org.diylc.presenter.DrawingManager +
  +
findComponentsAt(Point) - +Method in class org.diylc.presenter.Presenter +
  +
findComponentsAtScaled(Point) - +Method in class org.diylc.presenter.Presenter +
Finds all components whose areas include the specified Point. +
fireFileStatusChanged() - +Method in class org.diylc.presenter.ProjectFileManager +
  +
fireZoomChanged() - +Method in class org.diylc.presenter.DrawingManager +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-7.html b/diylc/diylc-core/doc/index-files/index-7.html new file mode 100644 index 00000000..0caaf581 --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-7.html @@ -0,0 +1,659 @@ + + + + + + +G-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+G

+
+
getAlpha() - +Method in class org.diylc.components.AbstractTransparentComponent +
  +
getAnnouncements() - +Method in interface org.diylc.announcements.IAnnouncementService +
  +
getAuthor() - +Method in class org.diylc.common.ComponentType +
  +
getAuthor() - +Method in class org.diylc.core.Project +
  +
getAutoCreateName() - +Method in class org.diylc.common.ComponentType +
  +
getAvailableZoomLevels() - +Method in interface org.diylc.common.IPlugInPort +
  +
getAvailableZoomLevels() - +Method in class org.diylc.presenter.Presenter +
  +
getBgColor() - +Method in class org.diylc.core.Theme +
  +
getBio() - +Method in class org.diylc.plugins.cloud.model.UserEntity +
  +
getBodyColor() - +Method in class org.diylc.components.AbstractLeadedComponent +
  +
getBodyColor() - +Method in class org.diylc.components.AbstractSchematicLeadedSymbol +
  +
getBomPolicy() - +Method in class org.diylc.common.ComponentType +
  +
getBorderColor() - +Method in class org.diylc.components.AbstractLeadedComponent +
  +
getBorderColor() - +Method in class org.diylc.components.AbstractSchematicLeadedSymbol +
  +
getCanvasDimensions(boolean) - +Method in interface org.diylc.common.IPlugInPort +
Returns size of the canvas that takes project dimensions into account as well as zoom level. +
getCanvasDimensions(Project, Double, boolean) - +Method in class org.diylc.presenter.DrawingManager +
  +
getCanvasDimensions(boolean) - +Method in class org.diylc.presenter.Presenter +
  +
getCategories() - +Method in interface org.diylc.plugins.cloud.model.IServiceAPI +
  +
getCategories() - +Method in class org.diylc.plugins.cloud.presenter.CloudPresenter +
  +
getCategory() - +Method in class org.diylc.common.ComponentType +
  +
getCategory() - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
getColor() - +Method in class org.diylc.components.AbstractCurvedComponent +
  +
getColorCode(ResistorColorCode) - +Method in class org.diylc.core.measures.Resistance +
  +
getComment() - +Method in class org.diylc.plugins.cloud.model.CommentEntity +
  +
getCommentCount() - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
getComments(int) - +Method in interface org.diylc.plugins.cloud.model.IServiceAPI +
Returns all available comments for the given projectId. +
getComments(int) - +Method in class org.diylc.plugins.cloud.presenter.CloudPresenter +
  +
getComponentArea(IDIYComponent<?>) - +Method in class org.diylc.presenter.DrawingManager +
  +
getComponentNameComparator() - +Method in class org.diylc.presenter.ComparatorFactory +
  +
getComponents() - +Method in class org.diylc.core.Project +
List of components sorted by z-order ascending. +
getComponentSlot() - +Method in class org.diylc.presenter.InstantiationManager +
  +
getComponentTypeComparator() - +Method in class org.diylc.presenter.ComparatorFactory +
  +
getComponentTypes() - +Method in interface org.diylc.common.IPlugInPort +
Returns all available ComponentTypes classified by category. +
getComponentTypes() - +Method in class org.diylc.presenter.Presenter +
  +
getComponentTypeSlot() - +Method in class org.diylc.presenter.InstantiationManager +
  +
getComponentZOrderComparator() - +Method in class org.diylc.presenter.ComparatorFactory +
  +
getControlPoint(int) - +Method in class org.diylc.components.AbstractCurvedComponent +
  +
getControlPoint(int) - +Method in class org.diylc.components.AbstractLeadedComponent +
  +
getControlPoint(int) - +Method in interface org.diylc.core.IDIYComponent +
  +
getControlPointCount() - +Method in class org.diylc.components.AbstractCurvedComponent +
  +
getControlPointCount() - +Method in class org.diylc.components.AbstractLeadedComponent +
  +
getControlPointCount() - +Method in interface org.diylc.core.IDIYComponent +
  +
getControlPointVisibilityPolicy(int) - +Method in class org.diylc.components.AbstractCurvedComponent +
  +
getControlPointVisibilityPolicy(int) - +Method in class org.diylc.components.AbstractLeadedComponent +
  +
getControlPointVisibilityPolicy(int) - +Method in interface org.diylc.core.IDIYComponent +
  +
getCreationMethod() - +Method in class org.diylc.common.ComponentType +
  +
getCurrentAnnouncements(boolean) - +Method in class org.diylc.announcements.AnnouncementProvider +
  +
getCurrentFileName() - +Method in interface org.diylc.common.IPlugInPort +
  +
getCurrentFileName() - +Method in class org.diylc.presenter.Presenter +
  +
getCurrentFileName() - +Method in class org.diylc.presenter.ProjectFileManager +
  +
getCurrentProject() - +Method in interface org.diylc.common.IPlugInPort +
Returns an instance of currently loaded project. +
getCurrentProject() - +Method in class org.diylc.presenter.Presenter +
  +
getCurrentUsername() - +Method in class org.diylc.plugins.cloud.presenter.CloudPresenter +
  +
getCurrentVersionNumber() - +Method in interface org.diylc.common.IPlugInPort +
Returns current version number. +
getCurrentVersionNumber() - +Method in class org.diylc.presenter.Presenter +
  +
getCursorAt(Point) - +Method in interface org.diylc.common.IPlugInPort +
Returns an instance of Cursor that should be used at the specified location. +
getCursorAt(Point) - +Method in class org.diylc.presenter.Presenter +
  +
getDate() - +Method in class org.diylc.announcements.Announcement +
  +
getDescription() - +Method in class org.diylc.common.ComponentType +
  +
getDescription() - +Method in class org.diylc.core.Project +
  +
getDescription() - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
getDisplay() - +Method in class org.diylc.components.AbstractLeadedComponent +
  +
getDownloadCount() - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
getDownloadUrl() - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
getEmail() - +Method in class org.diylc.plugins.cloud.model.UserEntity +
  +
getFactor() - +Method in enum org.diylc.core.measures.CapacitanceUnit +
  +
getFactor() - +Method in enum org.diylc.core.measures.CurrentUnit +
  +
getFactor() - +Method in enum org.diylc.core.measures.InductanceUnit +
  +
getFactor() - +Method in enum org.diylc.core.measures.PowerUnit +
  +
getFactor() - +Method in enum org.diylc.core.measures.ResistanceUnit +
  +
getFactor() - +Method in enum org.diylc.core.measures.SizeUnit +
  +
getFactor() - +Method in interface org.diylc.core.measures.Unit +
  +
getFactor() - +Method in enum org.diylc.core.measures.VoltageUnit +
  +
getFileVersion() - +Method in class org.diylc.core.Project +
  +
getFirst() - +Method in class org.diylc.utils.Pair +
  +
getFirstControlPoint() - +Method in class org.diylc.presenter.InstantiationManager +
  +
getFlipStanding() - +Method in class org.diylc.components.AbstractLeadedComponent +
Override this method with @EditableProperty annotation in child classes where standing mode is + supported +
getGridColor() - +Method in class org.diylc.core.Theme +
  +
getGridSpacing() - +Method in class org.diylc.core.Project +
  +
getGroups() - +Method in class org.diylc.core.Project +
Set of grouped components. +
getHeight() - +Method in class org.diylc.core.Project +
  +
getIcon() - +Method in class org.diylc.common.ComponentType +
  +
getIcon() - +Method in enum org.diylc.images.IconLoader +
  +
getId() - +Method in class org.diylc.plugins.cloud.model.CommentEntity +
  +
getId() - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
getImage() - +Method in enum org.diylc.images.IconLoader +
  +
getInstance() - +Static method in class org.diylc.common.ObjectCache +
  +
getInstance() - +Static method in class org.diylc.presenter.ComparatorFactory +
  +
getInstance() - +Static method in class org.diylc.presenter.ComponentProcessor +
  +
getInstance() - +Static method in class org.diylc.utils.BomMaker +
  +
getInstanceClass() - +Method in class org.diylc.common.ComponentType +
  +
getLabelColor() - +Method in class org.diylc.components.AbstractLeadedComponent +
  +
getLabelPosition() - +Method in class org.diylc.components.AbstractSchematicLeadedSymbol +
  +
getLeadColor() - +Method in class org.diylc.components.AbstractLeadedComponent +
  +
getLength() - +Method in class org.diylc.components.AbstractLeadedComponent +
  +
getLockedLayers() - +Method in class org.diylc.core.Project +
  +
getMutualSelectionProperties() - +Method in interface org.diylc.common.IPlugInPort +
  +
getMutualSelectionProperties(List<IDIYComponent<?>>) - +Method in class org.diylc.presenter.ComponentProcessor +
Returns properties that have the same value for all the selected components. +
getMutualSelectionProperties() - +Method in class org.diylc.presenter.Presenter +
  +
getName() - +Method in class org.diylc.common.ComponentType +
  +
getName() - +Method in class org.diylc.common.PropertyWrapper +
  +
getName() - +Method in class org.diylc.components.AbstractComponent +
  +
getName() - +Method in interface org.diylc.core.IDIYComponent +
  +
getName() - +Method in class org.diylc.core.Template +
  +
getName() - +Method in class org.diylc.core.Theme +
  +
getName() - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
getName() - +Method in class org.diylc.utils.BomEntry +
  +
getNamePrefix() - +Method in class org.diylc.common.ComponentType +
  +
getNewComponentTypeSlot() - +Method in interface org.diylc.common.IPlugInPort +
Gets the current new component slot. +
getNewComponentTypeSlot() - +Method in class org.diylc.presenter.Presenter +
  +
getNotes() - +Method in class org.diylc.utils.BomEntry +
  +
getOutlineColor() - +Method in class org.diylc.core.Theme +
  +
getOwner() - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
getParentId() - +Method in class org.diylc.plugins.cloud.model.CommentEntity +
  +
getParsers() - +Method in class org.diylc.presenter.ProjectFileManager +
  +
getPinSpacing() - +Method in class org.diylc.components.AbstractRadialComponent +
  +
getPointCount() - +Method in class org.diylc.components.AbstractCurvedComponent +
  +
getPoints() - +Method in class org.diylc.core.Template +
  +
getPostedAt() - +Method in class org.diylc.plugins.cloud.model.CommentEntity +
  +
getPotentialControlPoint() - +Method in class org.diylc.presenter.InstantiationManager +
  +
getProjectProperties() - +Method in interface org.diylc.common.IPlugInPort +
  +
getProjectProperties() - +Method in class org.diylc.presenter.Presenter +
  +
getPropertyNameComparator() - +Method in class org.diylc.presenter.ComparatorFactory +
  +
getQuantity() - +Method in class org.diylc.utils.BomEntry +
  +
getReplies() - +Method in class org.diylc.plugins.cloud.model.CommentTree +
  +
getRootComment() - +Method in class org.diylc.plugins.cloud.model.CommentTree +
  +
getSecond() - +Method in class org.diylc.utils.Pair +
  +
getSelectedComponents() - +Method in interface org.diylc.common.ISelectionProcessor +
Returns the current ComponentTransferable. +
getSelectedComponents() - +Method in class org.diylc.presenter.Presenter +
  +
getSelectedTheme() - +Method in interface org.diylc.common.IPlugInPort +
  +
getSelectedTheme() - +Method in class org.diylc.presenter.Presenter +
  +
getService() - +Method in class org.diylc.plugins.cloud.presenter.CloudPresenter +
  +
getSortings() - +Method in interface org.diylc.plugins.cloud.model.IServiceAPI +
  +
getSortings() - +Method in class org.diylc.plugins.cloud.presenter.CloudPresenter +
  +
getStandingBodyColor() - +Method in class org.diylc.components.AbstractLeadedComponent +
  +
getTemplate() - +Method in class org.diylc.presenter.InstantiationManager +
  +
getTemplatesFor(String, String) - +Method in interface org.diylc.common.ITemplateProcessor +
  +
getTemplatesFor(String, String) - +Method in class org.diylc.presenter.Presenter +
  +
getTemplatesForSelection() - +Method in interface org.diylc.common.ITemplateProcessor +
  +
getTemplatesForSelection() - +Method in class org.diylc.presenter.Presenter +
  +
getText() - +Method in class org.diylc.announcements.Announcement +
  +
getTheme() - +Method in class org.diylc.presenter.DrawingManager +
  +
getThumbnailUrl() - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
getTitle() - +Method in class org.diylc.announcements.Announcement +
  +
getTitle() - +Method in class org.diylc.core.Project +
  +
getType() - +Method in class org.diylc.common.PropertyWrapper +
  +
getType() - +Method in class org.diylc.utils.BomEntry +
  +
getUnit() - +Method in class org.diylc.core.measures.AbstractMeasure +
  +
getUpdated() - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
getUserDetails(String, String, String) - +Method in interface org.diylc.plugins.cloud.model.IServiceAPI +
Retrieves current user's details. +
getUserDetails() - +Method in class org.diylc.plugins.cloud.presenter.CloudPresenter +
  +
getUsername() - +Method in class org.diylc.plugins.cloud.model.CommentEntity +
  +
getUsername() - +Method in class org.diylc.plugins.cloud.model.UserEntity +
  +
getValidator() - +Method in class org.diylc.common.PropertyWrapper +
  +
getValue() - +Method in class org.diylc.common.PropertyWrapper +
  +
getValue() - +Method in interface org.diylc.core.IDIYComponent +
  +
getValue() - +Method in class org.diylc.core.measures.AbstractMeasure +
  +
getValue() - +Method in class org.diylc.utils.BomEntry +
  +
getValueForDisplay() - +Method in class org.diylc.components.AbstractComponent +
  +
getValueForDisplay() - +Method in interface org.diylc.core.IDIYComponent +
  +
getValues() - +Method in class org.diylc.core.Template +
  +
getViewCount() - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
getWebsite() - +Method in class org.diylc.plugins.cloud.model.UserEntity +
  +
getWidth() - +Method in class org.diylc.components.AbstractLeadedComponent +
  +
getWidth() - +Method in class org.diylc.core.Project +
  +
getZoomLevel() - +Method in interface org.diylc.common.IPlugInPort +
Returns current zoom level where zoomLevel = 1.0d means 100%. +
getZoomLevel() - +Method in class org.diylc.presenter.DrawingManager +
  +
getZoomLevel() - +Method in class org.diylc.presenter.Presenter +
  +
getZOrder() - +Method in class org.diylc.common.ComponentType +
  +
GridType - Enum in org.diylc.common
 
groupSelectedComponents() - +Method in interface org.diylc.common.IPlugInPort +
Groups all selected components. +
groupSelectedComponents() - +Method in class org.diylc.presenter.Presenter +
  +
GUIDELINE_COLOR - +Static variable in class org.diylc.components.AbstractCurvedComponent +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-8.html b/diylc/diylc-core/doc/index-files/index-8.html new file mode 100644 index 00000000..6526c0e6 --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-8.html @@ -0,0 +1,178 @@ + + + + + + +H-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+H

+
+
hashCode() - +Method in class org.diylc.announcements.Announcement +
  +
hashCode() - +Method in class org.diylc.common.PropertyWrapper +
  +
hashCode() - +Method in class org.diylc.core.measures.AbstractMeasure +
  +
hashCode() - +Method in class org.diylc.core.Project +
  +
hashCode() - +Method in class org.diylc.core.Template +
  +
hashCode() - +Method in class org.diylc.core.Theme +
  +
hashCode() - +Method in class org.diylc.plugins.cloud.model.CommentEntity +
  +
hashCode() - +Method in class org.diylc.plugins.cloud.model.ProjectEntity +
  +
hashCode() - +Method in class org.diylc.plugins.cloud.model.UserEntity +
  +
hashCode() - +Method in class org.diylc.utils.BomEntry +
  +
hasMoreData() - +Method in class org.diylc.plugins.cloud.presenter.PagingProvider +
  +
HI_QUALITY_RENDER_KEY - +Static variable in interface org.diylc.common.IPlugInPort +
  +
HorizontalAlignment - Enum in org.diylc.common
 
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index-files/index-9.html b/diylc/diylc-core/doc/index-files/index-9.html new file mode 100644 index 00000000..1804fc7e --- /dev/null +++ b/diylc/diylc-core/doc/index-files/index-9.html @@ -0,0 +1,211 @@ + + + + + + +I-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+

+I

+
+
IAnnouncementService - Interface in org.diylc.announcements
 
IComponentFiler - Interface in org.diylc.common
 
ICON_SIZE - +Static variable in class org.diylc.presenter.Presenter +
  +
IconLoader - Enum in org.diylc.images
Loads image resources as Icons.
IDIYComponent<T> - Interface in org.diylc.core
Interface for component instance.
IDrawingObserver - Interface in org.diylc.core
Interface for tracking component drawing process.
IKeyProcessor - Interface in org.diylc.common
 
IMouseProcessor - Interface in org.diylc.common
 
Inductance - Class in org.diylc.core.measures
 
Inductance(Double, InductanceUnit) - +Constructor for class org.diylc.core.measures.Inductance +
  +
InductanceUnit - Enum in org.diylc.core.measures
 
INFORMATION_MESSAGE - +Static variable in interface org.diylc.core.IView +
  +
installPlugin(IPlugIn) - +Method in class org.diylc.presenter.Presenter +
  +
instantiateComponent(ComponentType, Template, Point, Project) - +Method in class org.diylc.presenter.InstantiationManager +
  +
InstantiationManager - Class in org.diylc.presenter
Manages component instantiation.
InstantiationManager() - +Constructor for class org.diylc.presenter.InstantiationManager +
  +
instatiatePointByPoint(Point, Project) - +Method in class org.diylc.presenter.InstantiationManager +
  +
invalidateComponent(IDIYComponent<?>) - +Method in class org.diylc.presenter.DrawingManager +
  +
IOldFileParser - Interface in org.diylc.parsing
 
IPlugIn - Interface in org.diylc.common
Interface for plug-ins.
IPlugInPort - Interface in org.diylc.common
Interface for communication between plug-ins and the application.
IPropertyValidator - Interface in org.diylc.core
Interface for validating property value changes.
isAutoEdit() - +Method in class org.diylc.common.ComponentType +
  +
isChanged() - +Method in class org.diylc.common.PropertyWrapper +
  +
isControlPointSticky(int) - +Method in class org.diylc.components.AbstractCurvedComponent +
  +
isControlPointSticky(int) - +Method in class org.diylc.components.AbstractLeadedComponent +
  +
isControlPointSticky(int) - +Method in interface org.diylc.core.IDIYComponent +
  +
isDefaultable() - +Method in class org.diylc.common.PropertyWrapper +
  +
ISelectionProcessor - Interface in org.diylc.common
 
IServiceAPI - Interface in org.diylc.plugins.cloud.model
Interface of DIYLC PHP server located at www.diy-fever.com/diylc/api/v1
isFlexibleZOrder() - +Method in class org.diylc.common.ComponentType +
  +
isLoggedIn() - +Method in class org.diylc.plugins.cloud.presenter.CloudPresenter +
  +
isModified() - +Method in class org.diylc.presenter.ProjectFileManager +
  +
isProjectModified() - +Method in interface org.diylc.common.IPlugInPort +
  +
isProjectModified() - +Method in class org.diylc.presenter.Presenter +
  +
isRotatable() - +Method in class org.diylc.common.ComponentType +
  +
isStretchable() - +Method in class org.diylc.common.ComponentType +
  +
isUnique() - +Method in class org.diylc.common.PropertyWrapper +
  +
ITask<T> - Interface in org.diylc.common
Abstract layer between the app and platform worker thread implementation.
ITemplateProcessor - Interface in org.diylc.common
 
ITemplateProcessor.TemplateAlreadyExistsException - Exception in org.diylc.common
 
ITemplateProcessor.TemplateAlreadyExistsException() - +Constructor for exception org.diylc.common.ITemplateProcessor.TemplateAlreadyExistsException +
  +
IView - Interface in org.diylc.core
Base interface for the main GUI component.
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I K L M N O P Q R S T U V W Y Z
+ + + diff --git a/diylc/diylc-core/doc/index.html b/diylc/diylc-core/doc/index.html new file mode 100644 index 00000000..5cf506c1 --- /dev/null +++ b/diylc/diylc-core/doc/index.html @@ -0,0 +1,75 @@ + + + + + + +Generated Documentation (Untitled) + + + + + + + + + + + +<H2> +Frame Alert</H2> + +<P> +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. +<BR> +Link to<A HREF="overview-summary.html">Non-frame version.</A> + + + diff --git a/diylc/diylc-core/doc/org/diylc/announcements/Announcement.html b/diylc/diylc-core/doc/org/diylc/announcements/Announcement.html new file mode 100644 index 00000000..d69817ea --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/announcements/Announcement.html @@ -0,0 +1,414 @@ + + + + + + +Announcement + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.announcements +
+Class Announcement

+
+java.lang.Object
+  extended by org.diylc.announcements.Announcement
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class Announcement
extends java.lang.Object
implements java.io.Serializable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Announcement() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(java.lang.Object obj) + +
+           
+ java.lang.StringgetDate() + +
+           
+ java.lang.StringgetText() + +
+           
+ java.lang.StringgetTitle() + +
+           
+ inthashCode() + +
+           
+ voidsetDate(java.lang.String date) + +
+           
+ voidsetText(java.lang.String text) + +
+           
+ voidsetTitle(java.lang.String title) + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Announcement

+
+public Announcement()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getTitle

+
+public java.lang.String getTitle()
+
+
+
+
+
+
+
+
+
+ +

+setTitle

+
+public void setTitle(java.lang.String title)
+
+
+
+
+
+
+
+
+
+ +

+getText

+
+public java.lang.String getText()
+
+
+
+
+
+
+
+
+
+ +

+setText

+
+public void setText(java.lang.String text)
+
+
+
+
+
+
+
+
+
+ +

+getDate

+
+public java.lang.String getDate()
+
+
+
+
+
+
+
+
+
+ +

+setDate

+
+public void setDate(java.lang.String date)
+
+
+
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/announcements/AnnouncementProvider.html b/diylc/diylc-core/doc/org/diylc/announcements/AnnouncementProvider.html new file mode 100644 index 00000000..66fbbd87 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/announcements/AnnouncementProvider.html @@ -0,0 +1,274 @@ + + + + + + +AnnouncementProvider + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.announcements +
+Class AnnouncementProvider

+
+java.lang.Object
+  extended by org.diylc.announcements.AnnouncementProvider
+
+
+
+
public class AnnouncementProvider
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
AnnouncementProvider() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddismissed() + +
+           
+ java.lang.StringgetCurrentAnnouncements(boolean forceLast) + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AnnouncementProvider

+
+public AnnouncementProvider()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getCurrentAnnouncements

+
+public java.lang.String getCurrentAnnouncements(boolean forceLast)
+                                         throws java.text.ParseException
+
+
+ +
Throws: +
java.text.ParseException
+
+
+
+ +

+dismissed

+
+public void dismissed()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/announcements/IAnnouncementService.html b/diylc/diylc-core/doc/org/diylc/announcements/IAnnouncementService.html new file mode 100644 index 00000000..7a10dee7 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/announcements/IAnnouncementService.html @@ -0,0 +1,206 @@ + + + + + + +IAnnouncementService + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.announcements +
+Interface IAnnouncementService

+
+
+
public interface IAnnouncementService
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ java.util.List<Announcement>getAnnouncements() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getAnnouncements

+
+java.util.List<Announcement> getAnnouncements()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/announcements/class-use/Announcement.html b/diylc/diylc-core/doc/org/diylc/announcements/class-use/Announcement.html new file mode 100644 index 00000000..e31a2134 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/announcements/class-use/Announcement.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Class org.diylc.announcements.Announcement + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.announcements.Announcement

+
+ + + + + + + + + +
+Packages that use Announcement
org.diylc.announcements  
+  +

+ + + + + +
+Uses of Announcement in org.diylc.announcements
+  +

+ + + + + + + + + +
Methods in org.diylc.announcements that return types with arguments of type Announcement
+ java.util.List<Announcement>IAnnouncementService.getAnnouncements() + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/announcements/class-use/AnnouncementProvider.html b/diylc/diylc-core/doc/org/diylc/announcements/class-use/AnnouncementProvider.html new file mode 100644 index 00000000..80b30f8a --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/announcements/class-use/AnnouncementProvider.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.announcements.AnnouncementProvider + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.announcements.AnnouncementProvider

+
+No usage of org.diylc.announcements.AnnouncementProvider +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/announcements/class-use/IAnnouncementService.html b/diylc/diylc-core/doc/org/diylc/announcements/class-use/IAnnouncementService.html new file mode 100644 index 00000000..022952e3 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/announcements/class-use/IAnnouncementService.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Interface org.diylc.announcements.IAnnouncementService + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.diylc.announcements.IAnnouncementService

+
+No usage of org.diylc.announcements.IAnnouncementService +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/announcements/package-frame.html b/diylc/diylc-core/doc/org/diylc/announcements/package-frame.html new file mode 100644 index 00000000..5c18af85 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/announcements/package-frame.html @@ -0,0 +1,45 @@ + + + + + + +org.diylc.announcements + + + + + + + + + + + +org.diylc.announcements + + + + +
+Interfaces  + +
+IAnnouncementService
+ + + + + + +
+Classes  + +
+Announcement +
+AnnouncementProvider
+ + + + diff --git a/diylc/diylc-core/doc/org/diylc/announcements/package-summary.html b/diylc/diylc-core/doc/org/diylc/announcements/package-summary.html new file mode 100644 index 00000000..36d31fcd --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/announcements/package-summary.html @@ -0,0 +1,175 @@ + + + + + + +org.diylc.announcements + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.diylc.announcements +

+ + + + + + + + + +
+Interface Summary
IAnnouncementService 
+  + +

+ + + + + + + + + + + + + +
+Class Summary
Announcement 
AnnouncementProvider 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/announcements/package-tree.html b/diylc/diylc-core/doc/org/diylc/announcements/package-tree.html new file mode 100644 index 00000000..d133caac --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/announcements/package-tree.html @@ -0,0 +1,159 @@ + + + + + + +org.diylc.announcements Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.diylc.announcements +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/announcements/package-use.html b/diylc/diylc-core/doc/org/diylc/announcements/package-use.html new file mode 100644 index 00000000..9386cb24 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/announcements/package-use.html @@ -0,0 +1,170 @@ + + + + + + +Uses of Package org.diylc.announcements + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
org.diylc.announcements

+
+ + + + + + + + + +
+Packages that use org.diylc.announcements
org.diylc.announcements  
+  +

+ + + + + + + + +
+Classes in org.diylc.announcements used by org.diylc.announcements
Announcement + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/BadPositionException.html b/diylc/diylc-core/doc/org/diylc/common/BadPositionException.html new file mode 100644 index 00000000..c0fba678 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/BadPositionException.html @@ -0,0 +1,240 @@ + + + + + + +BadPositionException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Class BadPositionException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.diylc.common.BadPositionException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class BadPositionException
extends java.lang.Exception
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
BadPositionException() + +
+           
+  + + + + + + + +
+Method Summary
+  + + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BadPositionException

+
+public BadPositionException()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/ComponentType.html b/diylc/diylc-core/doc/org/diylc/common/ComponentType.html new file mode 100644 index 00000000..3eb50978 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/ComponentType.html @@ -0,0 +1,576 @@ + + + + + + +ComponentType + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Class ComponentType

+
+java.lang.Object
+  extended by org.diylc.common.ComponentType
+
+
+
+
public class ComponentType
extends java.lang.Object
+ + +

+Entity class used to describe a component type. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
See Also:
IDIYComponent
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ComponentType(java.lang.String name, + java.lang.String description, + CreationMethod creationMethod, + java.lang.String category, + java.lang.String namePrefix, + java.lang.String author, + javax.swing.Icon icon, + java.lang.Class<? extends IDIYComponent<?>> instanceClass, + double zOrder, + boolean flexibleZOrder, + boolean stretchable, + BomPolicy bomPolicy, + boolean autoEdit, + boolean rotatable, + java.lang.String autoCreateName) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetAuthor() + +
+           
+ java.lang.StringgetAutoCreateName() + +
+           
+ BomPolicygetBomPolicy() + +
+           
+ java.lang.StringgetCategory() + +
+           
+ CreationMethodgetCreationMethod() + +
+           
+ java.lang.StringgetDescription() + +
+           
+ javax.swing.IcongetIcon() + +
+           
+ java.lang.Class<? extends IDIYComponent<?>>getInstanceClass() + +
+           
+ java.lang.StringgetName() + +
+           
+ java.lang.StringgetNamePrefix() + +
+           
+ doublegetZOrder() + +
+           
+ booleanisAutoEdit() + +
+           
+ booleanisFlexibleZOrder() + +
+           
+ booleanisRotatable() + +
+           
+ booleanisStretchable() + +
+           
+ java.lang.StringtoString() + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ComponentType

+
+public ComponentType(java.lang.String name,
+                     java.lang.String description,
+                     CreationMethod creationMethod,
+                     java.lang.String category,
+                     java.lang.String namePrefix,
+                     java.lang.String author,
+                     javax.swing.Icon icon,
+                     java.lang.Class<? extends IDIYComponent<?>> instanceClass,
+                     double zOrder,
+                     boolean flexibleZOrder,
+                     boolean stretchable,
+                     BomPolicy bomPolicy,
+                     boolean autoEdit,
+                     boolean rotatable,
+                     java.lang.String autoCreateName)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getName

+
+public java.lang.String getName()
+
+
+
+
+
+
+ +

+getDescription

+
+public java.lang.String getDescription()
+
+
+
+
+
+
+ +

+getCreationMethod

+
+public CreationMethod getCreationMethod()
+
+
+
+
+
+
+ +

+getCategory

+
+public java.lang.String getCategory()
+
+
+
+
+
+
+ +

+getNamePrefix

+
+public java.lang.String getNamePrefix()
+
+
+
+
+
+
+ +

+getAuthor

+
+public java.lang.String getAuthor()
+
+
+
+
+
+
+ +

+getIcon

+
+public javax.swing.Icon getIcon()
+
+
+
+
+
+
+ +

+getInstanceClass

+
+public java.lang.Class<? extends IDIYComponent<?>> getInstanceClass()
+
+
+
+
+
+
+ +

+getZOrder

+
+public double getZOrder()
+
+
+
+
+
+
+ +

+isFlexibleZOrder

+
+public boolean isFlexibleZOrder()
+
+
+
+
+
+
+ +

+isStretchable

+
+public boolean isStretchable()
+
+
+
+
+
+
+ +

+getBomPolicy

+
+public BomPolicy getBomPolicy()
+
+
+
+
+
+
+ +

+isAutoEdit

+
+public boolean isAutoEdit()
+
+
+
+
+
+
+ +

+isRotatable

+
+public boolean isRotatable()
+
+
+
+
+
+
+ +

+getAutoCreateName

+
+public java.lang.String getAutoCreateName()
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/Display.html b/diylc/diylc-core/doc/org/diylc/common/Display.html new file mode 100644 index 00000000..42205c0f --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/Display.html @@ -0,0 +1,376 @@ + + + + + + +Display + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Enum Display

+
+java.lang.Object
+  extended by java.lang.Enum<Display>
+      extended by org.diylc.common.Display
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Display>
+
+
+
+
public enum Display
extends java.lang.Enum<Display>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
BOTH + +
+           
NAME + +
+           
NONE + +
+           
VALUE + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringtoString() + +
+           
+static DisplayvalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static Display[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+NAME

+
+public static final Display NAME
+
+
+
+
+
+ +

+VALUE

+
+public static final Display VALUE
+
+
+
+
+
+ +

+NONE

+
+public static final Display NONE
+
+
+
+
+
+ +

+BOTH

+
+public static final Display BOTH
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static Display[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (Display c : Display.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static Display valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Enum<Display>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/DrawOption.html b/diylc/diylc-core/doc/org/diylc/common/DrawOption.html new file mode 100644 index 00000000..32c63384 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/DrawOption.html @@ -0,0 +1,408 @@ + + + + + + +DrawOption + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Enum DrawOption

+
+java.lang.Object
+  extended by java.lang.Enum<DrawOption>
+      extended by org.diylc.common.DrawOption
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DrawOption>
+
+
+
+
public enum DrawOption
extends java.lang.Enum<DrawOption>
+ + +

+Enumerates all options that can be used when drawing a project. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
See Also:
IPlugInPort.draw(java.awt.Graphics2D, java.util.Set, IComponentFiler)
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
ANTIALIASING + +
+          Anti-aliasing is used when drawing.
CONTROL_POINTS + +
+          Control points are drawn.
GRID + +
+          Grid lines are drawn.
OUTLINE_MODE + +
+          Draw components in outline mode.
SELECTION + +
+          Selection rectangle will be drawn when needed and selected components may be rendered + differently.
ZOOM + +
+          Selected zoom level will be applied to scale the Graphics before drawing.
+  + + + + + + + + + + + + + + + +
+Method Summary
+static DrawOptionvalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static DrawOption[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+SELECTION

+
+public static final DrawOption SELECTION
+
+
Selection rectangle will be drawn when needed and selected components may be rendered + differently. +

+

+
+
+
+ +

+ZOOM

+
+public static final DrawOption ZOOM
+
+
Selected zoom level will be applied to scale the Graphics before drawing. +

+

+
+
+
+ +

+GRID

+
+public static final DrawOption GRID
+
+
Grid lines are drawn. +

+

+
+
+
+ +

+CONTROL_POINTS

+
+public static final DrawOption CONTROL_POINTS
+
+
Control points are drawn. +

+

+
+
+
+ +

+ANTIALIASING

+
+public static final DrawOption ANTIALIASING
+
+
Anti-aliasing is used when drawing. +

+

+
+
+
+ +

+OUTLINE_MODE

+
+public static final DrawOption OUTLINE_MODE
+
+
Draw components in outline mode. +

+

+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static DrawOption[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (DrawOption c : DrawOption.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static DrawOption valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/EventType.html b/diylc/diylc-core/doc/org/diylc/common/EventType.html new file mode 100644 index 00000000..ce6fc581 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/EventType.html @@ -0,0 +1,531 @@ + + + + + + +EventType + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Enum EventType

+
+java.lang.Object
+  extended by java.lang.Enum<EventType>
+      extended by org.diylc.common.EventType
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EventType>
+
+
+
+
public enum EventType
extends java.lang.Enum<EventType>
+ + +

+Enumerates all possible events between IPlugInPort and IPlugIn. Some events + overlap so be careful which ones you subscribe for and how you process them. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
AVAILABLE_CTRL_POINTS_CHANGED + +
+          Called when control points under the cursor are changed.
FILE_STATUS_CHANGED + +
+          Called when either current file name or modified flag are changed.
LAYER_STATE_CHANGED + +
+          Called when a layer status is changed.
MOUSE_MOVED + +
+          Called when mouse cursor is moved.
PROJECT_LOADED + +
+          Called when a new project is loaded.
PROJECT_MODIFIED + +
+          Called when the current project has been modified.
REPAINT + +
+          Called when selection size changes, together with a Point2D object containing selection + size (x = width, y = height).
SELECTION_CHANGED + +
+          Called when component selection is changed.
SELECTION_RECT_CHANGED + +
+          Called when selection rectangle is changed.
SLOT_CHANGED + +
+          Called when new component slot has been changed.
STATUS_MESSAGE_CHANGED + +
+          Called to update the status message.
ZOOM_CHANGED + +
+          Called when zoom level changes.
+  + + + + + + + + + + + + + + + +
+Method Summary
+static EventTypevalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static EventType[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+ZOOM_CHANGED

+
+public static final EventType ZOOM_CHANGED
+
+
Called when zoom level changes. Typically only one parameter of type Double is passed + with new zoom level. +

+

+
+
+
+ +

+PROJECT_LOADED

+
+public static final EventType PROJECT_LOADED
+
+
Called when a new project is loaded. New Project is the first parameter. Boolean flag + is the second parameter and it's true when new project is loaded, false when the same project + has been either reloaded or loaded with undo/redo operations. +

+

+
+
+
+ +

+FILE_STATUS_CHANGED

+
+public static final EventType FILE_STATUS_CHANGED
+
+
Called when either current file name or modified flag are changed. The first parameter is the + current file name, the second one is a boolean modified flag. +

+

+
+
+
+ +

+SELECTION_RECT_CHANGED

+
+public static final EventType SELECTION_RECT_CHANGED
+
+
Called when selection rectangle is changed. Object of type Rectangle is the only + parameter and it contains the new selection rectangle. +

+

+
+
+
+ +

+SELECTION_CHANGED

+
+public static final EventType SELECTION_CHANGED
+
+
Called when component selection is changed. New ComponentSelection is attached as a + parameter. +

+

+
+
+
+ +

+REPAINT

+
+public static final EventType REPAINT
+
+
Called when selection size changes, together with a Point2D object containing selection + size (x = width, y = height). Size is expressed in the default measure (cm for metric, inches + for imperial). +

+

+
+
+
+ +

+SLOT_CHANGED

+
+public static final EventType SLOT_CHANGED
+
+
Called when new component slot has been changed. The only parameter is ComponentType + and may be null. +

+

+
+
+
+ +

+PROJECT_MODIFIED

+
+public static final EventType PROJECT_MODIFIED
+
+
Called when the current project has been modified. Two instances of Project are passed + as parameters, one before and one after the change. The third parameter is a string containing + change description. +

+

+
+
+
+ +

+AVAILABLE_CTRL_POINTS_CHANGED

+
+public static final EventType AVAILABLE_CTRL_POINTS_CHANGED
+
+
Called when control points under the cursor are changed. A single parameter is passed, an + instance of Map, Set> containing all the components and + indices of their control points that are under the cursor. +

+

+
+
+
+ +

+MOUSE_MOVED

+
+public static final EventType MOUSE_MOVED
+
+
Called when mouse cursor is moved. Point object is passed, containing the current cursor + location (not taking zoom into account). +

+

+
+
+
+ +

+LAYER_STATE_CHANGED

+
+public static final EventType LAYER_STATE_CHANGED
+
+
Called when a layer status is changed. The first parameter is a set of indices of locked + layers. All layers not included are considered unlocked. +

+

+
+
+
+ +

+STATUS_MESSAGE_CHANGED

+
+public static final EventType STATUS_MESSAGE_CHANGED
+
+
Called to update the status message. New status message is passed as a first parameter. +

+

+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static EventType[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (EventType c : EventType.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static EventType valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/GridType.html b/diylc/diylc-core/doc/org/diylc/common/GridType.html new file mode 100644 index 00000000..518bb587 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/GridType.html @@ -0,0 +1,354 @@ + + + + + + +GridType + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Enum GridType

+
+java.lang.Object
+  extended by java.lang.Enum<GridType>
+      extended by org.diylc.common.GridType
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GridType>
+
+
+
+
public enum GridType
extends java.lang.Enum<GridType>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
CROSSHAIR + +
+           
DOT + +
+           
LINES + +
+           
NONE + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static GridTypevalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static GridType[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+LINES

+
+public static final GridType LINES
+
+
+
+
+
+ +

+CROSSHAIR

+
+public static final GridType CROSSHAIR
+
+
+
+
+
+ +

+DOT

+
+public static final GridType DOT
+
+
+
+
+
+ +

+NONE

+
+public static final GridType NONE
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static GridType[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (GridType c : GridType.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static GridType valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/HorizontalAlignment.html b/diylc/diylc-core/doc/org/diylc/common/HorizontalAlignment.html new file mode 100644 index 00000000..2652cdc6 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/HorizontalAlignment.html @@ -0,0 +1,360 @@ + + + + + + +HorizontalAlignment + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Enum HorizontalAlignment

+
+java.lang.Object
+  extended by java.lang.Enum<HorizontalAlignment>
+      extended by org.diylc.common.HorizontalAlignment
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<HorizontalAlignment>
+
+
+
+
public enum HorizontalAlignment
extends java.lang.Enum<HorizontalAlignment>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Enum Constant Summary
CENTER + +
+           
LEFT + +
+           
RIGHT + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringtoString() + +
+           
+static HorizontalAlignmentvalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static HorizontalAlignment[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+LEFT

+
+public static final HorizontalAlignment LEFT
+
+
+
+
+
+ +

+CENTER

+
+public static final HorizontalAlignment CENTER
+
+
+
+
+
+ +

+RIGHT

+
+public static final HorizontalAlignment RIGHT
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static HorizontalAlignment[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (HorizontalAlignment c : HorizontalAlignment.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static HorizontalAlignment valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Enum<HorizontalAlignment>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/IComponentFiler.html b/diylc/diylc-core/doc/org/diylc/common/IComponentFiler.html new file mode 100644 index 00000000..3b9b8bf0 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/IComponentFiler.html @@ -0,0 +1,209 @@ + + + + + + +IComponentFiler + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Interface IComponentFiler

+
+
All Known Implementing Classes:
PCBLayerFiler
+
+
+
+
public interface IComponentFiler
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ booleantestComponent(IDIYComponent<?> component) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+testComponent

+
+boolean testComponent(IDIYComponent<?> component)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/IKeyProcessor.html b/diylc/diylc-core/doc/org/diylc/common/IKeyProcessor.html new file mode 100644 index 00000000..f00de948 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/IKeyProcessor.html @@ -0,0 +1,311 @@ + + + + + + +IKeyProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Interface IKeyProcessor

+
+
All Known Subinterfaces:
IPlugInPort
+
+
+
All Known Implementing Classes:
Presenter
+
+
+
+
public interface IKeyProcessor
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intVK_DOWN + +
+           
+static intVK_LEFT + +
+           
+static intVK_RIGHT + +
+           
+static intVK_UP + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ booleankeyPressed(int key, + boolean ctrlDown, + boolean shiftDown, + boolean altDown) + +
+          Notifies the presenter that a key hes been pressed on the canvas.
+  +

+ + + + + + + + +
+Field Detail
+ +

+VK_LEFT

+
+static final int VK_LEFT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VK_UP

+
+static final int VK_UP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VK_RIGHT

+
+static final int VK_RIGHT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VK_DOWN

+
+static final int VK_DOWN
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+keyPressed

+
+boolean keyPressed(int key,
+                   boolean ctrlDown,
+                   boolean shiftDown,
+                   boolean altDown)
+
+
Notifies the presenter that a key hes been pressed on the canvas. +

+

+
Parameters:
key -
ctrlDown -
shiftDown -
altDown - +
Returns:
true if the event should be consumed
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/IMouseProcessor.html b/diylc/diylc-core/doc/org/diylc/common/IMouseProcessor.html new file mode 100644 index 00000000..720c4b77 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/IMouseProcessor.html @@ -0,0 +1,348 @@ + + + + + + +IMouseProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Interface IMouseProcessor

+
+
All Known Subinterfaces:
IPlugInPort
+
+
+
All Known Implementing Classes:
Presenter
+
+
+
+
public interface IMouseProcessor
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiddragActionChanged(int dragAction) + +
+          Changes the current drag action during the dragging.
+ voiddragEnded(java.awt.Point point) + +
+          Notification that drag has been ended in the specified point.
+ booleandragOver(java.awt.Point point) + +
+          Checks if it's possible to drop over the specified point.
+ voiddragStarted(java.awt.Point point, + int dragAction) + +
+          Notification that drag has been started from the specified point.
+ voidmouseClicked(java.awt.Point point, + int button, + boolean ctrlDown, + boolean shiftDown, + boolean altDown, + int clickCount) + +
+          Notifies the presenter that mouse is clicked.
+ voidmouseMoved(java.awt.Point point, + boolean ctrlDown, + boolean shiftDown, + boolean altDown) + +
+          Notifies the presenter that mouse is moved.
+  +

+ + + + + + + + +
+Method Detail
+ +

+mouseClicked

+
+void mouseClicked(java.awt.Point point,
+                  int button,
+                  boolean ctrlDown,
+                  boolean shiftDown,
+                  boolean altDown,
+                  int clickCount)
+
+
Notifies the presenter that mouse is clicked. + + Note: point coordinates are display based, i.e. scaled for zoom factor. +

+

+
Parameters:
point -
button -
ctrlDown -
shiftDown -
altDown -
clickCount -
+
+
+
+ +

+mouseMoved

+
+void mouseMoved(java.awt.Point point,
+                boolean ctrlDown,
+                boolean shiftDown,
+                boolean altDown)
+
+
Notifies the presenter that mouse is moved. + + Note: point coordinates are display based, i.e. scaled for zoom factor. +

+

+
Parameters:
point -
ctrlDown -
shiftDown -
altDown -
+
+
+
+ +

+dragStarted

+
+void dragStarted(java.awt.Point point,
+                 int dragAction)
+
+
Notification that drag has been started from the specified point. + + Note: point coordinates are scaled for zoom factor. +

+

+
Parameters:
point -
dragAction -
+
+
+
+ +

+dragOver

+
+boolean dragOver(java.awt.Point point)
+
+
Checks if it's possible to drop over the specified point. + + Note: point coordinates are scaled for zoom factor. +

+

+
Parameters:
point - +
Returns:
+
+
+
+ +

+dragActionChanged

+
+void dragActionChanged(int dragAction)
+
+
Changes the current drag action during the dragging. +

+

+
Parameters:
dragAction -
+
+
+
+ +

+dragEnded

+
+void dragEnded(java.awt.Point point)
+
+
Notification that drag has been ended in the specified point. + + Note: point coordinates are scaled for zoom factor. +

+

+
Parameters:
point -
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/IPlugIn.html b/diylc/diylc-core/doc/org/diylc/common/IPlugIn.html new file mode 100644 index 00000000..5373f2a8 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/IPlugIn.html @@ -0,0 +1,232 @@ + + + + + + +IPlugIn + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Interface IPlugIn

+
+
All Superinterfaces:
org.diylc.appframework.simplemq.IMessageListener<EventType>
+
+
+
+
public interface IPlugIn
extends org.diylc.appframework.simplemq.IMessageListener<EventType>
+ + +

+Interface for plug-ins. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidconnect(IPlugInPort plugInPort) + +
+          Method that connects the plug-in with IPlugInPort.
+  + + + + + + + +
Methods inherited from interface org.diylc.appframework.simplemq.IMessageListener
getSubscribedEventTypes, processMessage
+  +

+ + + + + + + + +
+Method Detail
+ +

+connect

+
+void connect(IPlugInPort plugInPort)
+
+
Method that connects the plug-in with IPlugInPort. Called by the application when + plug-in is installed. +

+

+
+
+
+
Parameters:
plugInPort -
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/IPlugInPort.html b/diylc/diylc-core/doc/org/diylc/common/IPlugInPort.html new file mode 100644 index 00000000..e68f0434 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/IPlugInPort.html @@ -0,0 +1,1571 @@ + + + + + + +IPlugInPort + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Interface IPlugInPort

+
+
All Superinterfaces:
IKeyProcessor, IMouseProcessor, ISelectionProcessor, ITemplateProcessor
+
+
+
All Known Implementing Classes:
Presenter
+
+
+
+
public interface IPlugInPort
extends ISelectionProcessor, IMouseProcessor, IKeyProcessor, ITemplateProcessor
+ + +

+Interface for communication between plug-ins and the application. Plug-ins may acquire + information or make changes through this interface. Application events are dispatched to plug-ins + through MessageDispatcher +

+ +

+

+
Author:
+
Branislav Stojkovic
+
See Also:
IPlugIn, +MessageDispatcher, +IMessageListener, +EventType
+
+ +

+ + + + + + + +
+Nested Class Summary
+  + + + + + + + +
Nested classes/interfaces inherited from interface org.diylc.common.ITemplateProcessor
ITemplateProcessor.TemplateAlreadyExistsException
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringABNORMAL_EXIT_KEY + +
+           
+static java.lang.StringANTI_ALIASING_KEY + +
+           
+static java.lang.StringAUTO_EDIT_KEY + +
+           
+static java.lang.StringAUTO_PADS_KEY + +
+           
+static intBUTTON1 + +
+           
+static intBUTTON2 + +
+           
+static intBUTTON3 + +
+           
+static java.lang.StringCONTINUOUS_CREATION_KEY + +
+           
+static intDND_TOGGLE_SNAP + +
+           
+static intDND_TOGGLE_STICKY + +
+           
+static java.lang.StringEXPORT_GRID_KEY + +
+           
+static java.lang.StringHI_QUALITY_RENDER_KEY + +
+           
+static java.lang.StringMETRIC_KEY + +
+           
+static intNOBUTTON + +
+          Mouse button constants.
+static java.lang.StringOUTLINE_KEY + +
+           
+static java.lang.StringRECENT_COMPONENTS_KEY + +
+           
+static java.lang.StringSNAP_TO_GRID_KEY + +
+           
+static java.lang.StringSTICKY_POINTS_KEY + +
+           
+static java.lang.StringTHEME_KEY + +
+           
+static java.lang.StringWHEEL_ZOOM_KEY + +
+           
+  + + + + + + + +
Fields inherited from interface org.diylc.common.IKeyProcessor
VK_DOWN, VK_LEFT, VK_RIGHT, VK_UP
+  + + + + + + + +
Fields inherited from interface org.diylc.common.ITemplateProcessor
TEMPLATES_KEY
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanallowFileAction() + +
+          Shows a user dialog if there are changes to confirm that it's safe to proceed.
+ voidapplyPropertiesToProject(java.util.List<PropertyWrapper> properties) + +
+          Applies specified properties to the current project.
+ voidbringSelectionToFront() + +
+          Brings each of the selected components one step to front.
+ java.awt.geom.Point2DcalculateSelectionDimension() + +
+           
+ voidcreateNewProject() + +
+          Creates a new project.
+ voiddeleteSelectedComponents() + +
+          Deletes all the selected components from the project.
+ voiddraw(java.awt.Graphics2D g2d, + java.util.Set<DrawOption> drawOptions, + IComponentFiler filter) + +
+          Draws project on the provided Graphics2D.
+ voideditSelection() + +
+           
+ java.lang.Double[]getAvailableZoomLevels() + +
+           
+ java.awt.DimensiongetCanvasDimensions(boolean useZoom) + +
+          Returns size of the canvas that takes project dimensions into account as well as zoom level.
+ java.util.Map<java.lang.String,java.util.List<ComponentType>>getComponentTypes() + +
+          Returns all available ComponentTypes classified by category.
+ java.lang.StringgetCurrentFileName() + +
+           
+ ProjectgetCurrentProject() + +
+          Returns an instance of currently loaded project.
+ org.diylc.appframework.update.VersionNumbergetCurrentVersionNumber() + +
+          Returns current version number.
+ java.awt.CursorgetCursorAt(java.awt.Point point) + +
+          Returns an instance of Cursor that should be used at the specified location.
+ java.util.List<PropertyWrapper>getMutualSelectionProperties() + +
+           
+ ComponentTypegetNewComponentTypeSlot() + +
+          Gets the current new component slot.
+ java.util.List<PropertyWrapper>getProjectProperties() + +
+           
+ ThemegetSelectedTheme() + +
+           
+ doublegetZoomLevel() + +
+          Returns current zoom level where zoomLevel = 1.0d means 100%.
+ voidgroupSelectedComponents() + +
+          Groups all selected components.
+ booleanisProjectModified() + +
+           
+ voidloadProject(Project project, + boolean freshStart) + +
+          Loads specified Project.
+ voidloadProjectFromFile(java.lang.String fileName) + +
+          Loads a project from the specified file.
+ voidpasteComponents(java.util.List<IDIYComponent<?>> components) + +
+          Adds a list of components to the project.
+ voidrefresh() + +
+          Causes the display to refresh.
+ voidrenumberSelectedComponents(boolean xAxisFirst) + +
+          Renumbers all the selected components.
+ voidsaveProjectToFile(java.lang.String fileName, + boolean isBackup) + +
+          Saves the current project into the specified file.
+ voidsendSelectionToBack() + +
+          Sends each of the selected components one step back.
+ voidsetLayerLocked(int layerZOrder, + boolean locked) + +
+          Locks or unlocks the specified layer.
+ voidsetMetric(boolean isMetric) + +
+          Changes default size notation, true for metric, false for imperial.
+ voidsetNewComponentTypeSlot(ComponentType componentType, + Template template) + +
+          Sets the new component slot.
+ voidsetProjectDefaultPropertyValue(java.lang.String propertyName, + java.lang.Object value) + +
+          Sets default value for the specified property name for projects.
+ voidsetSelectedTheme(Theme theme) + +
+          Changes the current theme.
+ voidsetSelectionDefaultPropertyValue(java.lang.String propertyName, + java.lang.Object value) + +
+          Sets default value for the specified property name for currently selected component types.
+ voidsetZoomLevel(double zoomLevel) + +
+          Changes current zoom level where zoomLevel = 1.0d means 100%
+ voidungroupSelectedComponents() + +
+          Ungroups all selected components.
+  + + + + + + + +
Methods inherited from interface org.diylc.common.ISelectionProcessor
expandSelection, findComponentsAt, getSelectedComponents, rotateSelection, selectAll, updateSelection
+  + + + + + + + +
Methods inherited from interface org.diylc.common.IMouseProcessor
dragActionChanged, dragEnded, dragOver, dragStarted, mouseClicked, mouseMoved
+  + + + + + + + +
Methods inherited from interface org.diylc.common.IKeyProcessor
keyPressed
+  + + + + + + + +
Methods inherited from interface org.diylc.common.ITemplateProcessor
applyTemplateToSelection, deleteTemplate, getTemplatesFor, getTemplatesForSelection, saveSelectedComponentAsTemplate
+  +

+ + + + + + + + +
+Field Detail
+ +

+ANTI_ALIASING_KEY

+
+static final java.lang.String ANTI_ALIASING_KEY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HI_QUALITY_RENDER_KEY

+
+static final java.lang.String HI_QUALITY_RENDER_KEY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EXPORT_GRID_KEY

+
+static final java.lang.String EXPORT_GRID_KEY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+STICKY_POINTS_KEY

+
+static final java.lang.String STICKY_POINTS_KEY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+METRIC_KEY

+
+static final java.lang.String METRIC_KEY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SNAP_TO_GRID_KEY

+
+static final java.lang.String SNAP_TO_GRID_KEY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+AUTO_PADS_KEY

+
+static final java.lang.String AUTO_PADS_KEY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CONTINUOUS_CREATION_KEY

+
+static final java.lang.String CONTINUOUS_CREATION_KEY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+AUTO_EDIT_KEY

+
+static final java.lang.String AUTO_EDIT_KEY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ABNORMAL_EXIT_KEY

+
+static final java.lang.String ABNORMAL_EXIT_KEY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+WHEEL_ZOOM_KEY

+
+static final java.lang.String WHEEL_ZOOM_KEY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+OUTLINE_KEY

+
+static final java.lang.String OUTLINE_KEY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+THEME_KEY

+
+static final java.lang.String THEME_KEY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RECENT_COMPONENTS_KEY

+
+static final java.lang.String RECENT_COMPONENTS_KEY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DND_TOGGLE_STICKY

+
+static final int DND_TOGGLE_STICKY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DND_TOGGLE_SNAP

+
+static final int DND_TOGGLE_SNAP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NOBUTTON

+
+static final int NOBUTTON
+
+
Mouse button constants. +

+

+
See Also:
Constant Field Values
+
+
+ +

+BUTTON1

+
+static final int BUTTON1
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BUTTON2

+
+static final int BUTTON2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BUTTON3

+
+static final int BUTTON3
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+getCanvasDimensions

+
+java.awt.Dimension getCanvasDimensions(boolean useZoom)
+
+
Returns size of the canvas that takes project dimensions into account as well as zoom level. + Each dimension is calculated as the product of the actual size and the number of pixels per + unit. If useZoom is set to true, the result is scaled by zoom factor. +

+

+
+
+
+
Parameters:
useZoom - +
Returns:
canvas dimensions
+
+
+
+ +

+getCursorAt

+
+java.awt.Cursor getCursorAt(java.awt.Point point)
+
+
Returns an instance of Cursor that should be used at the specified location. + + Note: point coordinates are scaled for zoom factor. +

+

+
+
+
+
Parameters:
point - +
Returns:
cursor
+
+
+
+ +

+getCurrentProject

+
+Project getCurrentProject()
+
+
Returns an instance of currently loaded project. +

+

+
+
+
+ +
Returns:
+
+
+
+ +

+loadProject

+
+void loadProject(Project project,
+                 boolean freshStart)
+
+
Loads specified Project. +

+

+
+
+
+
Parameters:
project -
freshStart -
+
+
+
+ +

+createNewProject

+
+void createNewProject()
+
+
Creates a new project. +

+

+
+
+
+
+
+
+
+ +

+loadProjectFromFile

+
+void loadProjectFromFile(java.lang.String fileName)
+
+
Loads a project from the specified file. +

+

+
+
+
+
Parameters:
fileName -
+
+
+
+ +

+saveProjectToFile

+
+void saveProjectToFile(java.lang.String fileName,
+                       boolean isBackup)
+
+
Saves the current project into the specified file. +

+

+
+
+
+
Parameters:
fileName -
isBackup -
+
+
+
+ +

+getCurrentFileName

+
+java.lang.String getCurrentFileName()
+
+
+
+
+
+ +
Returns:
the current file name.
+
+
+
+ +

+isProjectModified

+
+boolean isProjectModified()
+
+
+
+
+
+ +
Returns:
true if the current project is modified.
+
+
+
+ +

+allowFileAction

+
+boolean allowFileAction()
+
+
Shows a user dialog if there are changes to confirm that it's safe to proceed. +

+

+
+
+
+ +
Returns:
true, if file actions (new, open, close) can be taken
+
+
+
+ +

+getComponentTypes

+
+java.util.Map<java.lang.String,java.util.List<ComponentType>> getComponentTypes()
+
+
Returns all available ComponentTypes classified by category. Result is a Map + between category name to a List of all ComponentTypes that share that category + name. +

+

+
+
+
+ +
Returns:
+
+
+
+ +

+draw

+
+void draw(java.awt.Graphics2D g2d,
+          java.util.Set<DrawOption> drawOptions,
+          IComponentFiler filter)
+
+
Draws project on the provided Graphics2D. If the provided filter is not null, it will + be used to filter the components that are shown. +

+

+
+
+
+
Parameters:
g2d -
drawOptions - specific drawing options
filter -
+
+
+
+ +

+getAvailableZoomLevels

+
+java.lang.Double[] getAvailableZoomLevels()
+
+
+
+
+
+
+
+
+
+ +

+getZoomLevel

+
+double getZoomLevel()
+
+
Returns current zoom level where zoomLevel = 1.0d means 100%. +

+

+
+
+
+ +
Returns:
current zoom level
+
+
+
+ +

+setZoomLevel

+
+void setZoomLevel(double zoomLevel)
+
+
Changes current zoom level where zoomLevel = 1.0d means 100% +

+

+
+
+
+
Parameters:
zoomLevel - new zoom leve
+
+
+
+ +

+getCurrentVersionNumber

+
+org.diylc.appframework.update.VersionNumber getCurrentVersionNumber()
+
+
Returns current version number. +

+

+
+
+
+ +
Returns:
+
+
+
+ +

+pasteComponents

+
+void pasteComponents(java.util.List<IDIYComponent<?>> components)
+
+
Adds a list of components to the project. +

+

+
+
+
+
Parameters:
components -
+
+
+
+ +

+deleteSelectedComponents

+
+void deleteSelectedComponents()
+
+
Deletes all the selected components from the project. +

+

+
+
+
+
+
+
+
+ +

+setSelectionDefaultPropertyValue

+
+void setSelectionDefaultPropertyValue(java.lang.String propertyName,
+                                      java.lang.Object value)
+
+
Sets default value for the specified property name for currently selected component types. +

+

+
+
+
+
Parameters:
propertyName - display name for property
value - new default value, must not be null
+
+
+
+ +

+setProjectDefaultPropertyValue

+
+void setProjectDefaultPropertyValue(java.lang.String propertyName,
+                                    java.lang.Object value)
+
+
Sets default value for the specified property name for projects. +

+

+
+
+
+
Parameters:
propertyName - display name for property
value - new default value, must not be null
+
+
+
+ +

+getMutualSelectionProperties

+
+java.util.List<PropertyWrapper> getMutualSelectionProperties()
+
+
+
+
+
+ +
Returns:
a list of properties that are mutual for all the selected components. Resulting list + may be empty if selected components do not have mutual properties or can be null if the + selection is empty.
+
+
+
+ +

+editSelection

+
+void editSelection()
+
+
+
+
+
+
+
+
+
+ +

+getProjectProperties

+
+java.util.List<PropertyWrapper> getProjectProperties()
+
+
+
+
+
+ +
Returns:
a list of editable properties of the current project.
+
+
+
+ +

+applyPropertiesToProject

+
+void applyPropertiesToProject(java.util.List<PropertyWrapper> properties)
+
+
Applies specified properties to the current project. +

+

+
+
+
+
Parameters:
properties -
+
+
+
+ +

+getNewComponentTypeSlot

+
+ComponentType getNewComponentTypeSlot()
+
+
Gets the current new component slot. +

+

+
+
+
+
+
+
+
+ +

+setNewComponentTypeSlot

+
+void setNewComponentTypeSlot(ComponentType componentType,
+                             Template template)
+
+
Sets the new component slot. Specified component type will be used to instantiate new + component. +

+

+
+
+
+
Parameters:
componentType -
template -
+
+
+
+ +

+setMetric

+
+void setMetric(boolean isMetric)
+
+
Changes default size notation, true for metric, false for imperial. +

+

+
+
+
+
Parameters:
isMetric -
+
+
+
+ +

+groupSelectedComponents

+
+void groupSelectedComponents()
+
+
Groups all selected components. +

+

+
+
+
+
+
+
+
+ +

+ungroupSelectedComponents

+
+void ungroupSelectedComponents()
+
+
Ungroups all selected components. +

+

+
+
+
+
+
+
+
+ +

+setLayerLocked

+
+void setLayerLocked(int layerZOrder,
+                    boolean locked)
+
+
Locks or unlocks the specified layer. All components within +- 0.5 range will be affected by + the change as well. +

+

+
+
+
+
Parameters:
layerZOrder -
locked -
+
+
+
+ +

+calculateSelectionDimension

+
+java.awt.geom.Point2D calculateSelectionDimension()
+
+
+
+
+
+ +
Returns:
selection size expressed in either inches or centimeters, based on the user preference.
+
+
+
+ +

+sendSelectionToBack

+
+void sendSelectionToBack()
+
+
Sends each of the selected components one step back. +

+

+
+
+
+
+
+
+
+ +

+bringSelectionToFront

+
+void bringSelectionToFront()
+
+
Brings each of the selected components one step to front. +

+

+
+
+
+
+
+
+
+ +

+refresh

+
+void refresh()
+
+
Causes the display to refresh. +

+

+
+
+
+
+
+
+
+ +

+getSelectedTheme

+
+Theme getSelectedTheme()
+
+
+
+
+
+ +
Returns:
currently selected theme.
+
+
+
+ +

+setSelectedTheme

+
+void setSelectedTheme(Theme theme)
+
+
Changes the current theme. +

+

+
+
+
+
Parameters:
theme -
+
+
+
+ +

+renumberSelectedComponents

+
+void renumberSelectedComponents(boolean xAxisFirst)
+
+
Renumbers all the selected components. +

+

+
+
+
+
Parameters:
xAxisFirst -
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/ISelectionProcessor.html b/diylc/diylc-core/doc/org/diylc/common/ISelectionProcessor.html new file mode 100644 index 00000000..5eef18fc --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/ISelectionProcessor.html @@ -0,0 +1,324 @@ + + + + + + +ISelectionProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Interface ISelectionProcessor

+
+
All Known Subinterfaces:
IPlugInPort
+
+
+
All Known Implementing Classes:
Presenter
+
+
+
+
public interface ISelectionProcessor
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidexpandSelection(ExpansionMode expansionMode) + +
+          Expands the current selection to include surrounding components.
+ java.util.List<IDIYComponent<?>>findComponentsAt(java.awt.Point point) + +
+          Finds all components at the specified location, sorted by z-index from top to bottom.
+ java.util.List<IDIYComponent<?>>getSelectedComponents() + +
+          Returns the current ComponentTransferable.
+ voidrotateSelection(int direction) + +
+          Rotates selection for 90 degrees.
+ voidselectAll(int layer) + +
+          Selects all components in the project.
+ voidupdateSelection(java.util.List<IDIYComponent<?>> newSelection) + +
+          Updates the selection with the specified list of component.
+  +

+ + + + + + + + +
+Method Detail
+ +

+getSelectedComponents

+
+java.util.List<IDIYComponent<?>> getSelectedComponents()
+
+
Returns the current ComponentTransferable. +

+

+ +
Returns:
+
+
+
+ +

+updateSelection

+
+void updateSelection(java.util.List<IDIYComponent<?>> newSelection)
+
+
Updates the selection with the specified list of component. Also, updates control point map + with all components that are stuck to the newly selected components. +

+

+
Parameters:
newSelection -
+
+
+
+ +

+findComponentsAt

+
+java.util.List<IDIYComponent<?>> findComponentsAt(java.awt.Point point)
+
+
Finds all components at the specified location, sorted by z-index from top to bottom. +

+

+
Parameters:
point - +
Returns:
+
+
+
+ +

+expandSelection

+
+void expandSelection(ExpansionMode expansionMode)
+
+
Expands the current selection to include surrounding components. Options are controlled with + expansionMode flag. +

+

+
Parameters:
expansionMode -
+
+
+
+ +

+selectAll

+
+void selectAll(int layer)
+
+
Selects all components in the project. +

+

+
Parameters:
int - layer if > 0, designates which layer to select. If <= 0 we should select all + regardless of layer
+
+
+
+ +

+rotateSelection

+
+void rotateSelection(int direction)
+
+
Rotates selection for 90 degrees. +

+

+
Parameters:
direction - 1 for clockwise, -1 for counter-clockwise
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/ITask.html b/diylc/diylc-core/doc/org/diylc/common/ITask.html new file mode 100644 index 00000000..b87a764f --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/ITask.html @@ -0,0 +1,264 @@ + + + + + + +ITask + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Interface ITask<T>

+
+
Type Parameters:
T -
+
+
+
public interface ITask<T>
+ + +

+Abstract layer between the app and platform worker thread implementation. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidcomplete(T result) + +
+          Called if background thread is executed correctly, the result is passed as a parameter.
+ TdoInBackground() + +
+          Runs in background thread.
+ voidfailed(java.lang.Exception e) + +
+          Called if background thread fails.
+  +

+ + + + + + + + +
+Method Detail
+ +

+doInBackground

+
+T doInBackground()
+                 throws java.lang.Exception
+
+
Runs in background thread. +

+

+ +
Returns:
+
Throws: +
java.lang.Exception
+
+
+
+ +

+failed

+
+void failed(java.lang.Exception e)
+
+
Called if background thread fails. +

+

+
Parameters:
e -
+
+
+
+ +

+complete

+
+void complete(T result)
+
+
Called if background thread is executed correctly, the result is passed as a parameter. +

+

+
Parameters:
result -
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/ITemplateProcessor.TemplateAlreadyExistsException.html b/diylc/diylc-core/doc/org/diylc/common/ITemplateProcessor.TemplateAlreadyExistsException.html new file mode 100644 index 00000000..00a6a272 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/ITemplateProcessor.TemplateAlreadyExistsException.html @@ -0,0 +1,243 @@ + + + + + + +ITemplateProcessor.TemplateAlreadyExistsException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Class ITemplateProcessor.TemplateAlreadyExistsException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.diylc.common.ITemplateProcessor.TemplateAlreadyExistsException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
Enclosing interface:
ITemplateProcessor
+
+
+
+
public static class ITemplateProcessor.TemplateAlreadyExistsException
extends java.lang.Exception
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ITemplateProcessor.TemplateAlreadyExistsException() + +
+           
+  + + + + + + + +
+Method Summary
+  + + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ITemplateProcessor.TemplateAlreadyExistsException

+
+public ITemplateProcessor.TemplateAlreadyExistsException()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/ITemplateProcessor.html b/diylc/diylc-core/doc/org/diylc/common/ITemplateProcessor.html new file mode 100644 index 00000000..e28c2b1a --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/ITemplateProcessor.html @@ -0,0 +1,347 @@ + + + + + + +ITemplateProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Interface ITemplateProcessor

+
+
All Known Subinterfaces:
IPlugInPort
+
+
+
All Known Implementing Classes:
Presenter
+
+
+
+
public interface ITemplateProcessor
+ + +

+


+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classITemplateProcessor.TemplateAlreadyExistsException + +
+           
+  + + + + + + + + + + +
+Field Summary
+static java.lang.StringTEMPLATES_KEY + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidapplyTemplateToSelection(Template template) + +
+           
+ voiddeleteTemplate(java.lang.String categoryName, + java.lang.String componentTypeName, + java.lang.String templateName) + +
+           
+ java.util.List<Template>getTemplatesFor(java.lang.String categoryName, + java.lang.String componentTypeName) + +
+           
+ java.util.List<Template>getTemplatesForSelection() + +
+           
+ voidsaveSelectedComponentAsTemplate(java.lang.String templateName) + +
+           
+  +

+ + + + + + + + +
+Field Detail
+ +

+TEMPLATES_KEY

+
+static final java.lang.String TEMPLATES_KEY
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+saveSelectedComponentAsTemplate

+
+void saveSelectedComponentAsTemplate(java.lang.String templateName)
+
+
+
+
+
+
+ +

+getTemplatesFor

+
+java.util.List<Template> getTemplatesFor(java.lang.String categoryName,
+                                         java.lang.String componentTypeName)
+
+
+
+
+
+
+ +

+getTemplatesForSelection

+
+java.util.List<Template> getTemplatesForSelection()
+
+
+
+
+
+
+ +

+applyTemplateToSelection

+
+void applyTemplateToSelection(Template template)
+
+
+
+
+
+
+ +

+deleteTemplate

+
+void deleteTemplate(java.lang.String categoryName,
+                    java.lang.String componentTypeName,
+                    java.lang.String templateName)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/LabelPosition.html b/diylc/diylc-core/doc/org/diylc/common/LabelPosition.html new file mode 100644 index 00000000..de4c1b5a --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/LabelPosition.html @@ -0,0 +1,344 @@ + + + + + + +LabelPosition + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Enum LabelPosition

+
+java.lang.Object
+  extended by java.lang.Enum<LabelPosition>
+      extended by org.diylc.common.LabelPosition
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LabelPosition>
+
+
+
+
public enum LabelPosition
extends java.lang.Enum<LabelPosition>
+ + +

+


+ +

+ + + + + + + + + + + + + +
+Enum Constant Summary
ABOVE + +
+           
BELOW + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringtoString() + +
+           
+static LabelPositionvalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static LabelPosition[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+ABOVE

+
+public static final LabelPosition ABOVE
+
+
+
+
+
+ +

+BELOW

+
+public static final LabelPosition BELOW
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static LabelPosition[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (LabelPosition c : LabelPosition.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static LabelPosition valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Enum<LabelPosition>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/ObjectCache.html b/diylc/diylc-core/doc/org/diylc/common/ObjectCache.html new file mode 100644 index 00000000..88e82bed --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/ObjectCache.html @@ -0,0 +1,246 @@ + + + + + + +ObjectCache + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Class ObjectCache

+
+java.lang.Object
+  extended by org.diylc.common.ObjectCache
+
+
+
+
public class ObjectCache
extends java.lang.Object
+ + +

+Repository for object that may be reused, such as Stroke or AlphaComposite. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ java.awt.StrokefetchBasicStroke(int width) + +
+           
+static ObjectCachegetInstance() + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public static ObjectCache getInstance()
+
+
+
+
+
+
+ +

+fetchBasicStroke

+
+public java.awt.Stroke fetchBasicStroke(int width)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/Orientation.html b/diylc/diylc-core/doc/org/diylc/common/Orientation.html new file mode 100644 index 00000000..58ef7069 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/Orientation.html @@ -0,0 +1,376 @@ + + + + + + +Orientation + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Enum Orientation

+
+java.lang.Object
+  extended by java.lang.Enum<Orientation>
+      extended by org.diylc.common.Orientation
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Orientation>
+
+
+
+
public enum Orientation
extends java.lang.Enum<Orientation>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
_180 + +
+           
_270 + +
+           
_90 + +
+           
DEFAULT + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringtoString() + +
+           
+static OrientationvalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static Orientation[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+DEFAULT

+
+public static final Orientation DEFAULT
+
+
+
+
+
+ +

+_90

+
+public static final Orientation _90
+
+
+
+
+
+ +

+_180

+
+public static final Orientation _180
+
+
+
+
+
+ +

+_270

+
+public static final Orientation _270
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static Orientation[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (Orientation c : Orientation.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static Orientation valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Enum<Orientation>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/OrientationHV.html b/diylc/diylc-core/doc/org/diylc/common/OrientationHV.html new file mode 100644 index 00000000..e630698c --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/OrientationHV.html @@ -0,0 +1,344 @@ + + + + + + +OrientationHV + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Enum OrientationHV

+
+java.lang.Object
+  extended by java.lang.Enum<OrientationHV>
+      extended by org.diylc.common.OrientationHV
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OrientationHV>
+
+
+
+
public enum OrientationHV
extends java.lang.Enum<OrientationHV>
+ + +

+


+ +

+ + + + + + + + + + + + + +
+Enum Constant Summary
HORIZONTAL + +
+           
VERTICAL + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringtoString() + +
+           
+static OrientationHVvalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static OrientationHV[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+VERTICAL

+
+public static final OrientationHV VERTICAL
+
+
+
+
+
+ +

+HORIZONTAL

+
+public static final OrientationHV HORIZONTAL
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static OrientationHV[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (OrientationHV c : OrientationHV.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static OrientationHV valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Enum<OrientationHV>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/PCBLayer.html b/diylc/diylc-core/doc/org/diylc/common/PCBLayer.html new file mode 100644 index 00000000..980e0c4c --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/PCBLayer.html @@ -0,0 +1,392 @@ + + + + + + +PCBLayer + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Enum PCBLayer

+
+java.lang.Object
+  extended by java.lang.Enum<PCBLayer>
+      extended by org.diylc.common.PCBLayer
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PCBLayer>
+
+
+
+
public enum PCBLayer
extends java.lang.Enum<PCBLayer>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
_1 + +
+           
_2 + +
+           
_3 + +
+           
_4 + +
+           
_5 + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringtoString() + +
+           
+static PCBLayervalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static PCBLayer[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+_1

+
+public static final PCBLayer _1
+
+
+
+
+
+ +

+_2

+
+public static final PCBLayer _2
+
+
+
+
+
+ +

+_3

+
+public static final PCBLayer _3
+
+
+
+
+
+ +

+_4

+
+public static final PCBLayer _4
+
+
+
+
+
+ +

+_5

+
+public static final PCBLayer _5
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static PCBLayer[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (PCBLayer c : PCBLayer.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static PCBLayer valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Enum<PCBLayer>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/PropertyWrapper.html b/diylc/diylc-core/doc/org/diylc/common/PropertyWrapper.html new file mode 100644 index 00000000..40d6c497 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/PropertyWrapper.html @@ -0,0 +1,632 @@ + + + + + + +PropertyWrapper + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Class PropertyWrapper

+
+java.lang.Object
+  extended by org.diylc.common.PropertyWrapper
+
+
+
All Implemented Interfaces:
java.lang.Cloneable
+
+
+
+
public class PropertyWrapper
extends java.lang.Object
implements java.lang.Cloneable
+ + +

+Entity class for editable properties extracted from component objects. Represents a single + editable property together with it's current value. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
PropertyWrapper(java.lang.String name, + java.lang.Class<?> type, + java.lang.String getter, + java.lang.String setter, + boolean defaultable, + IPropertyValidator validator) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.Objectclone() + +
+           
+ booleanequals(java.lang.Object obj) + +
+           
+ java.lang.StringgetName() + +
+           
+ java.lang.Class<?>getType() + +
+           
+ IPropertyValidatorgetValidator() + +
+           
+ java.lang.ObjectgetValue() + +
+           
+ inthashCode() + +
+           
+ booleanisChanged() + +
+           
+ booleanisDefaultable() + +
+           
+ booleanisUnique() + +
+           
+ voidreadFrom(java.lang.Object object) + +
+           
+ voidsetChanged(boolean changed) + +
+           
+ voidsetUnique(boolean unique) + +
+           
+ voidsetValue(java.lang.Object value) + +
+           
+ java.lang.StringtoString() + +
+           
+ voidwriteTo(java.lang.Object object) + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PropertyWrapper

+
+public PropertyWrapper(java.lang.String name,
+                       java.lang.Class<?> type,
+                       java.lang.String getter,
+                       java.lang.String setter,
+                       boolean defaultable,
+                       IPropertyValidator validator)
+
+
+ + + + + + + + +
+Method Detail
+ +

+readFrom

+
+public void readFrom(java.lang.Object object)
+              throws java.lang.IllegalArgumentException,
+                     java.lang.IllegalAccessException,
+                     java.lang.reflect.InvocationTargetException,
+                     java.lang.SecurityException,
+                     java.lang.NoSuchMethodException
+
+
+
+
+
+ +
Throws: +
java.lang.IllegalArgumentException +
java.lang.IllegalAccessException +
java.lang.reflect.InvocationTargetException +
java.lang.SecurityException +
java.lang.NoSuchMethodException
+
+
+
+ +

+writeTo

+
+public void writeTo(java.lang.Object object)
+             throws java.lang.IllegalArgumentException,
+                    java.lang.IllegalAccessException,
+                    java.lang.reflect.InvocationTargetException,
+                    java.lang.SecurityException,
+                    java.lang.NoSuchMethodException
+
+
+
+
+
+ +
Throws: +
java.lang.IllegalArgumentException +
java.lang.IllegalAccessException +
java.lang.reflect.InvocationTargetException +
java.lang.SecurityException +
java.lang.NoSuchMethodException
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
+
+
+
+
+
+
+
+ +

+getType

+
+public java.lang.Class<?> getType()
+
+
+
+
+
+
+
+
+
+ +

+getValue

+
+public java.lang.Object getValue()
+
+
+
+
+
+
+
+
+
+ +

+setValue

+
+public void setValue(java.lang.Object value)
+
+
+
+
+
+
+
+
+
+ +

+isDefaultable

+
+public boolean isDefaultable()
+
+
+
+
+
+
+
+
+
+ +

+getValidator

+
+public IPropertyValidator getValidator()
+
+
+
+
+
+
+
+
+
+ +

+isUnique

+
+public boolean isUnique()
+
+
+
+
+
+
+
+
+
+ +

+setUnique

+
+public void setUnique(boolean unique)
+
+
+
+
+
+
+
+
+
+ +

+isChanged

+
+public boolean isChanged()
+
+
+
+
+
+
+
+
+
+ +

+setChanged

+
+public void setChanged(boolean changed)
+
+
+
+
+
+
+
+
+
+ +

+clone

+
+public java.lang.Object clone()
+                       throws java.lang.CloneNotSupportedException
+
+
+
Overrides:
clone in class java.lang.Object
+
+
+ +
Throws: +
java.lang.CloneNotSupportedException
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/ResistorColorCode.html b/diylc/diylc-core/doc/org/diylc/common/ResistorColorCode.html new file mode 100644 index 00000000..cd0284f6 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/ResistorColorCode.html @@ -0,0 +1,360 @@ + + + + + + +ResistorColorCode + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Enum ResistorColorCode

+
+java.lang.Object
+  extended by java.lang.Enum<ResistorColorCode>
+      extended by org.diylc.common.ResistorColorCode
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ResistorColorCode>
+
+
+
+
public enum ResistorColorCode
extends java.lang.Enum<ResistorColorCode>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Enum Constant Summary
_4_BAND + +
+           
_5_BAND + +
+           
NONE + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringtoString() + +
+           
+static ResistorColorCodevalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static ResistorColorCode[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+NONE

+
+public static final ResistorColorCode NONE
+
+
+
+
+
+ +

+_4_BAND

+
+public static final ResistorColorCode _4_BAND
+
+
+
+
+
+ +

+_5_BAND

+
+public static final ResistorColorCode _5_BAND
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static ResistorColorCode[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (ResistorColorCode c : ResistorColorCode.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static ResistorColorCode valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Enum<ResistorColorCode>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/VerticalAlignment.html b/diylc/diylc-core/doc/org/diylc/common/VerticalAlignment.html new file mode 100644 index 00000000..609789c5 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/VerticalAlignment.html @@ -0,0 +1,360 @@ + + + + + + +VerticalAlignment + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.common +
+Enum VerticalAlignment

+
+java.lang.Object
+  extended by java.lang.Enum<VerticalAlignment>
+      extended by org.diylc.common.VerticalAlignment
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<VerticalAlignment>
+
+
+
+
public enum VerticalAlignment
extends java.lang.Enum<VerticalAlignment>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Enum Constant Summary
BOTTOM + +
+           
CENTER + +
+           
TOP + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringtoString() + +
+           
+static VerticalAlignmentvalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static VerticalAlignment[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+TOP

+
+public static final VerticalAlignment TOP
+
+
+
+
+
+ +

+CENTER

+
+public static final VerticalAlignment CENTER
+
+
+
+
+
+ +

+BOTTOM

+
+public static final VerticalAlignment BOTTOM
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static VerticalAlignment[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (VerticalAlignment c : VerticalAlignment.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static VerticalAlignment valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Enum<VerticalAlignment>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/BadPositionException.html b/diylc/diylc-core/doc/org/diylc/common/class-use/BadPositionException.html new file mode 100644 index 00000000..de7bcedb --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/BadPositionException.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.common.BadPositionException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.common.BadPositionException

+
+No usage of org.diylc.common.BadPositionException +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/ComponentType.html b/diylc/diylc-core/doc/org/diylc/common/class-use/ComponentType.html new file mode 100644 index 00000000..c5c33fdb --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/ComponentType.html @@ -0,0 +1,329 @@ + + + + + + +Uses of Class org.diylc.common.ComponentType + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.common.ComponentType

+
+ + + + + + + + + + + + + +
+Packages that use ComponentType
org.diylc.common  
org.diylc.presenter  
+  +

+ + + + + +
+Uses of ComponentType in org.diylc.common
+  +

+ + + + + + + + + +
Methods in org.diylc.common that return ComponentType
+ ComponentTypeIPlugInPort.getNewComponentTypeSlot() + +
+          Gets the current new component slot.
+  +

+ + + + + + + + + +
Methods in org.diylc.common that return types with arguments of type ComponentType
+ java.util.Map<java.lang.String,java.util.List<ComponentType>>IPlugInPort.getComponentTypes() + +
+          Returns all available ComponentTypes classified by category.
+  +

+ + + + + + + + + +
Methods in org.diylc.common with parameters of type ComponentType
+ voidIPlugInPort.setNewComponentTypeSlot(ComponentType componentType, + Template template) + +
+          Sets the new component slot.
+  +

+ + + + + +
+Uses of ComponentType in org.diylc.presenter
+  +

+ + + + + + + + + + + + + + + + + +
Methods in org.diylc.presenter that return ComponentType
+ ComponentTypeComponentProcessor.extractComponentTypeFrom(java.lang.Class<? extends IDIYComponent<?>> clazz) + +
+           
+ ComponentTypeInstantiationManager.getComponentTypeSlot() + +
+           
+ ComponentTypePresenter.getNewComponentTypeSlot() + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.presenter that return types with arguments of type ComponentType
+ java.util.Comparator<ComponentType>ComparatorFactory.getComponentTypeComparator() + +
+           
+ java.util.Map<java.lang.String,java.util.List<ComponentType>>Presenter.getComponentTypes() + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in org.diylc.presenter with parameters of type ComponentType
+ java.lang.StringInstantiationManager.createUniqueName(ComponentType componentType, + Project currentProject) + +
+           
+ java.util.List<IDIYComponent<?>>InstantiationManager.instantiateComponent(ComponentType componentType, + Template template, + java.awt.Point point, + Project currentProject) + +
+           
+ voidInstantiationManager.setComponentTypeSlot(ComponentType componentTypeSlot, + Template template, + Project currentProject) + +
+           
+ voidPresenter.setNewComponentTypeSlot(ComponentType componentType, + Template template) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/Display.html b/diylc/diylc-core/doc/org/diylc/common/class-use/Display.html new file mode 100644 index 00000000..86e4dc3d --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/Display.html @@ -0,0 +1,234 @@ + + + + + + +Uses of Class org.diylc.common.Display + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.common.Display

+
+ + + + + + + + + + + + + +
+Packages that use Display
org.diylc.common  
org.diylc.components  
+  +

+ + + + + +
+Uses of Display in org.diylc.common
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.common that return Display
+static DisplayDisplay.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static Display[]Display.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + +
+Uses of Display in org.diylc.components
+  +

+ + + + + + + + + +
Methods in org.diylc.components that return Display
+ DisplayAbstractLeadedComponent.getDisplay() + +
+           
+  +

+ + + + + + + + + +
Methods in org.diylc.components with parameters of type Display
+ voidAbstractLeadedComponent.setDisplay(Display display) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/DrawOption.html b/diylc/diylc-core/doc/org/diylc/common/class-use/DrawOption.html new file mode 100644 index 00000000..ac7940b7 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/DrawOption.html @@ -0,0 +1,256 @@ + + + + + + +Uses of Class org.diylc.common.DrawOption + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.common.DrawOption

+
+ + + + + + + + + + + + + +
+Packages that use DrawOption
org.diylc.common  
org.diylc.presenter  
+  +

+ + + + + +
+Uses of DrawOption in org.diylc.common
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.common that return DrawOption
+static DrawOptionDrawOption.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static DrawOption[]DrawOption.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + + + + + +
Method parameters in org.diylc.common with type arguments of type DrawOption
+ voidIPlugInPort.draw(java.awt.Graphics2D g2d, + java.util.Set<DrawOption> drawOptions, + IComponentFiler filter) + +
+          Draws project on the provided Graphics2D.
+  +

+ + + + + +
+Uses of DrawOption in org.diylc.presenter
+  +

+ + + + + + + + + + + + + +
Method parameters in org.diylc.presenter with type arguments of type DrawOption
+ voidPresenter.draw(java.awt.Graphics2D g2d, + java.util.Set<DrawOption> drawOptions, + IComponentFiler filter) + +
+           
+ java.util.List<IDIYComponent<?>>DrawingManager.drawProject(java.awt.Graphics2D g2d, + Project project, + java.util.Set<DrawOption> drawOptions, + IComponentFiler filter, + java.awt.Rectangle selectionRect, + java.util.List<IDIYComponent<?>> selectedComponents, + java.util.Set<IDIYComponent<?>> lockedComponents, + java.util.Set<IDIYComponent<?>> groupedComponents, + java.util.List<java.awt.Point> controlPointSlot, + java.util.List<IDIYComponent<?>> componentSlot, + boolean dragInProgress) + +
+          Paints the project onto the canvas and returns the list of components that failed to draw.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/EventType.html b/diylc/diylc-core/doc/org/diylc/common/class-use/EventType.html new file mode 100644 index 00000000..1b3ccb4e --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/EventType.html @@ -0,0 +1,222 @@ + + + + + + +Uses of Class org.diylc.common.EventType + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.common.EventType

+
+ + + + + + + + + + + + + +
+Packages that use EventType
org.diylc.common  
org.diylc.presenter  
+  +

+ + + + + +
+Uses of EventType in org.diylc.common
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.common that return EventType
+static EventTypeEventType.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static EventType[]EventType.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + +
+Uses of EventType in org.diylc.presenter
+  +

+ + + + + + + + + + + +
Constructor parameters in org.diylc.presenter with type arguments of type EventType
DrawingManager(org.diylc.appframework.simplemq.MessageDispatcher<EventType> messageDispatcher) + +
+           
ProjectFileManager(org.diylc.appframework.simplemq.MessageDispatcher<EventType> messageDispatcher) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/GridType.html b/diylc/diylc-core/doc/org/diylc/common/class-use/GridType.html new file mode 100644 index 00000000..8529de2d --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/GridType.html @@ -0,0 +1,189 @@ + + + + + + +Uses of Class org.diylc.common.GridType + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.common.GridType

+
+ + + + + + + + + +
+Packages that use GridType
org.diylc.common  
+  +

+ + + + + +
+Uses of GridType in org.diylc.common
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.common that return GridType
+static GridTypeGridType.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static GridType[]GridType.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/HorizontalAlignment.html b/diylc/diylc-core/doc/org/diylc/common/class-use/HorizontalAlignment.html new file mode 100644 index 00000000..9ca31935 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/HorizontalAlignment.html @@ -0,0 +1,189 @@ + + + + + + +Uses of Class org.diylc.common.HorizontalAlignment + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.common.HorizontalAlignment

+
+ + + + + + + + + +
+Packages that use HorizontalAlignment
org.diylc.common  
+  +

+ + + + + +
+Uses of HorizontalAlignment in org.diylc.common
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.common that return HorizontalAlignment
+static HorizontalAlignmentHorizontalAlignment.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static HorizontalAlignment[]HorizontalAlignment.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/IComponentFiler.html b/diylc/diylc-core/doc/org/diylc/common/class-use/IComponentFiler.html new file mode 100644 index 00000000..18881105 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/IComponentFiler.html @@ -0,0 +1,247 @@ + + + + + + +Uses of Interface org.diylc.common.IComponentFiler + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.diylc.common.IComponentFiler

+
+ + + + + + + + + + + + + +
+Packages that use IComponentFiler
org.diylc.common  
org.diylc.presenter  
+  +

+ + + + + +
+Uses of IComponentFiler in org.diylc.common
+  +

+ + + + + + + + + +
Methods in org.diylc.common with parameters of type IComponentFiler
+ voidIPlugInPort.draw(java.awt.Graphics2D g2d, + java.util.Set<DrawOption> drawOptions, + IComponentFiler filter) + +
+          Draws project on the provided Graphics2D.
+  +

+ + + + + +
+Uses of IComponentFiler in org.diylc.presenter
+  +

+ + + + + + + + + +
Classes in org.diylc.presenter that implement IComponentFiler
+ classPCBLayerFiler + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.presenter with parameters of type IComponentFiler
+ voidPresenter.draw(java.awt.Graphics2D g2d, + java.util.Set<DrawOption> drawOptions, + IComponentFiler filter) + +
+           
+ java.util.List<IDIYComponent<?>>DrawingManager.drawProject(java.awt.Graphics2D g2d, + Project project, + java.util.Set<DrawOption> drawOptions, + IComponentFiler filter, + java.awt.Rectangle selectionRect, + java.util.List<IDIYComponent<?>> selectedComponents, + java.util.Set<IDIYComponent<?>> lockedComponents, + java.util.Set<IDIYComponent<?>> groupedComponents, + java.util.List<java.awt.Point> controlPointSlot, + java.util.List<IDIYComponent<?>> componentSlot, + boolean dragInProgress) + +
+          Paints the project onto the canvas and returns the list of components that failed to draw.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/IKeyProcessor.html b/diylc/diylc-core/doc/org/diylc/common/class-use/IKeyProcessor.html new file mode 100644 index 00000000..2ab78f4e --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/IKeyProcessor.html @@ -0,0 +1,209 @@ + + + + + + +Uses of Interface org.diylc.common.IKeyProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.diylc.common.IKeyProcessor

+
+ + + + + + + + + + + + + +
+Packages that use IKeyProcessor
org.diylc.common  
org.diylc.presenter  
+  +

+ + + + + +
+Uses of IKeyProcessor in org.diylc.common
+  +

+ + + + + + + + + +
Subinterfaces of IKeyProcessor in org.diylc.common
+ interfaceIPlugInPort + +
+          Interface for communication between plug-ins and the application.
+  +

+ + + + + +
+Uses of IKeyProcessor in org.diylc.presenter
+  +

+ + + + + + + + + +
Classes in org.diylc.presenter that implement IKeyProcessor
+ classPresenter + +
+          The main presenter class, contains core app logic and drawing routines.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/IMouseProcessor.html b/diylc/diylc-core/doc/org/diylc/common/class-use/IMouseProcessor.html new file mode 100644 index 00000000..1b78ea6c --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/IMouseProcessor.html @@ -0,0 +1,209 @@ + + + + + + +Uses of Interface org.diylc.common.IMouseProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.diylc.common.IMouseProcessor

+
+ + + + + + + + + + + + + +
+Packages that use IMouseProcessor
org.diylc.common  
org.diylc.presenter  
+  +

+ + + + + +
+Uses of IMouseProcessor in org.diylc.common
+  +

+ + + + + + + + + +
Subinterfaces of IMouseProcessor in org.diylc.common
+ interfaceIPlugInPort + +
+          Interface for communication between plug-ins and the application.
+  +

+ + + + + +
+Uses of IMouseProcessor in org.diylc.presenter
+  +

+ + + + + + + + + +
Classes in org.diylc.presenter that implement IMouseProcessor
+ classPresenter + +
+          The main presenter class, contains core app logic and drawing routines.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/IPlugIn.html b/diylc/diylc-core/doc/org/diylc/common/class-use/IPlugIn.html new file mode 100644 index 00000000..bc9cdc33 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/IPlugIn.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Interface org.diylc.common.IPlugIn + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.diylc.common.IPlugIn

+
+ + + + + + + + + +
+Packages that use IPlugIn
org.diylc.presenter  
+  +

+ + + + + +
+Uses of IPlugIn in org.diylc.presenter
+  +

+ + + + + + + + + +
Methods in org.diylc.presenter with parameters of type IPlugIn
+ voidPresenter.installPlugin(IPlugIn plugIn) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/IPlugInPort.html b/diylc/diylc-core/doc/org/diylc/common/class-use/IPlugInPort.html new file mode 100644 index 00000000..f1338baf --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/IPlugInPort.html @@ -0,0 +1,209 @@ + + + + + + +Uses of Interface org.diylc.common.IPlugInPort + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.diylc.common.IPlugInPort

+
+ + + + + + + + + + + + + +
+Packages that use IPlugInPort
org.diylc.common  
org.diylc.presenter  
+  +

+ + + + + +
+Uses of IPlugInPort in org.diylc.common
+  +

+ + + + + + + + + +
Methods in org.diylc.common with parameters of type IPlugInPort
+ voidIPlugIn.connect(IPlugInPort plugInPort) + +
+          Method that connects the plug-in with IPlugInPort.
+  +

+ + + + + +
+Uses of IPlugInPort in org.diylc.presenter
+  +

+ + + + + + + + + +
Classes in org.diylc.presenter that implement IPlugInPort
+ classPresenter + +
+          The main presenter class, contains core app logic and drawing routines.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/ISelectionProcessor.html b/diylc/diylc-core/doc/org/diylc/common/class-use/ISelectionProcessor.html new file mode 100644 index 00000000..479b1e12 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/ISelectionProcessor.html @@ -0,0 +1,209 @@ + + + + + + +Uses of Interface org.diylc.common.ISelectionProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.diylc.common.ISelectionProcessor

+
+ + + + + + + + + + + + + +
+Packages that use ISelectionProcessor
org.diylc.common  
org.diylc.presenter  
+  +

+ + + + + +
+Uses of ISelectionProcessor in org.diylc.common
+  +

+ + + + + + + + + +
Subinterfaces of ISelectionProcessor in org.diylc.common
+ interfaceIPlugInPort + +
+          Interface for communication between plug-ins and the application.
+  +

+ + + + + +
+Uses of ISelectionProcessor in org.diylc.presenter
+  +

+ + + + + + + + + +
Classes in org.diylc.presenter that implement ISelectionProcessor
+ classPresenter + +
+          The main presenter class, contains core app logic and drawing routines.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/ITask.html b/diylc/diylc-core/doc/org/diylc/common/class-use/ITask.html new file mode 100644 index 00000000..5c063aac --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/ITask.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Interface org.diylc.common.ITask + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.diylc.common.ITask

+
+No usage of org.diylc.common.ITask +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/ITemplateProcessor.TemplateAlreadyExistsException.html b/diylc/diylc-core/doc/org/diylc/common/class-use/ITemplateProcessor.TemplateAlreadyExistsException.html new file mode 100644 index 00000000..e0f3f68c --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/ITemplateProcessor.TemplateAlreadyExistsException.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.common.ITemplateProcessor.TemplateAlreadyExistsException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.common.ITemplateProcessor.TemplateAlreadyExistsException

+
+No usage of org.diylc.common.ITemplateProcessor.TemplateAlreadyExistsException +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/ITemplateProcessor.html b/diylc/diylc-core/doc/org/diylc/common/class-use/ITemplateProcessor.html new file mode 100644 index 00000000..595a6e31 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/ITemplateProcessor.html @@ -0,0 +1,209 @@ + + + + + + +Uses of Interface org.diylc.common.ITemplateProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.diylc.common.ITemplateProcessor

+
+ + + + + + + + + + + + + +
+Packages that use ITemplateProcessor
org.diylc.common  
org.diylc.presenter  
+  +

+ + + + + +
+Uses of ITemplateProcessor in org.diylc.common
+  +

+ + + + + + + + + +
Subinterfaces of ITemplateProcessor in org.diylc.common
+ interfaceIPlugInPort + +
+          Interface for communication between plug-ins and the application.
+  +

+ + + + + +
+Uses of ITemplateProcessor in org.diylc.presenter
+  +

+ + + + + + + + + +
Classes in org.diylc.presenter that implement ITemplateProcessor
+ classPresenter + +
+          The main presenter class, contains core app logic and drawing routines.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/LabelPosition.html b/diylc/diylc-core/doc/org/diylc/common/class-use/LabelPosition.html new file mode 100644 index 00000000..a0c2c647 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/LabelPosition.html @@ -0,0 +1,234 @@ + + + + + + +Uses of Class org.diylc.common.LabelPosition + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.common.LabelPosition

+
+ + + + + + + + + + + + + +
+Packages that use LabelPosition
org.diylc.common  
org.diylc.components  
+  +

+ + + + + +
+Uses of LabelPosition in org.diylc.common
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.common that return LabelPosition
+static LabelPositionLabelPosition.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static LabelPosition[]LabelPosition.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + +
+Uses of LabelPosition in org.diylc.components
+  +

+ + + + + + + + + +
Methods in org.diylc.components that return LabelPosition
+ LabelPositionAbstractSchematicLeadedSymbol.getLabelPosition() + +
+           
+  +

+ + + + + + + + + +
Methods in org.diylc.components with parameters of type LabelPosition
+ voidAbstractSchematicLeadedSymbol.setLabelPosition(LabelPosition labelPosition) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/ObjectCache.html b/diylc/diylc-core/doc/org/diylc/common/class-use/ObjectCache.html new file mode 100644 index 00000000..6dc31656 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/ObjectCache.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Class org.diylc.common.ObjectCache + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.common.ObjectCache

+
+ + + + + + + + + +
+Packages that use ObjectCache
org.diylc.common  
+  +

+ + + + + +
+Uses of ObjectCache in org.diylc.common
+  +

+ + + + + + + + + +
Methods in org.diylc.common that return ObjectCache
+static ObjectCacheObjectCache.getInstance() + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/Orientation.html b/diylc/diylc-core/doc/org/diylc/common/class-use/Orientation.html new file mode 100644 index 00000000..3e2a8a87 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/Orientation.html @@ -0,0 +1,189 @@ + + + + + + +Uses of Class org.diylc.common.Orientation + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.common.Orientation

+
+ + + + + + + + + +
+Packages that use Orientation
org.diylc.common  
+  +

+ + + + + +
+Uses of Orientation in org.diylc.common
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.common that return Orientation
+static OrientationOrientation.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static Orientation[]Orientation.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/OrientationHV.html b/diylc/diylc-core/doc/org/diylc/common/class-use/OrientationHV.html new file mode 100644 index 00000000..ca939492 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/OrientationHV.html @@ -0,0 +1,189 @@ + + + + + + +Uses of Class org.diylc.common.OrientationHV + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.common.OrientationHV

+
+ + + + + + + + + +
+Packages that use OrientationHV
org.diylc.common  
+  +

+ + + + + +
+Uses of OrientationHV in org.diylc.common
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.common that return OrientationHV
+static OrientationHVOrientationHV.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static OrientationHV[]OrientationHV.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/PCBLayer.html b/diylc/diylc-core/doc/org/diylc/common/class-use/PCBLayer.html new file mode 100644 index 00000000..efa1390a --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/PCBLayer.html @@ -0,0 +1,216 @@ + + + + + + +Uses of Class org.diylc.common.PCBLayer + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.common.PCBLayer

+
+ + + + + + + + + + + + + +
+Packages that use PCBLayer
org.diylc.common  
org.diylc.presenter  
+  +

+ + + + + +
+Uses of PCBLayer in org.diylc.common
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.common that return PCBLayer
+static PCBLayerPCBLayer.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static PCBLayer[]PCBLayer.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + +
+Uses of PCBLayer in org.diylc.presenter
+  +

+ + + + + + + + +
Constructors in org.diylc.presenter with parameters of type PCBLayer
PCBLayerFiler(PCBLayer layer) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/PropertyWrapper.html b/diylc/diylc-core/doc/org/diylc/common/class-use/PropertyWrapper.html new file mode 100644 index 00000000..a65b6206 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/PropertyWrapper.html @@ -0,0 +1,320 @@ + + + + + + +Uses of Class org.diylc.common.PropertyWrapper + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.common.PropertyWrapper

+
+ + + + + + + + + + + + + + + + + +
+Packages that use PropertyWrapper
org.diylc.common  
org.diylc.core  
org.diylc.presenter  
+  +

+ + + + + +
+Uses of PropertyWrapper in org.diylc.common
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.common that return types with arguments of type PropertyWrapper
+ java.util.List<PropertyWrapper>IPlugInPort.getMutualSelectionProperties() + +
+           
+ java.util.List<PropertyWrapper>IPlugInPort.getProjectProperties() + +
+           
+  +

+ + + + + + + + + +
Method parameters in org.diylc.common with type arguments of type PropertyWrapper
+ voidIPlugInPort.applyPropertiesToProject(java.util.List<PropertyWrapper> properties) + +
+          Applies specified properties to the current project.
+  +

+ + + + + +
+Uses of PropertyWrapper in org.diylc.core
+  +

+ + + + + + + + + + + + + +
Method parameters in org.diylc.core with type arguments of type PropertyWrapper
+ booleanIView.editProperties(java.util.List<PropertyWrapper> properties, + java.util.Set<PropertyWrapper> defaultedProperties) + +
+           
+ booleanIView.editProperties(java.util.List<PropertyWrapper> properties, + java.util.Set<PropertyWrapper> defaultedProperties) + +
+           
+  +

+ + + + + +
+Uses of PropertyWrapper in org.diylc.presenter
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in org.diylc.presenter that return types with arguments of type PropertyWrapper
+ java.util.List<PropertyWrapper>ComponentProcessor.extractProperties(java.lang.Class<?> clazz) + +
+          Extracts all editable properties from the component class.
+ java.util.List<PropertyWrapper>Presenter.getMutualSelectionProperties() + +
+           
+ java.util.List<PropertyWrapper>ComponentProcessor.getMutualSelectionProperties(java.util.List<IDIYComponent<?>> selectedComponents) + +
+          Returns properties that have the same value for all the selected components.
+ java.util.List<PropertyWrapper>Presenter.getProjectProperties() + +
+           
+ java.util.Comparator<PropertyWrapper>ComparatorFactory.getPropertyNameComparator() + +
+           
+  +

+ + + + + + + + + +
Method parameters in org.diylc.presenter with type arguments of type PropertyWrapper
+ voidPresenter.applyPropertiesToProject(java.util.List<PropertyWrapper> properties) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/ResistorColorCode.html b/diylc/diylc-core/doc/org/diylc/common/class-use/ResistorColorCode.html new file mode 100644 index 00000000..770ed649 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/ResistorColorCode.html @@ -0,0 +1,218 @@ + + + + + + +Uses of Class org.diylc.common.ResistorColorCode + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.common.ResistorColorCode

+
+ + + + + + + + + + + + + +
+Packages that use ResistorColorCode
org.diylc.common  
org.diylc.core.measures  
+  +

+ + + + + +
+Uses of ResistorColorCode in org.diylc.common
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.common that return ResistorColorCode
+static ResistorColorCodeResistorColorCode.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static ResistorColorCode[]ResistorColorCode.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + +
+Uses of ResistorColorCode in org.diylc.core.measures
+  +

+ + + + + + + + + +
Methods in org.diylc.core.measures with parameters of type ResistorColorCode
+ java.awt.Color[]Resistance.getColorCode(ResistorColorCode resistorColorCode) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/class-use/VerticalAlignment.html b/diylc/diylc-core/doc/org/diylc/common/class-use/VerticalAlignment.html new file mode 100644 index 00000000..107cab3b --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/class-use/VerticalAlignment.html @@ -0,0 +1,189 @@ + + + + + + +Uses of Class org.diylc.common.VerticalAlignment + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.common.VerticalAlignment

+
+ + + + + + + + + +
+Packages that use VerticalAlignment
org.diylc.common  
+  +

+ + + + + +
+Uses of VerticalAlignment in org.diylc.common
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.common that return VerticalAlignment
+static VerticalAlignmentVerticalAlignment.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static VerticalAlignment[]VerticalAlignment.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/package-frame.html b/diylc/diylc-core/doc/org/diylc/common/package-frame.html new file mode 100644 index 00000000..7f7636b7 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/package-frame.html @@ -0,0 +1,105 @@ + + + + + + +org.diylc.common + + + + + + + + + + + +org.diylc.common + + + + +
+Interfaces  + +
+IComponentFiler +
+IKeyProcessor +
+IMouseProcessor +
+IPlugIn +
+IPlugInPort +
+ISelectionProcessor +
+ITask +
+ITemplateProcessor
+ + + + + + +
+Classes  + +
+ComponentType +
+ObjectCache +
+PropertyWrapper
+ + + + + + +
+Enums  + +
+Display +
+DrawOption +
+EventType +
+GridType +
+HorizontalAlignment +
+LabelPosition +
+Orientation +
+OrientationHV +
+PCBLayer +
+ResistorColorCode +
+VerticalAlignment
+ + + + + + +
+Exceptions  + +
+BadPositionException +
+ITemplateProcessor.TemplateAlreadyExistsException
+ + + + diff --git a/diylc/diylc-core/doc/org/diylc/common/package-summary.html b/diylc/diylc-core/doc/org/diylc/common/package-summary.html new file mode 100644 index 00000000..5a054e63 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/package-summary.html @@ -0,0 +1,279 @@ + + + + + + +org.diylc.common + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.diylc.common +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
IComponentFiler 
IKeyProcessor 
IMouseProcessor 
IPlugInInterface for plug-ins.
IPlugInPortInterface for communication between plug-ins and the application.
ISelectionProcessor 
ITask<T>Abstract layer between the app and platform worker thread implementation.
ITemplateProcessor 
+  + +

+ + + + + + + + + + + + + + + + + +
+Class Summary
ComponentTypeEntity class used to describe a component type.
ObjectCacheRepository for object that may be reused, such as Stroke or AlphaComposite.
PropertyWrapperEntity class for editable properties extracted from component objects.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Enum Summary
Display 
DrawOptionEnumerates all options that can be used when drawing a project.
EventTypeEnumerates all possible events between IPlugInPort and IPlugIn.
GridType 
HorizontalAlignment 
LabelPosition 
Orientation 
OrientationHV 
PCBLayer 
ResistorColorCode 
VerticalAlignment 
+  + +

+ + + + + + + + + + + + + +
+Exception Summary
BadPositionException 
ITemplateProcessor.TemplateAlreadyExistsException 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/package-tree.html b/diylc/diylc-core/doc/org/diylc/common/package-tree.html new file mode 100644 index 00000000..710490c5 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/package-tree.html @@ -0,0 +1,188 @@ + + + + + + +org.diylc.common Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.diylc.common +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/common/package-use.html b/diylc/diylc-core/doc/org/diylc/common/package-use.html new file mode 100644 index 00000000..6ddd9566 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/common/package-use.html @@ -0,0 +1,432 @@ + + + + + + +Uses of Package org.diylc.common + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
org.diylc.common

+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages that use org.diylc.common
org.diylc.common  
org.diylc.components  
org.diylc.core  
org.diylc.core.measures  
org.diylc.presenter  
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in org.diylc.common used by org.diylc.common
ComponentType + +
+          Entity class used to describe a component type.
Display + +
+           
DrawOption + +
+          Enumerates all options that can be used when drawing a project.
EventType + +
+          Enumerates all possible events between IPlugInPort and IPlugIn.
GridType + +
+           
HorizontalAlignment + +
+           
IComponentFiler + +
+           
IKeyProcessor + +
+           
IMouseProcessor + +
+           
IPlugInPort + +
+          Interface for communication between plug-ins and the application.
ISelectionProcessor + +
+           
ITemplateProcessor + +
+           
LabelPosition + +
+           
ObjectCache + +
+          Repository for object that may be reused, such as Stroke or AlphaComposite.
Orientation + +
+           
OrientationHV + +
+           
PCBLayer + +
+           
PropertyWrapper + +
+          Entity class for editable properties extracted from component objects.
ResistorColorCode + +
+           
VerticalAlignment + +
+           
+  +

+ + + + + + + + + + + +
+Classes in org.diylc.common used by org.diylc.components
Display + +
+           
LabelPosition + +
+           
+  +

+ + + + + + + + +
+Classes in org.diylc.common used by org.diylc.core
PropertyWrapper + +
+          Entity class for editable properties extracted from component objects.
+  +

+ + + + + + + + +
+Classes in org.diylc.common used by org.diylc.core.measures
ResistorColorCode + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in org.diylc.common used by org.diylc.presenter
ComponentType + +
+          Entity class used to describe a component type.
DrawOption + +
+          Enumerates all options that can be used when drawing a project.
EventType + +
+          Enumerates all possible events between IPlugInPort and IPlugIn.
IComponentFiler + +
+           
IKeyProcessor + +
+           
IMouseProcessor + +
+           
IPlugIn + +
+          Interface for plug-ins.
IPlugInPort + +
+          Interface for communication between plug-ins and the application.
ISelectionProcessor + +
+           
ITemplateProcessor + +
+           
PCBLayer + +
+           
PropertyWrapper + +
+          Entity class for editable properties extracted from component objects.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/components/AbstractComponent.html b/diylc/diylc-core/doc/org/diylc/components/AbstractComponent.html new file mode 100644 index 00000000..8bf618d6 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/components/AbstractComponent.html @@ -0,0 +1,551 @@ + + + + + + +AbstractComponent + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.components +
+Class AbstractComponent<T>

+
+java.lang.Object
+  extended by org.diylc.components.AbstractComponent<T>
+
+
+
Type Parameters:
T -
+
+
All Implemented Interfaces:
java.io.Serializable, IDIYComponent<T>
+
+
+
Direct Known Subclasses:
AbstractTransparentComponent
+
+
+
+
public abstract class AbstractComponent<T>
extends java.lang.Object
implements IDIYComponent<T>
+ + +

+Abstract implementation of IDIYComponent that contains component name and toString. + + IMPORTANT: to improve performance, all fields except for Point and + Point arrays should be immutable. Failing to comply with this can result in annoying + and hard to trace bugs. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.awt.ColorLABEL_COLOR + +
+           
+static java.awt.ColorLABEL_COLOR_SELECTED + +
+           
+static java.awt.FontLABEL_FONT + +
+           
+static java.awt.ColorMETAL_COLOR + +
+           
+static java.awt.ColorSELECTION_COLOR + +
+           
+  + + + + + + + +
Fields inherited from interface org.diylc.core.IDIYComponent
BOARD, CHASSIS, COMPONENT, TEXT, TRACE
+  + + + + + + + + + + +
+Constructor Summary
AbstractComponent() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanControlPointOverlap(int index) + +
+           
+ IDIYComponent<T>clone() + +
+          Clones the component.
+ booleanequalsTo(IDIYComponent<?> other) + +
+          Checks if two components are equal.
+ java.lang.StringgetName() + +
+           
+ java.lang.StringgetValueForDisplay() + +
+           
+ voidsetName(java.lang.String name) + +
+          Updates component instance name.
+ java.lang.StringtoString() + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  + + + + + + + +
Methods inherited from interface org.diylc.core.IDIYComponent
draw, drawIcon, getControlPoint, getControlPointCount, getControlPointVisibilityPolicy, getValue, isControlPointSticky, setControlPoint, setValue
+  +

+ + + + + + + + +
+Field Detail
+ +

+SELECTION_COLOR

+
+public static java.awt.Color SELECTION_COLOR
+
+
+
+
+
+ +

+LABEL_COLOR

+
+public static java.awt.Color LABEL_COLOR
+
+
+
+
+
+ +

+LABEL_COLOR_SELECTED

+
+public static java.awt.Color LABEL_COLOR_SELECTED
+
+
+
+
+
+ +

+LABEL_FONT

+
+public static java.awt.Font LABEL_FONT
+
+
+
+
+
+ +

+METAL_COLOR

+
+public static java.awt.Color METAL_COLOR
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+AbstractComponent

+
+public AbstractComponent()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getName

+
+public java.lang.String getName()
+
+
+
Specified by:
getName in interface IDIYComponent<T>
+
+
+ +
Returns:
component instance name.
+
+
+
+ +

+setName

+
+public void setName(java.lang.String name)
+
+
Description copied from interface: IDIYComponent
+
Updates component instance name. +

+

+
Specified by:
setName in interface IDIYComponent<T>
+
+
+
+
+
+
+ +

+canControlPointOverlap

+
+public boolean canControlPointOverlap(int index)
+
+
+
Specified by:
canControlPointOverlap in interface IDIYComponent<T>
+
+
+ +
Returns:
true, if the specified control point may overlap with other control points of the + same component. The other control point must be able to overlap too.
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+getValueForDisplay

+
+public java.lang.String getValueForDisplay()
+
+
+
Specified by:
getValueForDisplay in interface IDIYComponent<T>
+
+
+ +
Returns:
full value for BOM.
+
+
+
+ +

+clone

+
+public IDIYComponent<T> clone()
+                       throws java.lang.CloneNotSupportedException
+
+
Description copied from interface: IDIYComponent
+
Clones the component. +

+

+
Specified by:
clone in interface IDIYComponent<T>
Overrides:
clone in class java.lang.Object
+
+
+ +
Returns:
+
Throws: +
java.lang.CloneNotSupportedException
+
+
+
+ +

+equalsTo

+
+public boolean equalsTo(IDIYComponent<?> other)
+
+
Description copied from interface: IDIYComponent
+
Checks if two components are equal. +

+

+
Specified by:
equalsTo in interface IDIYComponent<T>
+
+
+ +
Returns:
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/components/AbstractCurvedComponent.html b/diylc/diylc-core/doc/org/diylc/components/AbstractCurvedComponent.html new file mode 100644 index 00000000..0e9a14ff --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/components/AbstractCurvedComponent.html @@ -0,0 +1,610 @@ + + + + + + +AbstractCurvedComponent + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.components +
+Class AbstractCurvedComponent<T>

+
+java.lang.Object
+  extended by org.diylc.components.AbstractComponent<T>
+      extended by org.diylc.components.AbstractTransparentComponent<T>
+          extended by org.diylc.components.AbstractCurvedComponent<T>
+
+
+
All Implemented Interfaces:
java.io.Serializable, IDIYComponent<T>
+
+
+
+
public abstract class AbstractCurvedComponent<T>
extends AbstractTransparentComponent<T>
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static SizeDEFAULT_SIZE + +
+           
+static java.awt.ColorGUIDELINE_COLOR + +
+           
+  + + + + + + + +
Fields inherited from class org.diylc.components.AbstractTransparentComponent
MAX_ALPHA
+  + + + + + + + +
Fields inherited from class org.diylc.components.AbstractComponent
LABEL_COLOR, LABEL_COLOR_SELECTED, LABEL_FONT, METAL_COLOR, SELECTION_COLOR
+  + + + + + + + +
Fields inherited from interface org.diylc.core.IDIYComponent
BOARD, CHASSIS, COMPONENT, TEXT, TRACE
+  + + + + + + + + + + +
+Constructor Summary
AbstractCurvedComponent() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanControlPointOverlap(int index) + +
+           
+ voiddraw(java.awt.Graphics2D g2d, + ComponentState componentState, + boolean outlineMode, + Project project, + IDrawingObserver drawingObserver) + +
+          Draws the component onto the Graphics2D.
+ voiddrawIcon(java.awt.Graphics2D g2d, + int width, + int height) + +
+          Draws icon representation of the component.
+ java.awt.ColorgetColor() + +
+           
+ java.awt.PointgetControlPoint(int index) + +
+           
+ intgetControlPointCount() + +
+           
+ VisibilityPolicygetControlPointVisibilityPolicy(int index) + +
+           
+ org.diylc.components.AbstractCurvedComponent.PointCountgetPointCount() + +
+           
+ booleanisControlPointSticky(int index) + +
+           
+ voidsetColor(java.awt.Color color) + +
+           
+ voidsetControlPoint(java.awt.Point point, + int index) + +
+          Updates the control point at the specified index.
+ voidsetPointCount(org.diylc.components.AbstractCurvedComponent.PointCount pointCount) + +
+           
+  + + + + + + + +
Methods inherited from class org.diylc.components.AbstractTransparentComponent
getAlpha, setAlpha
+  + + + + + + + +
Methods inherited from class org.diylc.components.AbstractComponent
clone, equalsTo, getName, getValueForDisplay, setName, toString
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  + + + + + + + +
Methods inherited from interface org.diylc.core.IDIYComponent
getValue, setValue
+  +

+ + + + + + + + +
+Field Detail
+ +

+GUIDELINE_COLOR

+
+public static java.awt.Color GUIDELINE_COLOR
+
+
+
+
+
+ +

+DEFAULT_SIZE

+
+public static Size DEFAULT_SIZE
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+AbstractCurvedComponent

+
+public AbstractCurvedComponent()
+
+
+ + + + + + + + +
+Method Detail
+ +

+drawIcon

+
+public void drawIcon(java.awt.Graphics2D g2d,
+                     int width,
+                     int height)
+
+
Description copied from interface: IDIYComponent
+
Draws icon representation of the component. This should not depend on component state, i.e. it + should be treated as a static method. +

+

+
+
+
+
+ +

+draw

+
+public void draw(java.awt.Graphics2D g2d,
+                 ComponentState componentState,
+                 boolean outlineMode,
+                 Project project,
+                 IDrawingObserver drawingObserver)
+
+
Description copied from interface: IDIYComponent
+
Draws the component onto the Graphics2D. +

+

+
+
+
+
+ +

+getPointCount

+
+public org.diylc.components.AbstractCurvedComponent.PointCount getPointCount()
+
+
+
+
+
+
+ +

+setPointCount

+
+public void setPointCount(org.diylc.components.AbstractCurvedComponent.PointCount pointCount)
+
+
+
+
+
+
+ +

+getControlPointCount

+
+public int getControlPointCount()
+
+
+ +
Returns:
number of control points for this component instance. May vary between two instances of + the same type, e.g. DIL IC with 8 and 16 pins will have 8 or 16 pins although they are + of the same type.
+
+
+
+ +

+isControlPointSticky

+
+public boolean isControlPointSticky(int index)
+
+
+ +
Returns:
true, if the specified control point may stick to control points of other components.
+
+
+
+ +

+getControlPointVisibilityPolicy

+
+public VisibilityPolicy getControlPointVisibilityPolicy(int index)
+
+
+
+
+
+
+ +

+canControlPointOverlap

+
+public boolean canControlPointOverlap(int index)
+
+
+
Specified by:
canControlPointOverlap in interface IDIYComponent<T>
Overrides:
canControlPointOverlap in class AbstractComponent<T>
+
+
+ +
Returns:
true, if the specified control point may overlap with other control points of the + same component. The other control point must be able to overlap too.
+
+
+
+ +

+getControlPoint

+
+public java.awt.Point getControlPoint(int index)
+
+
+ +
Returns:
control point at the specified index.
+
+
+
+ +

+setControlPoint

+
+public void setControlPoint(java.awt.Point point,
+                            int index)
+
+
Description copied from interface: IDIYComponent
+
Updates the control point at the specified index. +

+

+
+
+
+
+ +

+getColor

+
+public java.awt.Color getColor()
+
+
+
+
+
+
+ +

+setColor

+
+public void setColor(java.awt.Color color)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/components/AbstractLeadedComponent.html b/diylc/diylc-core/doc/org/diylc/components/AbstractLeadedComponent.html new file mode 100644 index 00000000..1543a9f6 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/components/AbstractLeadedComponent.html @@ -0,0 +1,825 @@ + + + + + + +AbstractLeadedComponent + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.components +
+Class AbstractLeadedComponent<T>

+
+java.lang.Object
+  extended by org.diylc.components.AbstractComponent<T>
+      extended by org.diylc.components.AbstractTransparentComponent<T>
+          extended by org.diylc.components.AbstractLeadedComponent<T>
+
+
+
All Implemented Interfaces:
java.io.Serializable, IDIYComponent<T>
+
+
+
Direct Known Subclasses:
AbstractRadialComponent, AbstractSchematicLeadedSymbol
+
+
+
+
public abstract class AbstractLeadedComponent<T>
extends AbstractTransparentComponent<T>
+ + +

+Base class for all leaded components such as resistors or capacitors. Has two control points and + draws leads between them. Also, it positions and draws the shape of the component as specified by + a child class. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static SizeDEFAULT_SIZE + +
+           
+static java.awt.ColorLEAD_COLOR + +
+           
+static java.awt.ColorLEAD_COLOR_ICON + +
+           
+static SizeLEAD_THICKNESS + +
+           
+  + + + + + + + +
Fields inherited from class org.diylc.components.AbstractTransparentComponent
MAX_ALPHA
+  + + + + + + + +
Fields inherited from class org.diylc.components.AbstractComponent
LABEL_COLOR, LABEL_COLOR_SELECTED, LABEL_FONT, METAL_COLOR, SELECTION_COLOR
+  + + + + + + + +
Fields inherited from interface org.diylc.core.IDIYComponent
BOARD, CHASSIS, COMPONENT, TEXT, TRACE
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiddraw(java.awt.Graphics2D g2d, + ComponentState componentState, + boolean outlineMode, + Project project, + IDrawingObserver drawingObserver) + +
+          Draws the component onto the Graphics2D.
+ java.awt.ColorgetBodyColor() + +
+           
+ java.awt.ColorgetBorderColor() + +
+           
+ java.awt.PointgetControlPoint(int index) + +
+           
+ intgetControlPointCount() + +
+           
+ VisibilityPolicygetControlPointVisibilityPolicy(int index) + +
+           
+ DisplaygetDisplay() + +
+           
+ booleangetFlipStanding() + +
+          Override this method with @EditableProperty annotation in child classes where standing mode is + supported
+ java.awt.ColorgetLabelColor() + +
+           
+ java.awt.ColorgetLeadColor() + +
+           
+ SizegetLength() + +
+           
+ java.awt.ColorgetStandingBodyColor() + +
+           
+ SizegetWidth() + +
+           
+ booleanisControlPointSticky(int index) + +
+           
+ voidsetBodyColor(java.awt.Color bodyColor) + +
+           
+ voidsetBorderColor(java.awt.Color borderColor) + +
+           
+ voidsetControlPoint(java.awt.Point point, + int index) + +
+          Updates the control point at the specified index.
+ voidsetDisplay(Display display) + +
+           
+ voidsetFlipStanding(boolean flipStanding) + +
+           
+ voidsetLabelColor(java.awt.Color labelColor) + +
+           
+ voidsetLeadColor(java.awt.Color leadColor) + +
+           
+ voidsetLength(Size length) + +
+           
+ voidsetWidth(Size width) + +
+           
+  + + + + + + + +
Methods inherited from class org.diylc.components.AbstractTransparentComponent
getAlpha, setAlpha
+  + + + + + + + +
Methods inherited from class org.diylc.components.AbstractComponent
canControlPointOverlap, clone, equalsTo, getName, getValueForDisplay, setName, toString
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  + + + + + + + +
Methods inherited from interface org.diylc.core.IDIYComponent
drawIcon, getValue, setValue
+  +

+ + + + + + + + +
+Field Detail
+ +

+LEAD_COLOR

+
+public static java.awt.Color LEAD_COLOR
+
+
+
+
+
+ +

+LEAD_COLOR_ICON

+
+public static java.awt.Color LEAD_COLOR_ICON
+
+
+
+
+
+ +

+LEAD_THICKNESS

+
+public static Size LEAD_THICKNESS
+
+
+
+
+
+ +

+DEFAULT_SIZE

+
+public static Size DEFAULT_SIZE
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+draw

+
+public void draw(java.awt.Graphics2D g2d,
+                 ComponentState componentState,
+                 boolean outlineMode,
+                 Project project,
+                 IDrawingObserver drawingObserver)
+
+
Description copied from interface: IDIYComponent
+
Draws the component onto the Graphics2D. +

+

+
+
+
+
+ +

+getLeadColor

+
+public java.awt.Color getLeadColor()
+
+
+
+
+
+
+ +

+setLeadColor

+
+public void setLeadColor(java.awt.Color leadColor)
+
+
+
+
+
+
+ +

+getControlPointCount

+
+public int getControlPointCount()
+
+
+ +
Returns:
number of control points for this component instance. May vary between two instances of + the same type, e.g. DIL IC with 8 and 16 pins will have 8 or 16 pins although they are + of the same type.
+
+
+
+ +

+getControlPoint

+
+public java.awt.Point getControlPoint(int index)
+
+
+ +
Returns:
control point at the specified index.
+
+
+
+ +

+isControlPointSticky

+
+public boolean isControlPointSticky(int index)
+
+
+ +
Returns:
true, if the specified control point may stick to control points of other components.
+
+
+
+ +

+getControlPointVisibilityPolicy

+
+public VisibilityPolicy getControlPointVisibilityPolicy(int index)
+
+
+
+
+
+
+ +

+setControlPoint

+
+public void setControlPoint(java.awt.Point point,
+                            int index)
+
+
Description copied from interface: IDIYComponent
+
Updates the control point at the specified index. +

+

+
+
+
+
+ +

+getBodyColor

+
+public java.awt.Color getBodyColor()
+
+
+
+
+
+
+ +

+setBodyColor

+
+public void setBodyColor(java.awt.Color bodyColor)
+
+
+
+
+
+
+ +

+getStandingBodyColor

+
+public java.awt.Color getStandingBodyColor()
+
+
+
+
+
+
+ +

+getBorderColor

+
+public java.awt.Color getBorderColor()
+
+
+
+
+
+
+ +

+setBorderColor

+
+public void setBorderColor(java.awt.Color borderColor)
+
+
+
+
+
+
+ +

+getLength

+
+public Size getLength()
+
+
+
+
+
+
+ +

+setLength

+
+public void setLength(Size length)
+
+
+
+
+
+
+ +

+getWidth

+
+public Size getWidth()
+
+
+
+
+
+
+ +

+setWidth

+
+public void setWidth(Size width)
+
+
+
+
+
+
+ +

+getDisplay

+
+public Display getDisplay()
+
+
+
+
+
+
+ +

+setDisplay

+
+public void setDisplay(Display display)
+
+
+
+
+
+
+ +

+getLabelColor

+
+public java.awt.Color getLabelColor()
+
+
+
+
+
+
+ +

+setLabelColor

+
+public void setLabelColor(java.awt.Color labelColor)
+
+
+
+
+
+
+ +

+getFlipStanding

+
+public boolean getFlipStanding()
+
+
Override this method with @EditableProperty annotation in child classes where standing mode is + supported +

+

+ +
Returns:
+
+
+
+ +

+setFlipStanding

+
+public void setFlipStanding(boolean flipStanding)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/components/AbstractRadialComponent.html b/diylc/diylc-core/doc/org/diylc/components/AbstractRadialComponent.html new file mode 100644 index 00000000..4daa0856 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/components/AbstractRadialComponent.html @@ -0,0 +1,396 @@ + + + + + + +AbstractRadialComponent + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.components +
+Class AbstractRadialComponent<T>

+
+java.lang.Object
+  extended by org.diylc.components.AbstractComponent<T>
+      extended by org.diylc.components.AbstractTransparentComponent<T>
+          extended by org.diylc.components.AbstractLeadedComponent<T>
+              extended by org.diylc.components.AbstractRadialComponent<T>
+
+
+
Type Parameters:
T -
+
+
All Implemented Interfaces:
java.io.Serializable, IDIYComponent<T>
+
+
+
+
public abstract class AbstractRadialComponent<T>
extends AbstractLeadedComponent<T>
+ + +

+Base class for radial components. The same as AbstractRadialComponent but with added pin + spacing. +

+ +

+

+
Author:
+
bancika
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static SizePIN_SPACING + +
+           
+  + + + + + + + +
Fields inherited from class org.diylc.components.AbstractLeadedComponent
DEFAULT_SIZE, LEAD_COLOR, LEAD_COLOR_ICON, LEAD_THICKNESS
+  + + + + + + + +
Fields inherited from class org.diylc.components.AbstractTransparentComponent
MAX_ALPHA
+  + + + + + + + +
Fields inherited from class org.diylc.components.AbstractComponent
LABEL_COLOR, LABEL_COLOR_SELECTED, LABEL_FONT, METAL_COLOR, SELECTION_COLOR
+  + + + + + + + +
Fields inherited from interface org.diylc.core.IDIYComponent
BOARD, CHASSIS, COMPONENT, TEXT, TRACE
+  + + + + + + + + + + +
+Constructor Summary
AbstractRadialComponent() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ SizegetPinSpacing() + +
+           
+ voidsetPinSpacing(Size pinSpacing) + +
+           
+  + + + + + + + +
Methods inherited from class org.diylc.components.AbstractLeadedComponent
draw, getBodyColor, getBorderColor, getControlPoint, getControlPointCount, getControlPointVisibilityPolicy, getDisplay, getFlipStanding, getLabelColor, getLeadColor, getLength, getStandingBodyColor, getWidth, isControlPointSticky, setBodyColor, setBorderColor, setControlPoint, setDisplay, setFlipStanding, setLabelColor, setLeadColor, setLength, setWidth
+  + + + + + + + +
Methods inherited from class org.diylc.components.AbstractTransparentComponent
getAlpha, setAlpha
+  + + + + + + + +
Methods inherited from class org.diylc.components.AbstractComponent
canControlPointOverlap, clone, equalsTo, getName, getValueForDisplay, setName, toString
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  + + + + + + + +
Methods inherited from interface org.diylc.core.IDIYComponent
drawIcon, getValue, setValue
+  +

+ + + + + + + + +
+Field Detail
+ +

+PIN_SPACING

+
+public static Size PIN_SPACING
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+AbstractRadialComponent

+
+public AbstractRadialComponent()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getPinSpacing

+
+public Size getPinSpacing()
+
+
+
+
+
+
+ +

+setPinSpacing

+
+public void setPinSpacing(Size pinSpacing)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/components/AbstractSchematicLeadedSymbol.html b/diylc/diylc-core/doc/org/diylc/components/AbstractSchematicLeadedSymbol.html new file mode 100644 index 00000000..b1bcd88f --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/components/AbstractSchematicLeadedSymbol.html @@ -0,0 +1,449 @@ + + + + + + +AbstractSchematicLeadedSymbol + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.components +
+Class AbstractSchematicLeadedSymbol<T>

+
+java.lang.Object
+  extended by org.diylc.components.AbstractComponent<T>
+      extended by org.diylc.components.AbstractTransparentComponent<T>
+          extended by org.diylc.components.AbstractLeadedComponent<T>
+              extended by org.diylc.components.AbstractSchematicLeadedSymbol<T>
+
+
+
All Implemented Interfaces:
java.io.Serializable, IDIYComponent<T>
+
+
+
+
public abstract class AbstractSchematicLeadedSymbol<T>
extends AbstractLeadedComponent<T>
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static java.awt.ColorCOLOR + +
+           
+static java.awt.ColorLEAD_COLOR + +
+           
+  + + + + + + + +
Fields inherited from class org.diylc.components.AbstractLeadedComponent
DEFAULT_SIZE, LEAD_COLOR_ICON, LEAD_THICKNESS
+  + + + + + + + +
Fields inherited from class org.diylc.components.AbstractTransparentComponent
MAX_ALPHA
+  + + + + + + + +
Fields inherited from class org.diylc.components.AbstractComponent
LABEL_COLOR, LABEL_COLOR_SELECTED, LABEL_FONT, METAL_COLOR, SELECTION_COLOR
+  + + + + + + + +
Fields inherited from interface org.diylc.core.IDIYComponent
BOARD, CHASSIS, COMPONENT, TEXT, TRACE
+  + + + + + + + + + + +
+Constructor Summary
AbstractSchematicLeadedSymbol() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.awt.ColorgetBodyColor() + +
+           
+ java.awt.ColorgetBorderColor() + +
+           
+ LabelPositiongetLabelPosition() + +
+           
+ voidsetLabelPosition(LabelPosition labelPosition) + +
+           
+  + + + + + + + +
Methods inherited from class org.diylc.components.AbstractLeadedComponent
draw, getControlPoint, getControlPointCount, getControlPointVisibilityPolicy, getDisplay, getFlipStanding, getLabelColor, getLeadColor, getLength, getStandingBodyColor, getWidth, isControlPointSticky, setBodyColor, setBorderColor, setControlPoint, setDisplay, setFlipStanding, setLabelColor, setLeadColor, setLength, setWidth
+  + + + + + + + +
Methods inherited from class org.diylc.components.AbstractTransparentComponent
getAlpha, setAlpha
+  + + + + + + + +
Methods inherited from class org.diylc.components.AbstractComponent
canControlPointOverlap, clone, equalsTo, getName, getValueForDisplay, setName, toString
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  + + + + + + + +
Methods inherited from interface org.diylc.core.IDIYComponent
drawIcon, getValue, setValue
+  +

+ + + + + + + + +
+Field Detail
+ +

+COLOR

+
+public static java.awt.Color COLOR
+
+
+
+
+
+ +

+LEAD_COLOR

+
+public static java.awt.Color LEAD_COLOR
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+AbstractSchematicLeadedSymbol

+
+public AbstractSchematicLeadedSymbol()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getBodyColor

+
+public java.awt.Color getBodyColor()
+
+
+
Overrides:
getBodyColor in class AbstractLeadedComponent<T>
+
+
+
+
+
+
+ +

+getLabelPosition

+
+public LabelPosition getLabelPosition()
+
+
+
+
+
+
+ +

+getBorderColor

+
+public java.awt.Color getBorderColor()
+
+
+
Overrides:
getBorderColor in class AbstractLeadedComponent<T>
+
+
+
+
+
+
+ +

+setLabelPosition

+
+public void setLabelPosition(LabelPosition labelPosition)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/components/AbstractTransparentComponent.html b/diylc/diylc-core/doc/org/diylc/components/AbstractTransparentComponent.html new file mode 100644 index 00000000..6ae86b66 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/components/AbstractTransparentComponent.html @@ -0,0 +1,352 @@ + + + + + + +AbstractTransparentComponent + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.components +
+Class AbstractTransparentComponent<T>

+
+java.lang.Object
+  extended by org.diylc.components.AbstractComponent<T>
+      extended by org.diylc.components.AbstractTransparentComponent<T>
+
+
+
All Implemented Interfaces:
java.io.Serializable, IDIYComponent<T>
+
+
+
Direct Known Subclasses:
AbstractCurvedComponent, AbstractLeadedComponent
+
+
+
+
public abstract class AbstractTransparentComponent<T>
extends AbstractComponent<T>
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static byteMAX_ALPHA + +
+           
+  + + + + + + + +
Fields inherited from class org.diylc.components.AbstractComponent
LABEL_COLOR, LABEL_COLOR_SELECTED, LABEL_FONT, METAL_COLOR, SELECTION_COLOR
+  + + + + + + + +
Fields inherited from interface org.diylc.core.IDIYComponent
BOARD, CHASSIS, COMPONENT, TEXT, TRACE
+  + + + + + + + + + + +
+Constructor Summary
AbstractTransparentComponent() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.BytegetAlpha() + +
+           
+ voidsetAlpha(java.lang.Byte alpha) + +
+           
+  + + + + + + + +
Methods inherited from class org.diylc.components.AbstractComponent
canControlPointOverlap, clone, equalsTo, getName, getValueForDisplay, setName, toString
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  + + + + + + + +
Methods inherited from interface org.diylc.core.IDIYComponent
draw, drawIcon, getControlPoint, getControlPointCount, getControlPointVisibilityPolicy, getValue, isControlPointSticky, setControlPoint, setValue
+  +

+ + + + + + + + +
+Field Detail
+ +

+MAX_ALPHA

+
+public static byte MAX_ALPHA
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+AbstractTransparentComponent

+
+public AbstractTransparentComponent()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getAlpha

+
+public java.lang.Byte getAlpha()
+
+
+
+
+
+
+ +

+setAlpha

+
+public void setAlpha(java.lang.Byte alpha)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/components/class-use/AbstractComponent.html b/diylc/diylc-core/doc/org/diylc/components/class-use/AbstractComponent.html new file mode 100644 index 00000000..03266108 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/components/class-use/AbstractComponent.html @@ -0,0 +1,212 @@ + + + + + + +Uses of Class org.diylc.components.AbstractComponent + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.components.AbstractComponent

+
+ + + + + + + + + +
+Packages that use AbstractComponent
org.diylc.components  
+  +

+ + + + + +
+Uses of AbstractComponent in org.diylc.components
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Subclasses of AbstractComponent in org.diylc.components
+ classAbstractCurvedComponent<T> + +
+           
+ classAbstractLeadedComponent<T> + +
+          Base class for all leaded components such as resistors or capacitors.
+ classAbstractRadialComponent<T> + +
+          Base class for radial components.
+ classAbstractSchematicLeadedSymbol<T> + +
+           
+ classAbstractTransparentComponent<T> + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/components/class-use/AbstractCurvedComponent.html b/diylc/diylc-core/doc/org/diylc/components/class-use/AbstractCurvedComponent.html new file mode 100644 index 00000000..bd017500 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/components/class-use/AbstractCurvedComponent.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.components.AbstractCurvedComponent + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.components.AbstractCurvedComponent

+
+No usage of org.diylc.components.AbstractCurvedComponent +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/components/class-use/AbstractLeadedComponent.html b/diylc/diylc-core/doc/org/diylc/components/class-use/AbstractLeadedComponent.html new file mode 100644 index 00000000..9e945477 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/components/class-use/AbstractLeadedComponent.html @@ -0,0 +1,188 @@ + + + + + + +Uses of Class org.diylc.components.AbstractLeadedComponent + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.components.AbstractLeadedComponent

+
+ + + + + + + + + +
+Packages that use AbstractLeadedComponent
org.diylc.components  
+  +

+ + + + + +
+Uses of AbstractLeadedComponent in org.diylc.components
+  +

+ + + + + + + + + + + + + +
Subclasses of AbstractLeadedComponent in org.diylc.components
+ classAbstractRadialComponent<T> + +
+          Base class for radial components.
+ classAbstractSchematicLeadedSymbol<T> + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/components/class-use/AbstractRadialComponent.html b/diylc/diylc-core/doc/org/diylc/components/class-use/AbstractRadialComponent.html new file mode 100644 index 00000000..d99803ac --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/components/class-use/AbstractRadialComponent.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.components.AbstractRadialComponent + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.components.AbstractRadialComponent

+
+No usage of org.diylc.components.AbstractRadialComponent +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/components/class-use/AbstractSchematicLeadedSymbol.html b/diylc/diylc-core/doc/org/diylc/components/class-use/AbstractSchematicLeadedSymbol.html new file mode 100644 index 00000000..88194a0b --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/components/class-use/AbstractSchematicLeadedSymbol.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.components.AbstractSchematicLeadedSymbol + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.components.AbstractSchematicLeadedSymbol

+
+No usage of org.diylc.components.AbstractSchematicLeadedSymbol +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/components/class-use/AbstractTransparentComponent.html b/diylc/diylc-core/doc/org/diylc/components/class-use/AbstractTransparentComponent.html new file mode 100644 index 00000000..10ebc4e0 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/components/class-use/AbstractTransparentComponent.html @@ -0,0 +1,204 @@ + + + + + + +Uses of Class org.diylc.components.AbstractTransparentComponent + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.components.AbstractTransparentComponent

+
+ + + + + + + + + +
+Packages that use AbstractTransparentComponent
org.diylc.components  
+  +

+ + + + + +
+Uses of AbstractTransparentComponent in org.diylc.components
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Subclasses of AbstractTransparentComponent in org.diylc.components
+ classAbstractCurvedComponent<T> + +
+           
+ classAbstractLeadedComponent<T> + +
+          Base class for all leaded components such as resistors or capacitors.
+ classAbstractRadialComponent<T> + +
+          Base class for radial components.
+ classAbstractSchematicLeadedSymbol<T> + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/components/package-frame.html b/diylc/diylc-core/doc/org/diylc/components/package-frame.html new file mode 100644 index 00000000..211db38d --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/components/package-frame.html @@ -0,0 +1,42 @@ + + + + + + +org.diylc.components + + + + + + + + + + + +org.diylc.components + + + + +
+Classes  + +
+AbstractComponent +
+AbstractCurvedComponent +
+AbstractLeadedComponent +
+AbstractRadialComponent +
+AbstractSchematicLeadedSymbol +
+AbstractTransparentComponent
+ + + + diff --git a/diylc/diylc-core/doc/org/diylc/components/package-summary.html b/diylc/diylc-core/doc/org/diylc/components/package-summary.html new file mode 100644 index 00000000..59d7e695 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/components/package-summary.html @@ -0,0 +1,177 @@ + + + + + + +org.diylc.components + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.diylc.components +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractComponent<T>Abstract implementation of IDIYComponent that contains component name and toString.
AbstractCurvedComponent<T> 
AbstractLeadedComponent<T>Base class for all leaded components such as resistors or capacitors.
AbstractRadialComponent<T>Base class for radial components.
AbstractSchematicLeadedSymbol<T> 
AbstractTransparentComponent<T> 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/components/package-tree.html b/diylc/diylc-core/doc/org/diylc/components/package-tree.html new file mode 100644 index 00000000..c06f46ce --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/components/package-tree.html @@ -0,0 +1,160 @@ + + + + + + +org.diylc.components Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.diylc.components +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/components/package-use.html b/diylc/diylc-core/doc/org/diylc/components/package-use.html new file mode 100644 index 00000000..c1aa558a --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/components/package-use.html @@ -0,0 +1,182 @@ + + + + + + +Uses of Package org.diylc.components + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
org.diylc.components

+
+ + + + + + + + + +
+Packages that use org.diylc.components
org.diylc.components  
+  +

+ + + + + + + + + + + + + + +
+Classes in org.diylc.components used by org.diylc.components
AbstractComponent + +
+          Abstract implementation of IDIYComponent that contains component name and toString.
AbstractLeadedComponent + +
+          Base class for all leaded components such as resistors or capacitors.
AbstractTransparentComponent + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/AllowAllValidator.html b/diylc/diylc-core/doc/org/diylc/core/AllowAllValidator.html new file mode 100644 index 00000000..0f965392 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/AllowAllValidator.html @@ -0,0 +1,269 @@ + + + + + + +AllowAllValidator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core +
+Class AllowAllValidator

+
+java.lang.Object
+  extended by org.diylc.core.AllowAllValidator
+
+
+
All Implemented Interfaces:
IPropertyValidator
+
+
+
+
public class AllowAllValidator
extends java.lang.Object
implements IPropertyValidator
+ + +

+Validator that allows all values. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
AllowAllValidator() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidvalidate(java.lang.Object value) + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AllowAllValidator

+
+public AllowAllValidator()
+
+
+ + + + + + + + +
+Method Detail
+ +

+validate

+
+public void validate(java.lang.Object value)
+              throws ValidationException
+
+
+
Specified by:
validate in interface IPropertyValidator
+
+
+ +
Throws: +
ValidationException - if validation fails. Message will contain the reason.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/ComponentState.html b/diylc/diylc-core/doc/org/diylc/core/ComponentState.html new file mode 100644 index 00000000..e5004948 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/ComponentState.html @@ -0,0 +1,362 @@ + + + + + + +ComponentState + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core +
+Enum ComponentState

+
+java.lang.Object
+  extended by java.lang.Enum<ComponentState>
+      extended by org.diylc.core.ComponentState
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ComponentState>
+
+
+
+
public enum ComponentState
extends java.lang.Enum<ComponentState>
+ + +

+Enumerates all possible states that a component can be in. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
+
+ +

+ + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
DRAGGING + +
+           
LOCKED + +
+           
NORMAL + +
+           
SELECTED + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static ComponentStatevalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static ComponentState[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+NORMAL

+
+public static final ComponentState NORMAL
+
+
+
+
+
+ +

+SELECTED

+
+public static final ComponentState SELECTED
+
+
+
+
+
+ +

+LOCKED

+
+public static final ComponentState LOCKED
+
+
+
+
+
+ +

+DRAGGING

+
+public static final ComponentState DRAGGING
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static ComponentState[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (ComponentState c : ComponentState.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static ComponentState valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/CreationMethod.html b/diylc/diylc-core/doc/org/diylc/core/CreationMethod.html new file mode 100644 index 00000000..f5b2ce11 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/CreationMethod.html @@ -0,0 +1,322 @@ + + + + + + +CreationMethod + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core +
+Enum CreationMethod

+
+java.lang.Object
+  extended by java.lang.Enum<CreationMethod>
+      extended by org.diylc.core.CreationMethod
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CreationMethod>
+
+
+
+
public enum CreationMethod
extends java.lang.Enum<CreationMethod>
+ + +

+


+ +

+ + + + + + + + + + + + + +
+Enum Constant Summary
POINT_BY_POINT + +
+           
SINGLE_CLICK + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static CreationMethodvalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static CreationMethod[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+SINGLE_CLICK

+
+public static final CreationMethod SINGLE_CLICK
+
+
+
+
+
+ +

+POINT_BY_POINT

+
+public static final CreationMethod POINT_BY_POINT
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static CreationMethod[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (CreationMethod c : CreationMethod.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static CreationMethod valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/ExpansionMode.html b/diylc/diylc-core/doc/org/diylc/core/ExpansionMode.html new file mode 100644 index 00000000..f5a003a1 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/ExpansionMode.html @@ -0,0 +1,338 @@ + + + + + + +ExpansionMode + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core +
+Enum ExpansionMode

+
+java.lang.Object
+  extended by java.lang.Enum<ExpansionMode>
+      extended by org.diylc.core.ExpansionMode
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ExpansionMode>
+
+
+
+
public enum ExpansionMode
extends java.lang.Enum<ExpansionMode>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Enum Constant Summary
ALL + +
+           
IMMEDIATE + +
+           
SAME_TYPE + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static ExpansionModevalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static ExpansionMode[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+ALL

+
+public static final ExpansionMode ALL
+
+
+
+
+
+ +

+SAME_TYPE

+
+public static final ExpansionMode SAME_TYPE
+
+
+
+
+
+ +

+IMMEDIATE

+
+public static final ExpansionMode IMMEDIATE
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static ExpansionMode[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (ExpansionMode c : ExpansionMode.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static ExpansionMode valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/IDIYComponent.html b/diylc/diylc-core/doc/org/diylc/core/IDIYComponent.html new file mode 100644 index 00000000..193134d2 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/IDIYComponent.html @@ -0,0 +1,695 @@ + + + + + + +IDIYComponent + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core +
+Interface IDIYComponent<T>

+
+
Type Parameters:
T - type of component values, e.g. Resistance for resistors or String for transistors.
+
+
All Superinterfaces:
java.io.Serializable
+
+
+
All Known Implementing Classes:
AbstractComponent, AbstractCurvedComponent, AbstractLeadedComponent, AbstractRadialComponent, AbstractSchematicLeadedSymbol, AbstractTransparentComponent
+
+
+
+
public interface IDIYComponent<T>
extends java.io.Serializable
+ + +

+Interface for component instance. Implementation classes of this interface will be instantiated + by the application when component is added to the canvas.
+
+ Implementing classes should meet the following: +

+

+ +

+

+
Author:
+
Branislav Stojkovic
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intBOARD + +
+           
+static intCHASSIS + +
+           
+static intCOMPONENT + +
+           
+static intTEXT + +
+           
+static intTRACE + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanControlPointOverlap(int index) + +
+           
+ IDIYComponent<T>clone() + +
+          Clones the component.
+ voiddraw(java.awt.Graphics2D g2d, + ComponentState componentState, + boolean outlineMode, + Project project, + IDrawingObserver drawingObserver) + +
+          Draws the component onto the Graphics2D.
+ voiddrawIcon(java.awt.Graphics2D g2d, + int width, + int height) + +
+          Draws icon representation of the component.
+ booleanequalsTo(IDIYComponent<?> other) + +
+          Checks if two components are equal.
+ java.awt.PointgetControlPoint(int index) + +
+           
+ intgetControlPointCount() + +
+           
+ VisibilityPolicygetControlPointVisibilityPolicy(int index) + +
+           
+ java.lang.StringgetName() + +
+           
+ TgetValue() + +
+           
+ java.lang.StringgetValueForDisplay() + +
+           
+ booleanisControlPointSticky(int index) + +
+           
+ voidsetControlPoint(java.awt.Point point, + int index) + +
+          Updates the control point at the specified index.
+ voidsetName(java.lang.String name) + +
+          Updates component instance name.
+ voidsetValue(T value) + +
+          Updates component value.
+  +

+ + + + + + + + +
+Field Detail
+ +

+CHASSIS

+
+static final int CHASSIS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BOARD

+
+static final int BOARD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TRACE

+
+static final int TRACE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COMPONENT

+
+static final int COMPONENT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TEXT

+
+static final int TEXT
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+getName

+
+java.lang.String getName()
+
+
+
+
+
+ +
Returns:
component instance name.
+
+
+
+ +

+setName

+
+void setName(java.lang.String name)
+
+
Updates component instance name. +

+

+
+
+
+
Parameters:
name -
+
+
+
+ +

+getValue

+
+T getValue()
+
+
+
+
+
+ +
Returns:
component value.
+
+
+
+ +

+setValue

+
+void setValue(T value)
+
+
Updates component value. +

+

+
+
+
+
Parameters:
value -
+
+
+
+ +

+getControlPointCount

+
+int getControlPointCount()
+
+
+
+
+
+ +
Returns:
number of control points for this component instance. May vary between two instances of + the same type, e.g. DIL IC with 8 and 16 pins will have 8 or 16 pins although they are + of the same type.
+
+
+
+ +

+getControlPoint

+
+java.awt.Point getControlPoint(int index)
+
+
+
+
+
+
Parameters:
index - +
Returns:
control point at the specified index.
+
+
+
+ +

+setControlPoint

+
+void setControlPoint(java.awt.Point point,
+                     int index)
+
+
Updates the control point at the specified index. +

+

+
+
+
+
Parameters:
point -
index -
+
+
+
+ +

+isControlPointSticky

+
+boolean isControlPointSticky(int index)
+
+
+
+
+
+
Parameters:
index - +
Returns:
true, if the specified control point may stick to control points of other components.
+
+
+
+ +

+canControlPointOverlap

+
+boolean canControlPointOverlap(int index)
+
+
+
+
+
+
Parameters:
index - +
Returns:
true, if the specified control point may overlap with other control points of the + same component. The other control point must be able to overlap too.
+
+
+
+ +

+getControlPointVisibilityPolicy

+
+VisibilityPolicy getControlPointVisibilityPolicy(int index)
+
+
+
+
+
+
+
+
+
+ +

+draw

+
+void draw(java.awt.Graphics2D g2d,
+          ComponentState componentState,
+          boolean outlineMode,
+          Project project,
+          IDrawingObserver drawingObserver)
+
+
Draws the component onto the Graphics2D. +

+

+
+
+
+
Parameters:
g2d -
componentState -
outlineMode -
project -
drawingObserver -
+
+
+
+ +

+drawIcon

+
+void drawIcon(java.awt.Graphics2D g2d,
+              int width,
+              int height)
+
+
Draws icon representation of the component. This should not depend on component state, i.e. it + should be treated as a static method. +

+

+
+
+
+
Parameters:
g2d -
width -
height -
+
+
+
+ +

+clone

+
+IDIYComponent<T> clone()
+                       throws java.lang.CloneNotSupportedException
+
+
Clones the component. +

+

+
+
+
+ +
Returns:
+
Throws: +
java.lang.CloneNotSupportedException
+
+
+
+ +

+getValueForDisplay

+
+java.lang.String getValueForDisplay()
+
+
+
+
+
+ +
Returns:
full value for BOM.
+
+
+
+ +

+equalsTo

+
+boolean equalsTo(IDIYComponent<?> other)
+
+
Checks if two components are equal. +

+

+
+
+
+
Parameters:
other - +
Returns:
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/IDrawingObserver.html b/diylc/diylc-core/doc/org/diylc/core/IDrawingObserver.html new file mode 100644 index 00000000..26d05f76 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/IDrawingObserver.html @@ -0,0 +1,234 @@ + + + + + + +IDrawingObserver + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core +
+Interface IDrawingObserver

+
+
+
public interface IDrawingObserver
+ + +

+Interface for tracking component drawing process. Components may use it to stop or restart + tracking. Anything drawn while tracking is stopped will not be added to the mouse hot-spot area. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ voidstartTracking() + +
+           
+ voidstopTracking() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+stopTracking

+
+void stopTracking()
+
+
+
+
+
+
+ +

+startTracking

+
+void startTracking()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/IPropertyValidator.html b/diylc/diylc-core/doc/org/diylc/core/IPropertyValidator.html new file mode 100644 index 00000000..22e8c45e --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/IPropertyValidator.html @@ -0,0 +1,220 @@ + + + + + + +IPropertyValidator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core +
+Interface IPropertyValidator

+
+
All Known Implementing Classes:
AllowAllValidator, PositiveMeasureValidator, Project.SpacingValidator
+
+
+
+
public interface IPropertyValidator
+ + +

+Interface for validating property value changes. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidvalidate(java.lang.Object value) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+validate

+
+void validate(java.lang.Object value)
+              throws ValidationException
+
+
+
Parameters:
value - +
Throws: +
ValidationException - if validation fails. Message will contain the reason.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/IView.html b/diylc/diylc-core/doc/org/diylc/core/IView.html new file mode 100644 index 00000000..e6d5283f --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/IView.html @@ -0,0 +1,571 @@ + + + + + + +IView + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core +
+Interface IView

+
+
+
public interface IView
+ + +

+Base interface for the main GUI component. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intCANCEL_OPTION + +
+           
+static java.lang.StringCHECK_BOX_MENU_ITEM + +
+           
+static intDEFAULT_OPTION + +
+           
+static intERROR_MESSAGE + +
+           
+static intINFORMATION_MESSAGE + +
+           
+static intNO_OPTION + +
+           
+static intOK_CANCEL_OPTION + +
+           
+static intOK_OPTION + +
+           
+static intPLAIN_MESSAGE + +
+           
+static intQUESTION_MESSAGE + +
+           
+static java.lang.StringRADIO_BUTTON_GROUP_KEY + +
+           
+static intWARNING_MESSAGE + +
+           
+static intYES_NO_CANCEL_OPTION + +
+           
+static intYES_NO_OPTION + +
+           
+static intYES_OPTION + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleaneditProperties(java.util.List<PropertyWrapper> properties, + java.util.Set<PropertyWrapper> defaultedProperties) + +
+           
+ java.io.FilepromptFileSave() + +
+           
+ intshowConfirmDialog(java.lang.String message, + java.lang.String title, + int optionType, + int messageType) + +
+           
+ voidshowMessage(java.lang.String message, + java.lang.String title, + int messageType) + +
+           
+  +

+ + + + + + + + +
+Field Detail
+ +

+ERROR_MESSAGE

+
+static final int ERROR_MESSAGE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+INFORMATION_MESSAGE

+
+static final int INFORMATION_MESSAGE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+WARNING_MESSAGE

+
+static final int WARNING_MESSAGE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+QUESTION_MESSAGE

+
+static final int QUESTION_MESSAGE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PLAIN_MESSAGE

+
+static final int PLAIN_MESSAGE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_OPTION

+
+static final int DEFAULT_OPTION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+YES_NO_OPTION

+
+static final int YES_NO_OPTION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+YES_NO_CANCEL_OPTION

+
+static final int YES_NO_CANCEL_OPTION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+OK_CANCEL_OPTION

+
+static final int OK_CANCEL_OPTION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+YES_OPTION

+
+static final int YES_OPTION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NO_OPTION

+
+static final int NO_OPTION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CANCEL_OPTION

+
+static final int CANCEL_OPTION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+OK_OPTION

+
+static final int OK_OPTION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CHECK_BOX_MENU_ITEM

+
+static final java.lang.String CHECK_BOX_MENU_ITEM
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RADIO_BUTTON_GROUP_KEY

+
+static final java.lang.String RADIO_BUTTON_GROUP_KEY
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+showMessage

+
+void showMessage(java.lang.String message,
+                 java.lang.String title,
+                 int messageType)
+
+
+
+
+
+
+ +

+showConfirmDialog

+
+int showConfirmDialog(java.lang.String message,
+                      java.lang.String title,
+                      int optionType,
+                      int messageType)
+
+
+
+
+
+
+ +

+editProperties

+
+boolean editProperties(java.util.List<PropertyWrapper> properties,
+                       java.util.Set<PropertyWrapper> defaultedProperties)
+
+
+
+
+
+
+ +

+promptFileSave

+
+java.io.File promptFileSave()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/Project.SpacingValidator.html b/diylc/diylc-core/doc/org/diylc/core/Project.SpacingValidator.html new file mode 100644 index 00000000..24209717 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/Project.SpacingValidator.html @@ -0,0 +1,265 @@ + + + + + + +Project.SpacingValidator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core +
+Class Project.SpacingValidator

+
+java.lang.Object
+  extended by org.diylc.core.annotations.PositiveMeasureValidator
+      extended by org.diylc.core.Project.SpacingValidator
+
+
+
All Implemented Interfaces:
IPropertyValidator
+
+
+
Enclosing class:
Project
+
+
+
+
public static class Project.SpacingValidator
extends PositiveMeasureValidator
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Project.SpacingValidator() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidvalidate(java.lang.Object value) + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Project.SpacingValidator

+
+public Project.SpacingValidator()
+
+
+ + + + + + + + +
+Method Detail
+ +

+validate

+
+public void validate(java.lang.Object value)
+              throws ValidationException
+
+
+
Specified by:
validate in interface IPropertyValidator
Overrides:
validate in class PositiveMeasureValidator
+
+
+ +
Throws: +
ValidationException - if validation fails. Message will contain the reason.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/Project.html b/diylc/diylc-core/doc/org/diylc/core/Project.html new file mode 100644 index 00000000..281f27b0 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/Project.html @@ -0,0 +1,821 @@ + + + + + + +Project + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core +
+Class Project

+
+java.lang.Object
+  extended by org.diylc.core.Project
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class Project
extends java.lang.Object
implements java.io.Serializable
+ + +

+Entity class that defines a project. Contains project properties and a collection of + components.This class is serialized to file. Some filed getters are tagged with + EditableProperty to enable for user to edit them. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classProject.SpacingValidator + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static SizeDEFAULT_GRID_SPACING + +
+           
+static SizeDEFAULT_HEIGHT + +
+           
+static java.lang.StringDEFAULT_TITLE + +
+           
+static SizeDEFAULT_WIDTH + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Project() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Projectclone() + +
+           
+ booleanequals(java.lang.Object obj) + +
+           
+ java.lang.StringgetAuthor() + +
+           
+ java.util.List<IDIYComponent<?>>getComponents() + +
+          List of components sorted by z-order ascending.
+ java.lang.StringgetDescription() + +
+           
+ org.diylc.appframework.update.VersionNumbergetFileVersion() + +
+           
+ SizegetGridSpacing() + +
+           
+ java.util.Set<java.util.Set<IDIYComponent<?>>>getGroups() + +
+          Set of grouped components.
+ SizegetHeight() + +
+           
+ java.util.Set<java.lang.Integer>getLockedLayers() + +
+           
+ java.lang.StringgetTitle() + +
+           
+ SizegetWidth() + +
+           
+ inthashCode() + +
+           
+ voidsetAuthor(java.lang.String author) + +
+           
+ voidsetDescription(java.lang.String description) + +
+           
+ voidsetFileVersion(org.diylc.appframework.update.VersionNumber fileVersion) + +
+           
+ voidsetGridSpacing(Size gridSpacing) + +
+           
+ voidsetHeight(Size height) + +
+           
+ voidsetTitle(java.lang.String title) + +
+           
+ voidsetWidth(Size width) + +
+           
+ java.lang.StringtoString() + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DEFAULT_TITLE

+
+public static java.lang.String DEFAULT_TITLE
+
+
+
+
+
+ +

+DEFAULT_WIDTH

+
+public static Size DEFAULT_WIDTH
+
+
+
+
+
+ +

+DEFAULT_HEIGHT

+
+public static Size DEFAULT_HEIGHT
+
+
+
+
+
+ +

+DEFAULT_GRID_SPACING

+
+public static Size DEFAULT_GRID_SPACING
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+Project

+
+public Project()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getTitle

+
+public java.lang.String getTitle()
+
+
+
+
+
+
+
+
+
+ +

+setTitle

+
+public void setTitle(java.lang.String title)
+
+
+
+
+
+
+
+
+
+ +

+getAuthor

+
+public java.lang.String getAuthor()
+
+
+
+
+
+
+
+
+
+ +

+setAuthor

+
+public void setAuthor(java.lang.String author)
+
+
+
+
+
+
+
+
+
+ +

+getDescription

+
+public java.lang.String getDescription()
+
+
+
+
+
+
+
+
+
+ +

+setDescription

+
+public void setDescription(java.lang.String description)
+
+
+
+
+
+
+
+
+
+ +

+getWidth

+
+public Size getWidth()
+
+
+
+
+
+
+
+
+
+ +

+setWidth

+
+public void setWidth(Size width)
+
+
+
+
+
+
+
+
+
+ +

+getHeight

+
+public Size getHeight()
+
+
+
+
+
+
+
+
+
+ +

+setHeight

+
+public void setHeight(Size height)
+
+
+
+
+
+
+
+
+
+ +

+getGridSpacing

+
+public Size getGridSpacing()
+
+
+
+
+
+
+
+
+
+ +

+setGridSpacing

+
+public void setGridSpacing(Size gridSpacing)
+
+
+
+
+
+
+
+
+
+ +

+getComponents

+
+public java.util.List<IDIYComponent<?>> getComponents()
+
+
List of components sorted by z-order ascending. +

+

+
+
+
+ +
Returns:
+
+
+
+ +

+getGroups

+
+public java.util.Set<java.util.Set<IDIYComponent<?>>> getGroups()
+
+
Set of grouped components. +

+

+
+
+
+ +
Returns:
+
+
+
+ +

+getLockedLayers

+
+public java.util.Set<java.lang.Integer> getLockedLayers()
+
+
+
+
+
+
+
+
+
+ +

+getFileVersion

+
+public org.diylc.appframework.update.VersionNumber getFileVersion()
+
+
+
+
+
+
+
+
+
+ +

+setFileVersion

+
+public void setFileVersion(org.diylc.appframework.update.VersionNumber fileVersion)
+
+
+
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+clone

+
+public Project clone()
+
+
+
Overrides:
clone in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/Template.html b/diylc/diylc-core/doc/org/diylc/core/Template.html new file mode 100644 index 00000000..19e791dd --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/Template.html @@ -0,0 +1,395 @@ + + + + + + +Template + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core +
+Class Template

+
+java.lang.Object
+  extended by org.diylc.core.Template
+
+
+
+
public class Template
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Template(java.lang.String name, + java.util.Map<java.lang.String,java.lang.Object> values, + java.util.List<java.awt.Point> points) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(java.lang.Object obj) + +
+           
+ java.lang.StringgetName() + +
+           
+ java.util.List<java.awt.Point>getPoints() + +
+           
+ java.util.Map<java.lang.String,java.lang.Object>getValues() + +
+           
+ inthashCode() + +
+           
+ voidsetName(java.lang.String name) + +
+           
+ voidsetPoints(java.util.List<java.awt.Point> points) + +
+           
+ voidsetValues(java.util.Map<java.lang.String,java.lang.Object> values) + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Template

+
+public Template(java.lang.String name,
+                java.util.Map<java.lang.String,java.lang.Object> values,
+                java.util.List<java.awt.Point> points)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getName

+
+public java.lang.String getName()
+
+
+
+
+
+
+ +

+setName

+
+public void setName(java.lang.String name)
+
+
+
+
+
+
+ +

+getValues

+
+public java.util.Map<java.lang.String,java.lang.Object> getValues()
+
+
+
+
+
+
+ +

+setValues

+
+public void setValues(java.util.Map<java.lang.String,java.lang.Object> values)
+
+
+
+
+
+
+ +

+getPoints

+
+public java.util.List<java.awt.Point> getPoints()
+
+
+
+
+
+
+ +

+setPoints

+
+public void setPoints(java.util.List<java.awt.Point> points)
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/Theme.html b/diylc/diylc-core/doc/org/diylc/core/Theme.html new file mode 100644 index 00000000..bc8f80b5 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/Theme.html @@ -0,0 +1,398 @@ + + + + + + +Theme + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core +
+Class Theme

+
+java.lang.Object
+  extended by org.diylc.core.Theme
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class Theme
extends java.lang.Object
implements java.io.Serializable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Theme(java.lang.String name, + java.awt.Color bgColor, + java.awt.Color gridColor, + java.awt.Color outlineColor) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(java.lang.Object obj) + +
+           
+ java.awt.ColorgetBgColor() + +
+           
+ java.awt.ColorgetGridColor() + +
+           
+ java.lang.StringgetName() + +
+           
+ java.awt.ColorgetOutlineColor() + +
+           
+ inthashCode() + +
+           
+ java.lang.StringtoString() + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Theme

+
+public Theme(java.lang.String name,
+             java.awt.Color bgColor,
+             java.awt.Color gridColor,
+             java.awt.Color outlineColor)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getName

+
+public java.lang.String getName()
+
+
+
+
+
+
+
+
+
+ +

+getBgColor

+
+public java.awt.Color getBgColor()
+
+
+
+
+
+
+
+
+
+ +

+getGridColor

+
+public java.awt.Color getGridColor()
+
+
+
+
+
+
+
+
+
+ +

+getOutlineColor

+
+public java.awt.Color getOutlineColor()
+
+
+
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/ValidationException.html b/diylc/diylc-core/doc/org/diylc/core/ValidationException.html new file mode 100644 index 00000000..f33b0b4e --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/ValidationException.html @@ -0,0 +1,240 @@ + + + + + + +ValidationException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core +
+Class ValidationException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.diylc.core.ValidationException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class ValidationException
extends java.lang.Exception
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ValidationException(java.lang.String message) + +
+           
+  + + + + + + + +
+Method Summary
+  + + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ValidationException

+
+public ValidationException(java.lang.String message)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/VisibilityPolicy.html b/diylc/diylc-core/doc/org/diylc/core/VisibilityPolicy.html new file mode 100644 index 00000000..2d5dcdb6 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/VisibilityPolicy.html @@ -0,0 +1,352 @@ + + + + + + +VisibilityPolicy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core +
+Enum VisibilityPolicy

+
+java.lang.Object
+  extended by java.lang.Enum<VisibilityPolicy>
+      extended by org.diylc.core.VisibilityPolicy
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<VisibilityPolicy>
+
+
+
+
public enum VisibilityPolicy
extends java.lang.Enum<VisibilityPolicy>
+ + +

+Enumerates control point visibility policies. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Enum Constant Summary
ALWAYS + +
+          Control point should be rendered all the time.
NEVER + +
+          Control point should not be rendered regardless of component selection.
WHEN_SELECTED + +
+          Control point should be rendered only when the component is selected.
+  + + + + + + + + + + + + + + + +
+Method Summary
+static VisibilityPolicyvalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static VisibilityPolicy[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+ALWAYS

+
+public static final VisibilityPolicy ALWAYS
+
+
Control point should be rendered all the time. +

+

+
+
+
+ +

+WHEN_SELECTED

+
+public static final VisibilityPolicy WHEN_SELECTED
+
+
Control point should be rendered only when the component is selected. +

+

+
+
+
+ +

+NEVER

+
+public static final VisibilityPolicy NEVER
+
+
Control point should not be rendered regardless of component selection. +

+

+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static VisibilityPolicy[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (VisibilityPolicy c : VisibilityPolicy.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static VisibilityPolicy valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/annotations/AutoCreated.html b/diylc/diylc-core/doc/org/diylc/core/annotations/AutoCreated.html new file mode 100644 index 00000000..852abaeb --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/annotations/AutoCreated.html @@ -0,0 +1,217 @@ + + + + + + +AutoCreated + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core.annotations +
+Annotation Type AutoCreated

+
+
+
@Retention(value=RUNTIME)
+public @interface AutoCreated
+ + +

+Annotation for IDIYComponent implementation. Tells the core which component should be auto-created as a solder pad. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
+
+ +

+ + + + + + + + + + + +
+Required Element Summary
+ java.lang.Stringname + +
+           
+  +

+ + + + + + + + +
+Element Detail
+ +

+name

+
+public abstract java.lang.String name
+
+
+
+
+
+ +
Returns:
auto-create type name.
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/annotations/BomPolicy.html b/diylc/diylc-core/doc/org/diylc/core/annotations/BomPolicy.html new file mode 100644 index 00000000..634143d3 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/annotations/BomPolicy.html @@ -0,0 +1,338 @@ + + + + + + +BomPolicy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core.annotations +
+Enum BomPolicy

+
+java.lang.Object
+  extended by java.lang.Enum<BomPolicy>
+      extended by org.diylc.core.annotations.BomPolicy
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BomPolicy>
+
+
+
+
public enum BomPolicy
extends java.lang.Enum<BomPolicy>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Enum Constant Summary
NEVER_SHOW + +
+           
SHOW_ALL_NAMES + +
+           
SHOW_ONLY_TYPE_NAME + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static BomPolicyvalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static BomPolicy[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+SHOW_ALL_NAMES

+
+public static final BomPolicy SHOW_ALL_NAMES
+
+
+
+
+
+ +

+SHOW_ONLY_TYPE_NAME

+
+public static final BomPolicy SHOW_ONLY_TYPE_NAME
+
+
+
+
+
+ +

+NEVER_SHOW

+
+public static final BomPolicy NEVER_SHOW
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static BomPolicy[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (BomPolicy c : BomPolicy.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static BomPolicy valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/annotations/ComponentDescriptor.html b/diylc/diylc-core/doc/org/diylc/core/annotations/ComponentDescriptor.html new file mode 100644 index 00000000..566c4964 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/annotations/ComponentDescriptor.html @@ -0,0 +1,489 @@ + + + + + + +ComponentDescriptor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core.annotations +
+Annotation Type ComponentDescriptor

+
+
+
@Retention(value=RUNTIME)
+public @interface ComponentDescriptor
+ + +

+Annotation for IDIYComponent implementation. Describes component properties. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Required Element Summary
+ java.lang.Stringauthor + +
+           
+ java.lang.Stringcategory + +
+           
+ java.lang.Stringdescription + +
+           
+ java.lang.StringinstanceNamePrefix + +
+           
+ java.lang.Stringname + +
+           
+ doublezOrder + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Optional Element Summary
+ booleanautoEdit + +
+           
+ BomPolicybomPolicy + +
+           
+ CreationMethodcreationMethod + +
+           
+ booleanflexibleZOrder + +
+           
+ booleanrotatable + +
+           
+ booleanstretchable + +
+           
+  +

+ + + + + + + + +
+Element Detail
+ +

+name

+
+public abstract java.lang.String name
+
+
+
+
+
+ +
Returns:
component type name.
+
+
+ +

+description

+
+public abstract java.lang.String description
+
+
+
+
+
+ +
Returns:
component type description.
+
+
+ +

+category

+
+public abstract java.lang.String category
+
+
+
+
+
+ +
Returns:
component category, e.g. "Passive", "Semiconductors", etc.
+
+
+ +

+author

+
+public abstract java.lang.String author
+
+
+
+
+
+ +
Returns:
component author name.
+
+
+ +

+instanceNamePrefix

+
+public abstract java.lang.String instanceNamePrefix
+
+
+
+
+
+ +
Returns:
prefix that will be used to generate component instance names, e.g. "R" for resistors + or "Q" for transistors.
+
+
+ +

+zOrder

+
+public abstract double zOrder
+
+
+
+
+
+ +
Returns:
Z-order of the component.
+
+

+creationMethod

+
+public abstract CreationMethod creationMethod
+
+
+
+
+
+ +
Returns:
method that should be used to create a component. If + CreationMethod.POINT_BY_POINT is used, user will have to select ending + points before the component is created.
+
+
Default:
org.diylc.core.CreationMethod.SINGLE_CLICK
+
+
+
+ +

+flexibleZOrder

+
+public abstract boolean flexibleZOrder
+
+
+
+
+
+ +
Returns:
true if the component may go beyond it's predefined layer. In that case, + zOrder is used as initial z order of the component.
+
+
Default:
false
+
+
+
+ +

+stretchable

+
+public abstract boolean stretchable
+
+
+
+
+
+ +
Returns:
when false, moving one control point will cause all the others to move together with + it.
+
+
Default:
true
+
+
+
+ +

+bomPolicy

+
+public abstract BomPolicy bomPolicy
+
+
+
+
+
+ +
Returns:
controls what should be shown the BOM
+
+
Default:
org.diylc.core.annotations.BomPolicy.SHOW_ALL_NAMES
+
+
+
+ +

+autoEdit

+
+public abstract boolean autoEdit
+
+
+
+
+
+ +
Returns:
when true, component editor dialog should be shown in Auto-Edit mode.
+
+
Default:
true
+
+
+
+ +

+rotatable

+
+public abstract boolean rotatable
+
+
+
+
+
+ +
Returns:
true if component may be rotated, false otherwise
+
+
Default:
true
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/annotations/EditableProperty.html b/diylc/diylc-core/doc/org/diylc/core/annotations/EditableProperty.html new file mode 100644 index 00000000..bb603935 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/annotations/EditableProperty.html @@ -0,0 +1,270 @@ + + + + + + +EditableProperty + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core.annotations +
+Annotation Type EditableProperty

+
+
+
@Retention(value=RUNTIME)
+public @interface EditableProperty
+ + +

+Used to annotate editable component property. Editable property XYZ must have both getter and + setter named getXYZ and setXYZ respectively and this annotation must be + placed on the getter method. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
+
+ +

+ + + + + + + + + + + + + + + + + + + +
+Optional Element Summary
+ booleandefaultable + +
+          If true, application may set default value for this property.
+ java.lang.Stringname + +
+          Returns property name.
+ java.lang.Class<? extends IPropertyValidator>validatorClass + +
+          Class of validator to use to
+  +

+

+name

+
+public abstract java.lang.String name
+
+
Returns property name. If left blank property name will be extracted from the getter name, e.g. + getter getXYZ will induce property name XYZ.
+ Default value is blank. +

+

+
+
+
+ +
Returns:
+
+
Default:
""
+
+
+
+ +

+defaultable

+
+public abstract boolean defaultable
+
+
If true, application may set default value for this property.
+ Default value is true. +

+

+
+
+
+ +
Returns:
+
+
Default:
true
+
+
+
+ +

+validatorClass

+
+public abstract java.lang.Class<? extends IPropertyValidator> validatorClass
+
+
Class of validator to use to +

+

+
+
+
+ +
Returns:
+
+
Default:
org.diylc.core.AllowAllValidator.class
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/annotations/PositiveMeasureValidator.html b/diylc/diylc-core/doc/org/diylc/core/annotations/PositiveMeasureValidator.html new file mode 100644 index 00000000..dcb66aa9 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/annotations/PositiveMeasureValidator.html @@ -0,0 +1,264 @@ + + + + + + +PositiveMeasureValidator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core.annotations +
+Class PositiveMeasureValidator

+
+java.lang.Object
+  extended by org.diylc.core.annotations.PositiveMeasureValidator
+
+
+
All Implemented Interfaces:
IPropertyValidator
+
+
+
Direct Known Subclasses:
Project.SpacingValidator
+
+
+
+
public class PositiveMeasureValidator
extends java.lang.Object
implements IPropertyValidator
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
PositiveMeasureValidator() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidvalidate(java.lang.Object value) + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PositiveMeasureValidator

+
+public PositiveMeasureValidator()
+
+
+ + + + + + + + +
+Method Detail
+ +

+validate

+
+public void validate(java.lang.Object value)
+              throws ValidationException
+
+
+
Specified by:
validate in interface IPropertyValidator
+
+
+ +
Throws: +
ValidationException - if validation fails. Message will contain the reason.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/annotations/class-use/AutoCreated.html b/diylc/diylc-core/doc/org/diylc/core/annotations/class-use/AutoCreated.html new file mode 100644 index 00000000..34e4a5aa --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/annotations/class-use/AutoCreated.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.core.annotations.AutoCreated + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.annotations.AutoCreated

+
+No usage of org.diylc.core.annotations.AutoCreated +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/annotations/class-use/BomPolicy.html b/diylc/diylc-core/doc/org/diylc/core/annotations/class-use/BomPolicy.html new file mode 100644 index 00000000..2a7ab75e --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/annotations/class-use/BomPolicy.html @@ -0,0 +1,246 @@ + + + + + + +Uses of Class org.diylc.core.annotations.BomPolicy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.annotations.BomPolicy

+
+ + + + + + + + + + + + + +
+Packages that use BomPolicy
org.diylc.common  
org.diylc.core.annotations  
+  +

+ + + + + +
+Uses of BomPolicy in org.diylc.common
+  +

+ + + + + + + + + +
Methods in org.diylc.common that return BomPolicy
+ BomPolicyComponentType.getBomPolicy() + +
+           
+  +

+ + + + + + + + +
Constructors in org.diylc.common with parameters of type BomPolicy
ComponentType(java.lang.String name, + java.lang.String description, + CreationMethod creationMethod, + java.lang.String category, + java.lang.String namePrefix, + java.lang.String author, + javax.swing.Icon icon, + java.lang.Class<? extends IDIYComponent<?>> instanceClass, + double zOrder, + boolean flexibleZOrder, + boolean stretchable, + BomPolicy bomPolicy, + boolean autoEdit, + boolean rotatable, + java.lang.String autoCreateName) + +
+           
+  +

+ + + + + +
+Uses of BomPolicy in org.diylc.core.annotations
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.core.annotations that return BomPolicy
+static BomPolicyBomPolicy.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static BomPolicy[]BomPolicy.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/annotations/class-use/ComponentDescriptor.html b/diylc/diylc-core/doc/org/diylc/core/annotations/class-use/ComponentDescriptor.html new file mode 100644 index 00000000..5f9ebe67 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/annotations/class-use/ComponentDescriptor.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.core.annotations.ComponentDescriptor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.annotations.ComponentDescriptor

+
+No usage of org.diylc.core.annotations.ComponentDescriptor +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/annotations/class-use/EditableProperty.html b/diylc/diylc-core/doc/org/diylc/core/annotations/class-use/EditableProperty.html new file mode 100644 index 00000000..ce9422d6 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/annotations/class-use/EditableProperty.html @@ -0,0 +1,353 @@ + + + + + + +Uses of Class org.diylc.core.annotations.EditableProperty + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.annotations.EditableProperty

+
+ + + + + + + + + + + + + +
+Packages that use EditableProperty
org.diylc.components  
org.diylc.core  
+  +

+ + + + + +
+Uses of EditableProperty in org.diylc.components
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in org.diylc.components with annotations of type EditableProperty
+ java.lang.ByteAbstractTransparentComponent.getAlpha() + +
+           
+ java.awt.ColorAbstractLeadedComponent.getBodyColor() + +
+           
+ java.awt.ColorAbstractLeadedComponent.getBorderColor() + +
+           
+ java.awt.ColorAbstractSchematicLeadedSymbol.getBorderColor() + +
+           
+ java.awt.ColorAbstractCurvedComponent.getColor() + +
+           
+ DisplayAbstractLeadedComponent.getDisplay() + +
+           
+ java.awt.ColorAbstractLeadedComponent.getLabelColor() + +
+           
+ LabelPositionAbstractSchematicLeadedSymbol.getLabelPosition() + +
+           
+ java.awt.ColorAbstractLeadedComponent.getLeadColor() + +
+           
+ SizeAbstractLeadedComponent.getLength() + +
+           
+ java.lang.StringAbstractComponent.getName() + +
+           
+ SizeAbstractRadialComponent.getPinSpacing() + +
+           
+ org.diylc.components.AbstractCurvedComponent.PointCountAbstractCurvedComponent.getPointCount() + +
+           
+ SizeAbstractLeadedComponent.getWidth() + +
+           
+  +

+ + + + + +
+Uses of EditableProperty in org.diylc.core
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in org.diylc.core with annotations of type EditableProperty
+ java.lang.StringProject.getAuthor() + +
+           
+ java.lang.StringProject.getDescription() + +
+           
+ SizeProject.getGridSpacing() + +
+           
+ SizeProject.getHeight() + +
+           
+ java.lang.StringProject.getTitle() + +
+           
+ SizeProject.getWidth() + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/annotations/class-use/PositiveMeasureValidator.html b/diylc/diylc-core/doc/org/diylc/core/annotations/class-use/PositiveMeasureValidator.html new file mode 100644 index 00000000..2fb44387 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/annotations/class-use/PositiveMeasureValidator.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Class org.diylc.core.annotations.PositiveMeasureValidator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.annotations.PositiveMeasureValidator

+
+ + + + + + + + + +
+Packages that use PositiveMeasureValidator
org.diylc.core  
+  +

+ + + + + +
+Uses of PositiveMeasureValidator in org.diylc.core
+  +

+ + + + + + + + + +
Subclasses of PositiveMeasureValidator in org.diylc.core
+static classProject.SpacingValidator + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/annotations/package-frame.html b/diylc/diylc-core/doc/org/diylc/core/annotations/package-frame.html new file mode 100644 index 00000000..1251807e --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/annotations/package-frame.html @@ -0,0 +1,58 @@ + + + + + + +org.diylc.core.annotations + + + + + + + + + + + +org.diylc.core.annotations + + + + +
+Classes  + +
+PositiveMeasureValidator
+ + + + + + +
+Enums  + +
+BomPolicy
+ + + + + + +
+Annotation Types  + +
+AutoCreated +
+ComponentDescriptor +
+EditableProperty
+ + + + diff --git a/diylc/diylc-core/doc/org/diylc/core/annotations/package-summary.html b/diylc/diylc-core/doc/org/diylc/core/annotations/package-summary.html new file mode 100644 index 00000000..ef42185e --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/annotations/package-summary.html @@ -0,0 +1,193 @@ + + + + + + +org.diylc.core.annotations + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.diylc.core.annotations +

+ + + + + + + + + +
+Class Summary
PositiveMeasureValidator 
+  + +

+ + + + + + + + + +
+Enum Summary
BomPolicy 
+  + +

+ + + + + + + + + + + + + + + + + +
+Annotation Types Summary
AutoCreatedAnnotation for IDIYComponent implementation.
ComponentDescriptorAnnotation for IDIYComponent implementation.
EditablePropertyUsed to annotate editable component property.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/annotations/package-tree.html b/diylc/diylc-core/doc/org/diylc/core/annotations/package-tree.html new file mode 100644 index 00000000..44fff528 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/annotations/package-tree.html @@ -0,0 +1,172 @@ + + + + + + +org.diylc.core.annotations Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.diylc.core.annotations +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Annotation Type Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/annotations/package-use.html b/diylc/diylc-core/doc/org/diylc/core/annotations/package-use.html new file mode 100644 index 00000000..8177e389 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/annotations/package-use.html @@ -0,0 +1,233 @@ + + + + + + +Uses of Package org.diylc.core.annotations + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
org.diylc.core.annotations

+
+ + + + + + + + + + + + + + + + + + + + + +
+Packages that use org.diylc.core.annotations
org.diylc.common  
org.diylc.components  
org.diylc.core  
org.diylc.core.annotations  
+  +

+ + + + + + + + +
+Classes in org.diylc.core.annotations used by org.diylc.common
BomPolicy + +
+           
+  +

+ + + + + + + + +
+Classes in org.diylc.core.annotations used by org.diylc.components
EditableProperty + +
+          Used to annotate editable component property.
+  +

+ + + + + + + + + + + +
+Classes in org.diylc.core.annotations used by org.diylc.core
EditableProperty + +
+          Used to annotate editable component property.
PositiveMeasureValidator + +
+           
+  +

+ + + + + + + + +
+Classes in org.diylc.core.annotations used by org.diylc.core.annotations
BomPolicy + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/class-use/AllowAllValidator.html b/diylc/diylc-core/doc/org/diylc/core/class-use/AllowAllValidator.html new file mode 100644 index 00000000..0a3b1f85 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/class-use/AllowAllValidator.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.core.AllowAllValidator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.AllowAllValidator

+
+No usage of org.diylc.core.AllowAllValidator +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/class-use/ComponentState.html b/diylc/diylc-core/doc/org/diylc/core/class-use/ComponentState.html new file mode 100644 index 00000000..6cddc555 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/class-use/ComponentState.html @@ -0,0 +1,254 @@ + + + + + + +Uses of Class org.diylc.core.ComponentState + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.ComponentState

+
+ + + + + + + + + + + + + +
+Packages that use ComponentState
org.diylc.components  
org.diylc.core  
+  +

+ + + + + +
+Uses of ComponentState in org.diylc.components
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.components with parameters of type ComponentState
+ voidAbstractCurvedComponent.draw(java.awt.Graphics2D g2d, + ComponentState componentState, + boolean outlineMode, + Project project, + IDrawingObserver drawingObserver) + +
+           
+ voidAbstractLeadedComponent.draw(java.awt.Graphics2D g2d, + ComponentState componentState, + boolean outlineMode, + Project project, + IDrawingObserver drawingObserver) + +
+           
+  +

+ + + + + +
+Uses of ComponentState in org.diylc.core
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.core that return ComponentState
+static ComponentStateComponentState.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static ComponentState[]ComponentState.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + + + + + +
Methods in org.diylc.core with parameters of type ComponentState
+ voidIDIYComponent.draw(java.awt.Graphics2D g2d, + ComponentState componentState, + boolean outlineMode, + Project project, + IDrawingObserver drawingObserver) + +
+          Draws the component onto the Graphics2D.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/class-use/CreationMethod.html b/diylc/diylc-core/doc/org/diylc/core/class-use/CreationMethod.html new file mode 100644 index 00000000..bdd21b6f --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/class-use/CreationMethod.html @@ -0,0 +1,246 @@ + + + + + + +Uses of Class org.diylc.core.CreationMethod + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.CreationMethod

+
+ + + + + + + + + + + + + +
+Packages that use CreationMethod
org.diylc.common  
org.diylc.core  
+  +

+ + + + + +
+Uses of CreationMethod in org.diylc.common
+  +

+ + + + + + + + + +
Methods in org.diylc.common that return CreationMethod
+ CreationMethodComponentType.getCreationMethod() + +
+           
+  +

+ + + + + + + + +
Constructors in org.diylc.common with parameters of type CreationMethod
ComponentType(java.lang.String name, + java.lang.String description, + CreationMethod creationMethod, + java.lang.String category, + java.lang.String namePrefix, + java.lang.String author, + javax.swing.Icon icon, + java.lang.Class<? extends IDIYComponent<?>> instanceClass, + double zOrder, + boolean flexibleZOrder, + boolean stretchable, + BomPolicy bomPolicy, + boolean autoEdit, + boolean rotatable, + java.lang.String autoCreateName) + +
+           
+  +

+ + + + + +
+Uses of CreationMethod in org.diylc.core
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.core that return CreationMethod
+static CreationMethodCreationMethod.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static CreationMethod[]CreationMethod.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/class-use/ExpansionMode.html b/diylc/diylc-core/doc/org/diylc/core/class-use/ExpansionMode.html new file mode 100644 index 00000000..068b7a2a --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/class-use/ExpansionMode.html @@ -0,0 +1,247 @@ + + + + + + +Uses of Class org.diylc.core.ExpansionMode + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.ExpansionMode

+
+ + + + + + + + + + + + + + + + + +
+Packages that use ExpansionMode
org.diylc.common  
org.diylc.core  
org.diylc.presenter  
+  +

+ + + + + +
+Uses of ExpansionMode in org.diylc.common
+  +

+ + + + + + + + + +
Methods in org.diylc.common with parameters of type ExpansionMode
+ voidISelectionProcessor.expandSelection(ExpansionMode expansionMode) + +
+          Expands the current selection to include surrounding components.
+  +

+ + + + + +
+Uses of ExpansionMode in org.diylc.core
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.core that return ExpansionMode
+static ExpansionModeExpansionMode.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static ExpansionMode[]ExpansionMode.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + +
+Uses of ExpansionMode in org.diylc.presenter
+  +

+ + + + + + + + + +
Methods in org.diylc.presenter with parameters of type ExpansionMode
+ voidPresenter.expandSelection(ExpansionMode expansionMode) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/class-use/IDIYComponent.html b/diylc/diylc-core/doc/org/diylc/core/class-use/IDIYComponent.html new file mode 100644 index 00000000..1d0adf28 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/class-use/IDIYComponent.html @@ -0,0 +1,750 @@ + + + + + + +Uses of Interface org.diylc.core.IDIYComponent + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.diylc.core.IDIYComponent

+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages that use IDIYComponent
org.diylc.common  
org.diylc.components  
org.diylc.core  
org.diylc.presenter  
org.diylc.utils  
+  +

+ + + + + +
+Uses of IDIYComponent in org.diylc.common
+  +

+ + + + + + + + + + + + + + + + + +
Methods in org.diylc.common that return types with arguments of type IDIYComponent
+ java.util.List<IDIYComponent<?>>ISelectionProcessor.findComponentsAt(java.awt.Point point) + +
+          Finds all components at the specified location, sorted by z-index from top to bottom.
+ java.lang.Class<? extends IDIYComponent<?>>ComponentType.getInstanceClass() + +
+           
+ java.util.List<IDIYComponent<?>>ISelectionProcessor.getSelectedComponents() + +
+          Returns the current ComponentTransferable.
+  +

+ + + + + + + + + +
Methods in org.diylc.common with parameters of type IDIYComponent
+ booleanIComponentFiler.testComponent(IDIYComponent<?> component) + +
+           
+  +

+ + + + + + + + + + + + + +
Method parameters in org.diylc.common with type arguments of type IDIYComponent
+ voidIPlugInPort.pasteComponents(java.util.List<IDIYComponent<?>> components) + +
+          Adds a list of components to the project.
+ voidISelectionProcessor.updateSelection(java.util.List<IDIYComponent<?>> newSelection) + +
+          Updates the selection with the specified list of component.
+  +

+ + + + + + + + +
Constructor parameters in org.diylc.common with type arguments of type IDIYComponent
ComponentType(java.lang.String name, + java.lang.String description, + CreationMethod creationMethod, + java.lang.String category, + java.lang.String namePrefix, + java.lang.String author, + javax.swing.Icon icon, + java.lang.Class<? extends IDIYComponent<?>> instanceClass, + double zOrder, + boolean flexibleZOrder, + boolean stretchable, + BomPolicy bomPolicy, + boolean autoEdit, + boolean rotatable, + java.lang.String autoCreateName) + +
+           
+  +

+ + + + + +
+Uses of IDIYComponent in org.diylc.components
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Classes in org.diylc.components that implement IDIYComponent
+ classAbstractComponent<T> + +
+          Abstract implementation of IDIYComponent that contains component name and toString.
+ classAbstractCurvedComponent<T> + +
+           
+ classAbstractLeadedComponent<T> + +
+          Base class for all leaded components such as resistors or capacitors.
+ classAbstractRadialComponent<T> + +
+          Base class for radial components.
+ classAbstractSchematicLeadedSymbol<T> + +
+           
+ classAbstractTransparentComponent<T> + +
+           
+  +

+ + + + + + + + + +
Methods in org.diylc.components that return IDIYComponent
+ IDIYComponent<T>AbstractComponent.clone() + +
+           
+  +

+ + + + + + + + + +
Methods in org.diylc.components with parameters of type IDIYComponent
+ booleanAbstractComponent.equalsTo(IDIYComponent<?> other) + +
+           
+  +

+ + + + + +
+Uses of IDIYComponent in org.diylc.core
+  +

+ + + + + + + + + +
Methods in org.diylc.core that return IDIYComponent
+ IDIYComponent<T>IDIYComponent.clone() + +
+          Clones the component.
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.core that return types with arguments of type IDIYComponent
+ java.util.List<IDIYComponent<?>>Project.getComponents() + +
+          List of components sorted by z-order ascending.
+ java.util.Set<java.util.Set<IDIYComponent<?>>>Project.getGroups() + +
+          Set of grouped components.
+  +

+ + + + + + + + + +
Methods in org.diylc.core with parameters of type IDIYComponent
+ booleanIDIYComponent.equalsTo(IDIYComponent<?> other) + +
+          Checks if two components are equal.
+  +

+ + + + + +
+Uses of IDIYComponent in org.diylc.presenter
+  +

+ + + + + + + + + +
Fields in org.diylc.presenter with type parameters of type IDIYComponent
+static java.util.List<IDIYComponent<?>>Presenter.EMPTY_SELECTION + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in org.diylc.presenter that return types with arguments of type IDIYComponent
+ java.util.List<IDIYComponent<?>>DrawingManager.drawProject(java.awt.Graphics2D g2d, + Project project, + java.util.Set<DrawOption> drawOptions, + IComponentFiler filter, + java.awt.Rectangle selectionRect, + java.util.List<IDIYComponent<?>> selectedComponents, + java.util.Set<IDIYComponent<?>> lockedComponents, + java.util.Set<IDIYComponent<?>> groupedComponents, + java.util.List<java.awt.Point> controlPointSlot, + java.util.List<IDIYComponent<?>> componentSlot, + boolean dragInProgress) + +
+          Paints the project onto the canvas and returns the list of components that failed to draw.
+ java.util.List<IDIYComponent<?>>Presenter.findComponentsAt(java.awt.Point point) + +
+           
+ java.util.List<IDIYComponent<?>>DrawingManager.findComponentsAt(java.awt.Point point, + Project project) + +
+           
+ java.util.List<IDIYComponent<?>>Presenter.findComponentsAtScaled(java.awt.Point point) + +
+          Finds all components whose areas include the specified Point.
+ java.util.Comparator<IDIYComponent<?>>ComparatorFactory.getComponentNameComparator() + +
+           
+ java.util.List<IDIYComponent<?>>InstantiationManager.getComponentSlot() + +
+           
+ java.util.Comparator<IDIYComponent<?>>ComparatorFactory.getComponentZOrderComparator() + +
+           
+ java.util.List<IDIYComponent<?>>Presenter.getSelectedComponents() + +
+           
+ java.util.List<IDIYComponent<?>>InstantiationManager.instantiateComponent(ComponentType componentType, + Template template, + java.awt.Point point, + Project currentProject) + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in org.diylc.presenter with parameters of type IDIYComponent
+ java.awt.geom.AreaDrawingManager.getComponentArea(IDIYComponent<?> component) + +
+           
+ voidDrawingManager.invalidateComponent(IDIYComponent<?> component) + +
+           
+ voidInstantiationManager.loadComponentShapeFromTemplate(IDIYComponent<?> component, + Template template) + +
+          Uses stored control points from the template to shape component.
+ booleanPCBLayerFiler.testComponent(IDIYComponent<?> component) + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method parameters in org.diylc.presenter with type arguments of type IDIYComponent
+ java.util.List<IDIYComponent<?>>DrawingManager.drawProject(java.awt.Graphics2D g2d, + Project project, + java.util.Set<DrawOption> drawOptions, + IComponentFiler filter, + java.awt.Rectangle selectionRect, + java.util.List<IDIYComponent<?>> selectedComponents, + java.util.Set<IDIYComponent<?>> lockedComponents, + java.util.Set<IDIYComponent<?>> groupedComponents, + java.util.List<java.awt.Point> controlPointSlot, + java.util.List<IDIYComponent<?>> componentSlot, + boolean dragInProgress) + +
+          Paints the project onto the canvas and returns the list of components that failed to draw.
+ java.util.List<IDIYComponent<?>>DrawingManager.drawProject(java.awt.Graphics2D g2d, + Project project, + java.util.Set<DrawOption> drawOptions, + IComponentFiler filter, + java.awt.Rectangle selectionRect, + java.util.List<IDIYComponent<?>> selectedComponents, + java.util.Set<IDIYComponent<?>> lockedComponents, + java.util.Set<IDIYComponent<?>> groupedComponents, + java.util.List<java.awt.Point> controlPointSlot, + java.util.List<IDIYComponent<?>> componentSlot, + boolean dragInProgress) + +
+          Paints the project onto the canvas and returns the list of components that failed to draw.
+ java.util.List<IDIYComponent<?>>DrawingManager.drawProject(java.awt.Graphics2D g2d, + Project project, + java.util.Set<DrawOption> drawOptions, + IComponentFiler filter, + java.awt.Rectangle selectionRect, + java.util.List<IDIYComponent<?>> selectedComponents, + java.util.Set<IDIYComponent<?>> lockedComponents, + java.util.Set<IDIYComponent<?>> groupedComponents, + java.util.List<java.awt.Point> controlPointSlot, + java.util.List<IDIYComponent<?>> componentSlot, + boolean dragInProgress) + +
+          Paints the project onto the canvas and returns the list of components that failed to draw.
+ java.util.List<IDIYComponent<?>>DrawingManager.drawProject(java.awt.Graphics2D g2d, + Project project, + java.util.Set<DrawOption> drawOptions, + IComponentFiler filter, + java.awt.Rectangle selectionRect, + java.util.List<IDIYComponent<?>> selectedComponents, + java.util.Set<IDIYComponent<?>> lockedComponents, + java.util.Set<IDIYComponent<?>> groupedComponents, + java.util.List<java.awt.Point> controlPointSlot, + java.util.List<IDIYComponent<?>> componentSlot, + boolean dragInProgress) + +
+          Paints the project onto the canvas and returns the list of components that failed to draw.
+ ComponentTypeComponentProcessor.extractComponentTypeFrom(java.lang.Class<? extends IDIYComponent<?>> clazz) + +
+           
+ java.util.List<PropertyWrapper>ComponentProcessor.getMutualSelectionProperties(java.util.List<IDIYComponent<?>> selectedComponents) + +
+          Returns properties that have the same value for all the selected components.
+ voidPresenter.pasteComponents(java.util.List<IDIYComponent<?>> components) + +
+           
+ voidInstantiationManager.pasteComponents(java.util.List<IDIYComponent<?>> components, + java.awt.Point scaledPoint, + boolean snapToGrid, + Size gridSpacing) + +
+           
+ voidPresenter.updateSelection(java.util.List<IDIYComponent<?>> newSelection) + +
+           
+  +

+ + + + + +
+Uses of IDIYComponent in org.diylc.utils
+  +

+ + + + + + + + + +
Method parameters in org.diylc.utils with type arguments of type IDIYComponent
+ java.util.List<BomEntry>BomMaker.createBom(java.util.List<IDIYComponent<?>> components) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/class-use/IDrawingObserver.html b/diylc/diylc-core/doc/org/diylc/core/class-use/IDrawingObserver.html new file mode 100644 index 00000000..9f718351 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/class-use/IDrawingObserver.html @@ -0,0 +1,229 @@ + + + + + + +Uses of Interface org.diylc.core.IDrawingObserver + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.diylc.core.IDrawingObserver

+
+ + + + + + + + + + + + + +
+Packages that use IDrawingObserver
org.diylc.components  
org.diylc.core  
+  +

+ + + + + +
+Uses of IDrawingObserver in org.diylc.components
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.components with parameters of type IDrawingObserver
+ voidAbstractCurvedComponent.draw(java.awt.Graphics2D g2d, + ComponentState componentState, + boolean outlineMode, + Project project, + IDrawingObserver drawingObserver) + +
+           
+ voidAbstractLeadedComponent.draw(java.awt.Graphics2D g2d, + ComponentState componentState, + boolean outlineMode, + Project project, + IDrawingObserver drawingObserver) + +
+           
+  +

+ + + + + +
+Uses of IDrawingObserver in org.diylc.core
+  +

+ + + + + + + + + +
Methods in org.diylc.core with parameters of type IDrawingObserver
+ voidIDIYComponent.draw(java.awt.Graphics2D g2d, + ComponentState componentState, + boolean outlineMode, + Project project, + IDrawingObserver drawingObserver) + +
+          Draws the component onto the Graphics2D.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/class-use/IPropertyValidator.html b/diylc/diylc-core/doc/org/diylc/core/class-use/IPropertyValidator.html new file mode 100644 index 00000000..b2c10afa --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/class-use/IPropertyValidator.html @@ -0,0 +1,265 @@ + + + + + + +Uses of Interface org.diylc.core.IPropertyValidator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.diylc.core.IPropertyValidator

+
+ + + + + + + + + + + + + + + + + +
+Packages that use IPropertyValidator
org.diylc.common  
org.diylc.core  
org.diylc.core.annotations  
+  +

+ + + + + +
+Uses of IPropertyValidator in org.diylc.common
+  +

+ + + + + + + + + +
Methods in org.diylc.common that return IPropertyValidator
+ IPropertyValidatorPropertyWrapper.getValidator() + +
+           
+  +

+ + + + + + + + +
Constructors in org.diylc.common with parameters of type IPropertyValidator
PropertyWrapper(java.lang.String name, + java.lang.Class<?> type, + java.lang.String getter, + java.lang.String setter, + boolean defaultable, + IPropertyValidator validator) + +
+           
+  +

+ + + + + +
+Uses of IPropertyValidator in org.diylc.core
+  +

+ + + + + + + + + + + + + +
Classes in org.diylc.core that implement IPropertyValidator
+ classAllowAllValidator + +
+          Validator that allows all values.
+static classProject.SpacingValidator + +
+           
+  +

+ + + + + +
+Uses of IPropertyValidator in org.diylc.core.annotations
+  +

+ + + + + + + + + +
Classes in org.diylc.core.annotations that implement IPropertyValidator
+ classPositiveMeasureValidator + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/class-use/IView.html b/diylc/diylc-core/doc/org/diylc/core/class-use/IView.html new file mode 100644 index 00000000..aa3fe999 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/class-use/IView.html @@ -0,0 +1,178 @@ + + + + + + +Uses of Interface org.diylc.core.IView + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.diylc.core.IView

+
+ + + + + + + + + +
+Packages that use IView
org.diylc.presenter  
+  +

+ + + + + +
+Uses of IView in org.diylc.presenter
+  +

+ + + + + + + + +
Constructors in org.diylc.presenter with parameters of type IView
Presenter(IView view) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/class-use/Project.SpacingValidator.html b/diylc/diylc-core/doc/org/diylc/core/class-use/Project.SpacingValidator.html new file mode 100644 index 00000000..16f430ec --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/class-use/Project.SpacingValidator.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.core.Project.SpacingValidator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.Project.SpacingValidator

+
+No usage of org.diylc.core.Project.SpacingValidator +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/class-use/Project.html b/diylc/diylc-core/doc/org/diylc/core/class-use/Project.html new file mode 100644 index 00000000..89d314db --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/class-use/Project.html @@ -0,0 +1,462 @@ + + + + + + +Uses of Class org.diylc.core.Project + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.Project

+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages that use Project
org.diylc.common  
org.diylc.components  
org.diylc.core  
org.diylc.parsing  
org.diylc.presenter  
+  +

+ + + + + +
+Uses of Project in org.diylc.common
+  +

+ + + + + + + + + +
Methods in org.diylc.common that return Project
+ ProjectIPlugInPort.getCurrentProject() + +
+          Returns an instance of currently loaded project.
+  +

+ + + + + + + + + +
Methods in org.diylc.common with parameters of type Project
+ voidIPlugInPort.loadProject(Project project, + boolean freshStart) + +
+          Loads specified Project.
+  +

+ + + + + +
+Uses of Project in org.diylc.components
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.components with parameters of type Project
+ voidAbstractCurvedComponent.draw(java.awt.Graphics2D g2d, + ComponentState componentState, + boolean outlineMode, + Project project, + IDrawingObserver drawingObserver) + +
+           
+ voidAbstractLeadedComponent.draw(java.awt.Graphics2D g2d, + ComponentState componentState, + boolean outlineMode, + Project project, + IDrawingObserver drawingObserver) + +
+           
+  +

+ + + + + +
+Uses of Project in org.diylc.core
+  +

+ + + + + + + + + +
Methods in org.diylc.core that return Project
+ ProjectProject.clone() + +
+           
+  +

+ + + + + + + + + +
Methods in org.diylc.core with parameters of type Project
+ voidIDIYComponent.draw(java.awt.Graphics2D g2d, + ComponentState componentState, + boolean outlineMode, + Project project, + IDrawingObserver drawingObserver) + +
+          Draws the component onto the Graphics2D.
+  +

+ + + + + +
+Uses of Project in org.diylc.parsing
+  +

+ + + + + + + + + +
Methods in org.diylc.parsing that return Project
+ ProjectIOldFileParser.parseFile(org.w3c.dom.Element root, + java.util.List<java.lang.String> warnings) + +
+           
+  +

+ + + + + +
+Uses of Project in org.diylc.presenter
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.presenter that return Project
+ ProjectProjectFileManager.deserializeProjectFromFile(java.lang.String fileName, + java.util.List<java.lang.String> warnings) + +
+           
+ ProjectPresenter.getCurrentProject() + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in org.diylc.presenter with parameters of type Project
+ java.lang.StringInstantiationManager.createUniqueName(ComponentType componentType, + Project currentProject) + +
+           
+ java.util.List<IDIYComponent<?>>DrawingManager.drawProject(java.awt.Graphics2D g2d, + Project project, + java.util.Set<DrawOption> drawOptions, + IComponentFiler filter, + java.awt.Rectangle selectionRect, + java.util.List<IDIYComponent<?>> selectedComponents, + java.util.Set<IDIYComponent<?>> lockedComponents, + java.util.Set<IDIYComponent<?>> groupedComponents, + java.util.List<java.awt.Point> controlPointSlot, + java.util.List<IDIYComponent<?>> componentSlot, + boolean dragInProgress) + +
+          Paints the project onto the canvas and returns the list of components that failed to draw.
+ java.util.List<IDIYComponent<?>>DrawingManager.findComponentsAt(java.awt.Point point, + Project project) + +
+           
+ java.awt.DimensionDrawingManager.getCanvasDimensions(Project project, + java.lang.Double zoomLevel, + boolean useZoom) + +
+           
+ java.util.List<IDIYComponent<?>>InstantiationManager.instantiateComponent(ComponentType componentType, + Template template, + java.awt.Point point, + Project currentProject) + +
+           
+ voidInstantiationManager.instatiatePointByPoint(java.awt.Point scaledPoint, + Project currentProject) + +
+           
+ voidPresenter.loadProject(Project project, + boolean freshStart) + +
+           
+ voidProjectFileManager.serializeProjectToFile(Project project, + java.lang.String fileName, + boolean isBackup) + +
+           
+ voidInstantiationManager.setComponentTypeSlot(ComponentType componentTypeSlot, + Template template, + Project currentProject) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/class-use/Template.html b/diylc/diylc-core/doc/org/diylc/core/class-use/Template.html new file mode 100644 index 00000000..7e79b2d3 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/class-use/Template.html @@ -0,0 +1,332 @@ + + + + + + +Uses of Class org.diylc.core.Template + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.Template

+
+ + + + + + + + + + + + + +
+Packages that use Template
org.diylc.common  
org.diylc.presenter  
+  +

+ + + + + +
+Uses of Template in org.diylc.common
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.common that return types with arguments of type Template
+ java.util.List<Template>ITemplateProcessor.getTemplatesFor(java.lang.String categoryName, + java.lang.String componentTypeName) + +
+           
+ java.util.List<Template>ITemplateProcessor.getTemplatesForSelection() + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.common with parameters of type Template
+ voidITemplateProcessor.applyTemplateToSelection(Template template) + +
+           
+ voidIPlugInPort.setNewComponentTypeSlot(ComponentType componentType, + Template template) + +
+          Sets the new component slot.
+  +

+ + + + + +
+Uses of Template in org.diylc.presenter
+  +

+ + + + + + + + + +
Methods in org.diylc.presenter that return Template
+ TemplateInstantiationManager.getTemplate() + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.presenter that return types with arguments of type Template
+ java.util.List<Template>Presenter.getTemplatesFor(java.lang.String categoryName, + java.lang.String componentTypeName) + +
+           
+ java.util.List<Template>Presenter.getTemplatesForSelection() + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in org.diylc.presenter with parameters of type Template
+ voidPresenter.applyTemplateToSelection(Template template) + +
+           
+ voidInstantiationManager.fillWithDefaultProperties(java.lang.Object object, + Template template) + +
+          Finds any properties that have default values and injects default values.
+ java.util.List<IDIYComponent<?>>InstantiationManager.instantiateComponent(ComponentType componentType, + Template template, + java.awt.Point point, + Project currentProject) + +
+           
+ voidInstantiationManager.loadComponentShapeFromTemplate(IDIYComponent<?> component, + Template template) + +
+          Uses stored control points from the template to shape component.
+ voidInstantiationManager.setComponentTypeSlot(ComponentType componentTypeSlot, + Template template, + Project currentProject) + +
+           
+ voidPresenter.setNewComponentTypeSlot(ComponentType componentType, + Template template) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/class-use/Theme.html b/diylc/diylc-core/doc/org/diylc/core/class-use/Theme.html new file mode 100644 index 00000000..ddbd1e06 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/class-use/Theme.html @@ -0,0 +1,286 @@ + + + + + + +Uses of Class org.diylc.core.Theme + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.Theme

+
+ + + + + + + + + + + + + + + + + +
+Packages that use Theme
org.diylc.common  
org.diylc.presenter  
org.diylc.utils  
+  +

+ + + + + +
+Uses of Theme in org.diylc.common
+  +

+ + + + + + + + + +
Methods in org.diylc.common that return Theme
+ ThemeIPlugInPort.getSelectedTheme() + +
+           
+  +

+ + + + + + + + + +
Methods in org.diylc.common with parameters of type Theme
+ voidIPlugInPort.setSelectedTheme(Theme theme) + +
+          Changes the current theme.
+  +

+ + + + + +
+Uses of Theme in org.diylc.presenter
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.presenter that return Theme
+ ThemePresenter.getSelectedTheme() + +
+           
+ ThemeDrawingManager.getTheme() + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.presenter with parameters of type Theme
+ voidPresenter.setSelectedTheme(Theme theme) + +
+           
+ voidDrawingManager.setTheme(Theme theme) + +
+           
+  +

+ + + + + +
+Uses of Theme in org.diylc.utils
+  +

+ + + + + + + + + +
Fields in org.diylc.utils declared as Theme
+static ThemeConstants.DEFAULT_THEME + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/class-use/ValidationException.html b/diylc/diylc-core/doc/org/diylc/core/class-use/ValidationException.html new file mode 100644 index 00000000..7613bc5e --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/class-use/ValidationException.html @@ -0,0 +1,225 @@ + + + + + + +Uses of Class org.diylc.core.ValidationException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.ValidationException

+
+ + + + + + + + + + + + + +
+Packages that use ValidationException
org.diylc.core  
org.diylc.core.annotations  
+  +

+ + + + + +
+Uses of ValidationException in org.diylc.core
+  +

+ + + + + + + + + + + + + + + + + +
Methods in org.diylc.core that throw ValidationException
+ voidAllowAllValidator.validate(java.lang.Object value) + +
+           
+ voidIPropertyValidator.validate(java.lang.Object value) + +
+           
+ voidProject.SpacingValidator.validate(java.lang.Object value) + +
+           
+  +

+ + + + + +
+Uses of ValidationException in org.diylc.core.annotations
+  +

+ + + + + + + + + +
Methods in org.diylc.core.annotations that throw ValidationException
+ voidPositiveMeasureValidator.validate(java.lang.Object value) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/class-use/VisibilityPolicy.html b/diylc/diylc-core/doc/org/diylc/core/class-use/VisibilityPolicy.html new file mode 100644 index 00000000..809bca18 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/class-use/VisibilityPolicy.html @@ -0,0 +1,234 @@ + + + + + + +Uses of Class org.diylc.core.VisibilityPolicy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.VisibilityPolicy

+
+ + + + + + + + + + + + + +
+Packages that use VisibilityPolicy
org.diylc.components  
org.diylc.core  
+  +

+ + + + + +
+Uses of VisibilityPolicy in org.diylc.components
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.components that return VisibilityPolicy
+ VisibilityPolicyAbstractCurvedComponent.getControlPointVisibilityPolicy(int index) + +
+           
+ VisibilityPolicyAbstractLeadedComponent.getControlPointVisibilityPolicy(int index) + +
+           
+  +

+ + + + + +
+Uses of VisibilityPolicy in org.diylc.core
+  +

+ + + + + + + + + + + + + + + + + +
Methods in org.diylc.core that return VisibilityPolicy
+ VisibilityPolicyIDIYComponent.getControlPointVisibilityPolicy(int index) + +
+           
+static VisibilityPolicyVisibilityPolicy.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static VisibilityPolicy[]VisibilityPolicy.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/AbstractMeasure.html b/diylc/diylc-core/doc/org/diylc/core/measures/AbstractMeasure.html new file mode 100644 index 00000000..5448ddb0 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/AbstractMeasure.html @@ -0,0 +1,361 @@ + + + + + + +AbstractMeasure + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core.measures +
+Class AbstractMeasure<T extends java.lang.Enum<? extends Unit>>

+
+java.lang.Object
+  extended by org.diylc.core.measures.AbstractMeasure<T>
+
+
+
Type Parameters:
T -
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
+
+
+
Direct Known Subclasses:
Capacitance, Current, Inductance, Power, Resistance, Size, Voltage
+
+
+
+
public class AbstractMeasure<T extends java.lang.Enum<? extends Unit>>
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
+ + +

+Immutable measure class. +

+ +

+

+
Author:
+
bancika
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
AbstractMeasure(java.lang.Double value, + T unit) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(java.lang.Object obj) + +
+           
+ TgetUnit() + +
+           
+ java.lang.DoublegetValue() + +
+           
+ inthashCode() + +
+           
+ java.lang.StringtoString() + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractMeasure

+
+public AbstractMeasure(java.lang.Double value,
+                       T unit)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getValue

+
+public java.lang.Double getValue()
+
+
+
+
+
+
+
+
+
+ +

+getUnit

+
+public T getUnit()
+
+
+
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/Capacitance.html b/diylc/diylc-core/doc/org/diylc/core/measures/Capacitance.html new file mode 100644 index 00000000..ff5ab599 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/Capacitance.html @@ -0,0 +1,294 @@ + + + + + + +Capacitance + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core.measures +
+Class Capacitance

+
+java.lang.Object
+  extended by org.diylc.core.measures.AbstractMeasure<CapacitanceUnit>
+      extended by org.diylc.core.measures.Capacitance
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
+
+
+
+
public class Capacitance
extends AbstractMeasure<CapacitanceUnit>
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Capacitance(java.lang.Double value, + CapacitanceUnit unit) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ Capacitanceclone() + +
+           
+static CapacitanceparseCapacitance(java.lang.String value) + +
+           
+  + + + + + + + +
Methods inherited from class org.diylc.core.measures.AbstractMeasure
equals, getUnit, getValue, hashCode, toString
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Capacitance

+
+public Capacitance(java.lang.Double value,
+                   CapacitanceUnit unit)
+
+
+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Capacitance clone()
+                  throws java.lang.CloneNotSupportedException
+
+
+
Overrides:
clone in class java.lang.Object
+
+
+ +
Throws: +
java.lang.CloneNotSupportedException
+
+
+
+ +

+parseCapacitance

+
+public static Capacitance parseCapacitance(java.lang.String value)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/CapacitanceUnit.html b/diylc/diylc-core/doc/org/diylc/core/measures/CapacitanceUnit.html new file mode 100644 index 00000000..63c07ac3 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/CapacitanceUnit.html @@ -0,0 +1,420 @@ + + + + + + +CapacitanceUnit + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core.measures +
+Enum CapacitanceUnit

+
+java.lang.Object
+  extended by java.lang.Enum<CapacitanceUnit>
+      extended by org.diylc.core.measures.CapacitanceUnit
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CapacitanceUnit>, Unit
+
+
+
+
public enum CapacitanceUnit
extends java.lang.Enum<CapacitanceUnit>
implements Unit
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
F + +
+           
mF + +
+           
nF + +
+           
pF + +
+           
uF + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ doublegetFactor() + +
+           
+ java.lang.StringtoString() + +
+           
+static CapacitanceUnitvalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static CapacitanceUnit[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+pF

+
+public static final CapacitanceUnit pF
+
+
+
+
+
+ +

+nF

+
+public static final CapacitanceUnit nF
+
+
+
+
+
+ +

+uF

+
+public static final CapacitanceUnit uF
+
+
+
+
+
+ +

+mF

+
+public static final CapacitanceUnit mF
+
+
+
+
+
+ +

+F

+
+public static final CapacitanceUnit F
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static CapacitanceUnit[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (CapacitanceUnit c : CapacitanceUnit.values())
+    System.out.println(c);
+
+

+

+
+
+
+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static CapacitanceUnit valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
+
+
+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+
+ +

+getFactor

+
+public double getFactor()
+
+
+
Specified by:
getFactor in interface Unit
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Enum<CapacitanceUnit>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/Current.html b/diylc/diylc-core/doc/org/diylc/core/measures/Current.html new file mode 100644 index 00000000..3c54fad7 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/Current.html @@ -0,0 +1,275 @@ + + + + + + +Current + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core.measures +
+Class Current

+
+java.lang.Object
+  extended by org.diylc.core.measures.AbstractMeasure<CurrentUnit>
+      extended by org.diylc.core.measures.Current
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
+
+
+
+
public class Current
extends AbstractMeasure<CurrentUnit>
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Current(java.lang.Double value, + CurrentUnit unit) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ Currentclone() + +
+           
+  + + + + + + + +
Methods inherited from class org.diylc.core.measures.AbstractMeasure
equals, getUnit, getValue, hashCode, toString
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Current

+
+public Current(java.lang.Double value,
+               CurrentUnit unit)
+
+
+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Current clone()
+              throws java.lang.CloneNotSupportedException
+
+
+
Overrides:
clone in class java.lang.Object
+
+
+ +
Throws: +
java.lang.CloneNotSupportedException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/CurrentUnit.html b/diylc/diylc-core/doc/org/diylc/core/measures/CurrentUnit.html new file mode 100644 index 00000000..87a046c2 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/CurrentUnit.html @@ -0,0 +1,388 @@ + + + + + + +CurrentUnit + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core.measures +
+Enum CurrentUnit

+
+java.lang.Object
+  extended by java.lang.Enum<CurrentUnit>
+      extended by org.diylc.core.measures.CurrentUnit
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CurrentUnit>, Unit
+
+
+
+
public enum CurrentUnit
extends java.lang.Enum<CurrentUnit>
implements Unit
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Enum Constant Summary
A + +
+           
mA + +
+           
uA + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ doublegetFactor() + +
+           
+ java.lang.StringtoString() + +
+           
+static CurrentUnitvalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static CurrentUnit[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+uA

+
+public static final CurrentUnit uA
+
+
+
+
+
+ +

+mA

+
+public static final CurrentUnit mA
+
+
+
+
+
+ +

+A

+
+public static final CurrentUnit A
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static CurrentUnit[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (CurrentUnit c : CurrentUnit.values())
+    System.out.println(c);
+
+

+

+
+
+
+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static CurrentUnit valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
+
+
+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+
+ +

+getFactor

+
+public double getFactor()
+
+
+
Specified by:
getFactor in interface Unit
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Enum<CurrentUnit>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/Inductance.html b/diylc/diylc-core/doc/org/diylc/core/measures/Inductance.html new file mode 100644 index 00000000..8c9afac3 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/Inductance.html @@ -0,0 +1,294 @@ + + + + + + +Inductance + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core.measures +
+Class Inductance

+
+java.lang.Object
+  extended by org.diylc.core.measures.AbstractMeasure<InductanceUnit>
+      extended by org.diylc.core.measures.Inductance
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
+
+
+
+
public class Inductance
extends AbstractMeasure<InductanceUnit>
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Inductance(java.lang.Double value, + InductanceUnit unit) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ Inductanceclone() + +
+           
+static InductanceparseCapacitance(java.lang.String value) + +
+           
+  + + + + + + + +
Methods inherited from class org.diylc.core.measures.AbstractMeasure
equals, getUnit, getValue, hashCode, toString
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Inductance

+
+public Inductance(java.lang.Double value,
+                  InductanceUnit unit)
+
+
+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Inductance clone()
+                 throws java.lang.CloneNotSupportedException
+
+
+
Overrides:
clone in class java.lang.Object
+
+
+ +
Throws: +
java.lang.CloneNotSupportedException
+
+
+
+ +

+parseCapacitance

+
+public static Inductance parseCapacitance(java.lang.String value)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/InductanceUnit.html b/diylc/diylc-core/doc/org/diylc/core/measures/InductanceUnit.html new file mode 100644 index 00000000..e4835ccd --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/InductanceUnit.html @@ -0,0 +1,420 @@ + + + + + + +InductanceUnit + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core.measures +
+Enum InductanceUnit

+
+java.lang.Object
+  extended by java.lang.Enum<InductanceUnit>
+      extended by org.diylc.core.measures.InductanceUnit
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InductanceUnit>, Unit
+
+
+
+
public enum InductanceUnit
extends java.lang.Enum<InductanceUnit>
implements Unit
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
H + +
+           
mH + +
+           
nH + +
+           
pH + +
+           
uH + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ doublegetFactor() + +
+           
+ java.lang.StringtoString() + +
+           
+static InductanceUnitvalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static InductanceUnit[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+pH

+
+public static final InductanceUnit pH
+
+
+
+
+
+ +

+nH

+
+public static final InductanceUnit nH
+
+
+
+
+
+ +

+uH

+
+public static final InductanceUnit uH
+
+
+
+
+
+ +

+mH

+
+public static final InductanceUnit mH
+
+
+
+
+
+ +

+H

+
+public static final InductanceUnit H
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static InductanceUnit[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (InductanceUnit c : InductanceUnit.values())
+    System.out.println(c);
+
+

+

+
+
+
+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static InductanceUnit valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
+
+
+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+
+ +

+getFactor

+
+public double getFactor()
+
+
+
Specified by:
getFactor in interface Unit
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Enum<InductanceUnit>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/Power.html b/diylc/diylc-core/doc/org/diylc/core/measures/Power.html new file mode 100644 index 00000000..7b4d75d1 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/Power.html @@ -0,0 +1,294 @@ + + + + + + +Power + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core.measures +
+Class Power

+
+java.lang.Object
+  extended by org.diylc.core.measures.AbstractMeasure<PowerUnit>
+      extended by org.diylc.core.measures.Power
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
+
+
+
+
public class Power
extends AbstractMeasure<PowerUnit>
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Power(java.lang.Double value, + PowerUnit unit) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ Powerclone() + +
+           
+static PowerparseCapacitance(java.lang.String value) + +
+           
+  + + + + + + + +
Methods inherited from class org.diylc.core.measures.AbstractMeasure
equals, getUnit, getValue, hashCode, toString
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Power

+
+public Power(java.lang.Double value,
+             PowerUnit unit)
+
+
+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Power clone()
+            throws java.lang.CloneNotSupportedException
+
+
+
Overrides:
clone in class java.lang.Object
+
+
+ +
Throws: +
java.lang.CloneNotSupportedException
+
+
+
+ +

+parseCapacitance

+
+public static Power parseCapacitance(java.lang.String value)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/PowerUnit.html b/diylc/diylc-core/doc/org/diylc/core/measures/PowerUnit.html new file mode 100644 index 00000000..7ca430c7 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/PowerUnit.html @@ -0,0 +1,388 @@ + + + + + + +PowerUnit + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core.measures +
+Enum PowerUnit

+
+java.lang.Object
+  extended by java.lang.Enum<PowerUnit>
+      extended by org.diylc.core.measures.PowerUnit
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PowerUnit>, Unit
+
+
+
+
public enum PowerUnit
extends java.lang.Enum<PowerUnit>
implements Unit
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Enum Constant Summary
KW + +
+           
MW + +
+           
W + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ doublegetFactor() + +
+           
+ java.lang.StringtoString() + +
+           
+static PowerUnitvalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static PowerUnit[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+MW

+
+public static final PowerUnit MW
+
+
+
+
+
+ +

+W

+
+public static final PowerUnit W
+
+
+
+
+
+ +

+KW

+
+public static final PowerUnit KW
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static PowerUnit[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (PowerUnit c : PowerUnit.values())
+    System.out.println(c);
+
+

+

+
+
+
+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static PowerUnit valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
+
+
+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+
+ +

+getFactor

+
+public double getFactor()
+
+
+
Specified by:
getFactor in interface Unit
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Enum<PowerUnit>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/Resistance.html b/diylc/diylc-core/doc/org/diylc/core/measures/Resistance.html new file mode 100644 index 00000000..ac9274ac --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/Resistance.html @@ -0,0 +1,313 @@ + + + + + + +Resistance + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core.measures +
+Class Resistance

+
+java.lang.Object
+  extended by org.diylc.core.measures.AbstractMeasure<ResistanceUnit>
+      extended by org.diylc.core.measures.Resistance
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
+
+
+
+
public class Resistance
extends AbstractMeasure<ResistanceUnit>
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Resistance(java.lang.Double value, + ResistanceUnit multiplier) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Resistanceclone() + +
+           
+ java.awt.Color[]getColorCode(ResistorColorCode resistorColorCode) + +
+           
+static ResistanceparseResistance(java.lang.String value) + +
+           
+  + + + + + + + +
Methods inherited from class org.diylc.core.measures.AbstractMeasure
equals, getUnit, getValue, hashCode, toString
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Resistance

+
+public Resistance(java.lang.Double value,
+                  ResistanceUnit multiplier)
+
+
+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Resistance clone()
+                 throws java.lang.CloneNotSupportedException
+
+
+
Overrides:
clone in class java.lang.Object
+
+
+ +
Throws: +
java.lang.CloneNotSupportedException
+
+
+
+ +

+getColorCode

+
+public java.awt.Color[] getColorCode(ResistorColorCode resistorColorCode)
+
+
+
+
+
+
+ +

+parseResistance

+
+public static Resistance parseResistance(java.lang.String value)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/ResistanceUnit.html b/diylc/diylc-core/doc/org/diylc/core/measures/ResistanceUnit.html new file mode 100644 index 00000000..4af1f248 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/ResistanceUnit.html @@ -0,0 +1,388 @@ + + + + + + +ResistanceUnit + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core.measures +
+Enum ResistanceUnit

+
+java.lang.Object
+  extended by java.lang.Enum<ResistanceUnit>
+      extended by org.diylc.core.measures.ResistanceUnit
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ResistanceUnit>, Unit
+
+
+
+
public enum ResistanceUnit
extends java.lang.Enum<ResistanceUnit>
implements Unit
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Enum Constant Summary
K + +
+           
M + +
+           
R + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ doublegetFactor() + +
+           
+ java.lang.StringtoString() + +
+           
+static ResistanceUnitvalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static ResistanceUnit[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+R

+
+public static final ResistanceUnit R
+
+
+
+
+
+ +

+K

+
+public static final ResistanceUnit K
+
+
+
+
+
+ +

+M

+
+public static final ResistanceUnit M
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static ResistanceUnit[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (ResistanceUnit c : ResistanceUnit.values())
+    System.out.println(c);
+
+

+

+
+
+
+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static ResistanceUnit valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
+
+
+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+
+ +

+getFactor

+
+public double getFactor()
+
+
+
Specified by:
getFactor in interface Unit
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Enum<ResistanceUnit>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/Size.html b/diylc/diylc-core/doc/org/diylc/core/measures/Size.html new file mode 100644 index 00000000..944209b8 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/Size.html @@ -0,0 +1,341 @@ + + + + + + +Size + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core.measures +
+Class Size

+
+java.lang.Object
+  extended by org.diylc.core.measures.AbstractMeasure<SizeUnit>
+      extended by org.diylc.core.measures.Size
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Size>
+
+
+
+
public class Size
extends AbstractMeasure<SizeUnit>
implements java.lang.Comparable<Size>
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Size(java.lang.Double value, + SizeUnit unit) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Sizeclone() + +
+           
+ intcompareTo(Size o) + +
+           
+ doubleconvertToPixels() + +
+           
+static SizeparseSize(java.lang.String value) + +
+           
+  + + + + + + + +
Methods inherited from class org.diylc.core.measures.AbstractMeasure
equals, getUnit, getValue, hashCode, toString
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Size

+
+public Size(java.lang.Double value,
+            SizeUnit unit)
+
+
+ + + + + + + + +
+Method Detail
+ +

+convertToPixels

+
+public double convertToPixels()
+
+
+
+
+
+
+
+
+
+ +

+clone

+
+public Size clone()
+           throws java.lang.CloneNotSupportedException
+
+
+
Overrides:
clone in class java.lang.Object
+
+
+ +
Throws: +
java.lang.CloneNotSupportedException
+
+
+
+ +

+parseSize

+
+public static Size parseSize(java.lang.String value)
+
+
+
+
+
+
+
+
+
+ +

+compareTo

+
+public int compareTo(Size o)
+
+
+
Specified by:
compareTo in interface java.lang.Comparable<Size>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/SizeUnit.html b/diylc/diylc-core/doc/org/diylc/core/measures/SizeUnit.html new file mode 100644 index 00000000..da30a74c --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/SizeUnit.html @@ -0,0 +1,414 @@ + + + + + + +SizeUnit + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core.measures +
+Enum SizeUnit

+
+java.lang.Object
+  extended by java.lang.Enum<SizeUnit>
+      extended by org.diylc.core.measures.SizeUnit
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SizeUnit>, Unit
+
+
+
+
public enum SizeUnit
extends java.lang.Enum<SizeUnit>
implements Unit
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
cm + +
+           
ft + +
+           
in + +
+           
m + +
+           
mm + +
+           
yd + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ doublegetFactor() + +
+           
+static SizeUnitvalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static SizeUnit[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+mm

+
+public static final SizeUnit mm
+
+
+
+
+
+ +

+cm

+
+public static final SizeUnit cm
+
+
+
+
+
+ +

+m

+
+public static final SizeUnit m
+
+
+
+
+
+ +

+in

+
+public static final SizeUnit in
+
+
+
+
+
+ +

+ft

+
+public static final SizeUnit ft
+
+
+
+
+
+ +

+yd

+
+public static final SizeUnit yd
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static SizeUnit[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (SizeUnit c : SizeUnit.values())
+    System.out.println(c);
+
+

+

+
+
+
+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static SizeUnit valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
+
+
+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+
+ +

+getFactor

+
+public double getFactor()
+
+
+
Specified by:
getFactor in interface Unit
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/Unit.html b/diylc/diylc-core/doc/org/diylc/core/measures/Unit.html new file mode 100644 index 00000000..7b0c7ed6 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/Unit.html @@ -0,0 +1,209 @@ + + + + + + +Unit + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core.measures +
+Interface Unit

+
+
All Known Implementing Classes:
CapacitanceUnit, CurrentUnit, InductanceUnit, PowerUnit, ResistanceUnit, SizeUnit, VoltageUnit
+
+
+
+
public interface Unit
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ doublegetFactor() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getFactor

+
+double getFactor()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/Voltage.html b/diylc/diylc-core/doc/org/diylc/core/measures/Voltage.html new file mode 100644 index 00000000..68b1693c --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/Voltage.html @@ -0,0 +1,294 @@ + + + + + + +Voltage + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core.measures +
+Class Voltage

+
+java.lang.Object
+  extended by org.diylc.core.measures.AbstractMeasure<VoltageUnit>
+      extended by org.diylc.core.measures.Voltage
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
+
+
+
+
public class Voltage
extends AbstractMeasure<VoltageUnit>
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Voltage(java.lang.Double value, + VoltageUnit unit) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ Voltageclone() + +
+           
+static VoltageparseCapacitance(java.lang.String value) + +
+           
+  + + + + + + + +
Methods inherited from class org.diylc.core.measures.AbstractMeasure
equals, getUnit, getValue, hashCode, toString
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Voltage

+
+public Voltage(java.lang.Double value,
+               VoltageUnit unit)
+
+
+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Voltage clone()
+              throws java.lang.CloneNotSupportedException
+
+
+
Overrides:
clone in class java.lang.Object
+
+
+ +
Throws: +
java.lang.CloneNotSupportedException
+
+
+
+ +

+parseCapacitance

+
+public static Voltage parseCapacitance(java.lang.String value)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/VoltageUnit.html b/diylc/diylc-core/doc/org/diylc/core/measures/VoltageUnit.html new file mode 100644 index 00000000..3d0bc364 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/VoltageUnit.html @@ -0,0 +1,388 @@ + + + + + + +VoltageUnit + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.core.measures +
+Enum VoltageUnit

+
+java.lang.Object
+  extended by java.lang.Enum<VoltageUnit>
+      extended by org.diylc.core.measures.VoltageUnit
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<VoltageUnit>, Unit
+
+
+
+
public enum VoltageUnit
extends java.lang.Enum<VoltageUnit>
implements Unit
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Enum Constant Summary
KV + +
+           
MV + +
+           
V + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ doublegetFactor() + +
+           
+ java.lang.StringtoString() + +
+           
+static VoltageUnitvalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static VoltageUnit[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+MV

+
+public static final VoltageUnit MV
+
+
+
+
+
+ +

+V

+
+public static final VoltageUnit V
+
+
+
+
+
+ +

+KV

+
+public static final VoltageUnit KV
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static VoltageUnit[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (VoltageUnit c : VoltageUnit.values())
+    System.out.println(c);
+
+

+

+
+
+
+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static VoltageUnit valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
+
+
+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+
+ +

+getFactor

+
+public double getFactor()
+
+
+
Specified by:
getFactor in interface Unit
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Enum<VoltageUnit>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/class-use/AbstractMeasure.html b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/AbstractMeasure.html new file mode 100644 index 00000000..18196033 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/AbstractMeasure.html @@ -0,0 +1,228 @@ + + + + + + +Uses of Class org.diylc.core.measures.AbstractMeasure + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.measures.AbstractMeasure

+
+ + + + + + + + + +
+Packages that use AbstractMeasure
org.diylc.core.measures  
+  +

+ + + + + +
+Uses of AbstractMeasure in org.diylc.core.measures
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Subclasses of AbstractMeasure in org.diylc.core.measures
+ classCapacitance + +
+           
+ classCurrent + +
+           
+ classInductance + +
+           
+ classPower + +
+           
+ classResistance + +
+           
+ classSize + +
+           
+ classVoltage + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Capacitance.html b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Capacitance.html new file mode 100644 index 00000000..2ff8e6b6 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Capacitance.html @@ -0,0 +1,188 @@ + + + + + + +Uses of Class org.diylc.core.measures.Capacitance + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.measures.Capacitance

+
+ + + + + + + + + +
+Packages that use Capacitance
org.diylc.core.measures  
+  +

+ + + + + +
+Uses of Capacitance in org.diylc.core.measures
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.core.measures that return Capacitance
+ CapacitanceCapacitance.clone() + +
+           
+static CapacitanceCapacitance.parseCapacitance(java.lang.String value) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/class-use/CapacitanceUnit.html b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/CapacitanceUnit.html new file mode 100644 index 00000000..f8c44527 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/CapacitanceUnit.html @@ -0,0 +1,204 @@ + + + + + + +Uses of Class org.diylc.core.measures.CapacitanceUnit + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.measures.CapacitanceUnit

+
+ + + + + + + + + +
+Packages that use CapacitanceUnit
org.diylc.core.measures  
+  +

+ + + + + +
+Uses of CapacitanceUnit in org.diylc.core.measures
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.core.measures that return CapacitanceUnit
+static CapacitanceUnitCapacitanceUnit.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static CapacitanceUnit[]CapacitanceUnit.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + + + + +
Constructors in org.diylc.core.measures with parameters of type CapacitanceUnit
Capacitance(java.lang.Double value, + CapacitanceUnit unit) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Current.html b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Current.html new file mode 100644 index 00000000..3bf04352 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Current.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Class org.diylc.core.measures.Current + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.measures.Current

+
+ + + + + + + + + +
+Packages that use Current
org.diylc.core.measures  
+  +

+ + + + + +
+Uses of Current in org.diylc.core.measures
+  +

+ + + + + + + + + +
Methods in org.diylc.core.measures that return Current
+ CurrentCurrent.clone() + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/class-use/CurrentUnit.html b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/CurrentUnit.html new file mode 100644 index 00000000..63e16431 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/CurrentUnit.html @@ -0,0 +1,204 @@ + + + + + + +Uses of Class org.diylc.core.measures.CurrentUnit + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.measures.CurrentUnit

+
+ + + + + + + + + +
+Packages that use CurrentUnit
org.diylc.core.measures  
+  +

+ + + + + +
+Uses of CurrentUnit in org.diylc.core.measures
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.core.measures that return CurrentUnit
+static CurrentUnitCurrentUnit.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static CurrentUnit[]CurrentUnit.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + + + + +
Constructors in org.diylc.core.measures with parameters of type CurrentUnit
Current(java.lang.Double value, + CurrentUnit unit) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Inductance.html b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Inductance.html new file mode 100644 index 00000000..08183c3a --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Inductance.html @@ -0,0 +1,188 @@ + + + + + + +Uses of Class org.diylc.core.measures.Inductance + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.measures.Inductance

+
+ + + + + + + + + +
+Packages that use Inductance
org.diylc.core.measures  
+  +

+ + + + + +
+Uses of Inductance in org.diylc.core.measures
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.core.measures that return Inductance
+ InductanceInductance.clone() + +
+           
+static InductanceInductance.parseCapacitance(java.lang.String value) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/class-use/InductanceUnit.html b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/InductanceUnit.html new file mode 100644 index 00000000..01345aea --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/InductanceUnit.html @@ -0,0 +1,204 @@ + + + + + + +Uses of Class org.diylc.core.measures.InductanceUnit + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.measures.InductanceUnit

+
+ + + + + + + + + +
+Packages that use InductanceUnit
org.diylc.core.measures  
+  +

+ + + + + +
+Uses of InductanceUnit in org.diylc.core.measures
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.core.measures that return InductanceUnit
+static InductanceUnitInductanceUnit.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static InductanceUnit[]InductanceUnit.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + + + + +
Constructors in org.diylc.core.measures with parameters of type InductanceUnit
Inductance(java.lang.Double value, + InductanceUnit unit) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Power.html b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Power.html new file mode 100644 index 00000000..bb7d9832 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Power.html @@ -0,0 +1,188 @@ + + + + + + +Uses of Class org.diylc.core.measures.Power + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.measures.Power

+
+ + + + + + + + + +
+Packages that use Power
org.diylc.core.measures  
+  +

+ + + + + +
+Uses of Power in org.diylc.core.measures
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.core.measures that return Power
+ PowerPower.clone() + +
+           
+static PowerPower.parseCapacitance(java.lang.String value) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/class-use/PowerUnit.html b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/PowerUnit.html new file mode 100644 index 00000000..f19c4927 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/PowerUnit.html @@ -0,0 +1,204 @@ + + + + + + +Uses of Class org.diylc.core.measures.PowerUnit + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.measures.PowerUnit

+
+ + + + + + + + + +
+Packages that use PowerUnit
org.diylc.core.measures  
+  +

+ + + + + +
+Uses of PowerUnit in org.diylc.core.measures
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.core.measures that return PowerUnit
+static PowerUnitPowerUnit.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static PowerUnit[]PowerUnit.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + + + + +
Constructors in org.diylc.core.measures with parameters of type PowerUnit
Power(java.lang.Double value, + PowerUnit unit) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Resistance.html b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Resistance.html new file mode 100644 index 00000000..7cee77c3 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Resistance.html @@ -0,0 +1,188 @@ + + + + + + +Uses of Class org.diylc.core.measures.Resistance + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.measures.Resistance

+
+ + + + + + + + + +
+Packages that use Resistance
org.diylc.core.measures  
+  +

+ + + + + +
+Uses of Resistance in org.diylc.core.measures
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.core.measures that return Resistance
+ ResistanceResistance.clone() + +
+           
+static ResistanceResistance.parseResistance(java.lang.String value) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/class-use/ResistanceUnit.html b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/ResistanceUnit.html new file mode 100644 index 00000000..89123515 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/ResistanceUnit.html @@ -0,0 +1,204 @@ + + + + + + +Uses of Class org.diylc.core.measures.ResistanceUnit + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.measures.ResistanceUnit

+
+ + + + + + + + + +
+Packages that use ResistanceUnit
org.diylc.core.measures  
+  +

+ + + + + +
+Uses of ResistanceUnit in org.diylc.core.measures
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.core.measures that return ResistanceUnit
+static ResistanceUnitResistanceUnit.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static ResistanceUnit[]ResistanceUnit.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + + + + +
Constructors in org.diylc.core.measures with parameters of type ResistanceUnit
Resistance(java.lang.Double value, + ResistanceUnit multiplier) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Size.html b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Size.html new file mode 100644 index 00000000..dcd91a3e --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Size.html @@ -0,0 +1,490 @@ + + + + + + +Uses of Class org.diylc.core.measures.Size + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.measures.Size

+
+ + + + + + + + + + + + + + + + + + + + + +
+Packages that use Size
org.diylc.components  
org.diylc.core  
org.diylc.core.measures  
org.diylc.presenter  
+  +

+ + + + + +
+Uses of Size in org.diylc.components
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Fields in org.diylc.components declared as Size
+static SizeAbstractCurvedComponent.DEFAULT_SIZE + +
+           
+static SizeAbstractLeadedComponent.DEFAULT_SIZE + +
+           
+static SizeAbstractLeadedComponent.LEAD_THICKNESS + +
+           
+static SizeAbstractRadialComponent.PIN_SPACING + +
+           
+  +

+ + + + + + + + + + + + + + + + + +
Methods in org.diylc.components that return Size
+ SizeAbstractLeadedComponent.getLength() + +
+           
+ SizeAbstractRadialComponent.getPinSpacing() + +
+           
+ SizeAbstractLeadedComponent.getWidth() + +
+           
+  +

+ + + + + + + + + + + + + + + + + +
Methods in org.diylc.components with parameters of type Size
+ voidAbstractLeadedComponent.setLength(Size length) + +
+           
+ voidAbstractRadialComponent.setPinSpacing(Size pinSpacing) + +
+           
+ voidAbstractLeadedComponent.setWidth(Size width) + +
+           
+  +

+ + + + + +
+Uses of Size in org.diylc.core
+  +

+ + + + + + + + + + + + + + + + + +
Fields in org.diylc.core declared as Size
+static SizeProject.DEFAULT_GRID_SPACING + +
+           
+static SizeProject.DEFAULT_HEIGHT + +
+           
+static SizeProject.DEFAULT_WIDTH + +
+           
+  +

+ + + + + + + + + + + + + + + + + +
Methods in org.diylc.core that return Size
+ SizeProject.getGridSpacing() + +
+           
+ SizeProject.getHeight() + +
+           
+ SizeProject.getWidth() + +
+           
+  +

+ + + + + + + + + + + + + + + + + +
Methods in org.diylc.core with parameters of type Size
+ voidProject.setGridSpacing(Size gridSpacing) + +
+           
+ voidProject.setHeight(Size height) + +
+           
+ voidProject.setWidth(Size width) + +
+           
+  +

+ + + + + +
+Uses of Size in org.diylc.core.measures
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.core.measures that return Size
+ SizeSize.clone() + +
+           
+static SizeSize.parseSize(java.lang.String value) + +
+           
+  +

+ + + + + + + + + +
Methods in org.diylc.core.measures with parameters of type Size
+ intSize.compareTo(Size o) + +
+           
+  +

+ + + + + +
+Uses of Size in org.diylc.presenter
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in org.diylc.presenter with parameters of type Size
+ voidInstantiationManager.pasteComponents(java.util.List<IDIYComponent<?>> components, + java.awt.Point scaledPoint, + boolean snapToGrid, + Size gridSpacing) + +
+           
+static intCalcUtils.roundToGrid(int x, + Size gridSpacing) + +
+          Rounds the number to the closest grid line.
+static voidCalcUtils.snapPointToGrid(java.awt.Point point, + Size gridSpacing) + +
+           
+ booleanInstantiationManager.updateSingleClick(java.awt.Point scaledPoint, + boolean snapToGrid, + Size gridSpacing) + +
+          Updates location of component slot based on the new mouse location.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/class-use/SizeUnit.html b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/SizeUnit.html new file mode 100644 index 00000000..40106da4 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/SizeUnit.html @@ -0,0 +1,204 @@ + + + + + + +Uses of Class org.diylc.core.measures.SizeUnit + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.measures.SizeUnit

+
+ + + + + + + + + +
+Packages that use SizeUnit
org.diylc.core.measures  
+  +

+ + + + + +
+Uses of SizeUnit in org.diylc.core.measures
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.core.measures that return SizeUnit
+static SizeUnitSizeUnit.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static SizeUnit[]SizeUnit.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + + + + +
Constructors in org.diylc.core.measures with parameters of type SizeUnit
Size(java.lang.Double value, + SizeUnit unit) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Unit.html b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Unit.html new file mode 100644 index 00000000..cfe0addb --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Unit.html @@ -0,0 +1,244 @@ + + + + + + +Uses of Interface org.diylc.core.measures.Unit + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.diylc.core.measures.Unit

+
+ + + + + + + + + +
+Packages that use Unit
org.diylc.core.measures  
+  +

+ + + + + +
+Uses of Unit in org.diylc.core.measures
+  +

+ + + + + + + + + +
Classes in org.diylc.core.measures with type parameters of type Unit
+ classAbstractMeasure<T extends Enum<? extends Unit>> + +
+          Immutable measure class.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Classes in org.diylc.core.measures that implement Unit
+ classCapacitanceUnit + +
+           
+ classCurrentUnit + +
+           
+ classInductanceUnit + +
+           
+ classPowerUnit + +
+           
+ classResistanceUnit + +
+           
+ classSizeUnit + +
+           
+ classVoltageUnit + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Voltage.html b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Voltage.html new file mode 100644 index 00000000..4051230d --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/Voltage.html @@ -0,0 +1,188 @@ + + + + + + +Uses of Class org.diylc.core.measures.Voltage + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.measures.Voltage

+
+ + + + + + + + + +
+Packages that use Voltage
org.diylc.core.measures  
+  +

+ + + + + +
+Uses of Voltage in org.diylc.core.measures
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.core.measures that return Voltage
+ VoltageVoltage.clone() + +
+           
+static VoltageVoltage.parseCapacitance(java.lang.String value) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/class-use/VoltageUnit.html b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/VoltageUnit.html new file mode 100644 index 00000000..de722a34 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/class-use/VoltageUnit.html @@ -0,0 +1,204 @@ + + + + + + +Uses of Class org.diylc.core.measures.VoltageUnit + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.core.measures.VoltageUnit

+
+ + + + + + + + + +
+Packages that use VoltageUnit
org.diylc.core.measures  
+  +

+ + + + + +
+Uses of VoltageUnit in org.diylc.core.measures
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.core.measures that return VoltageUnit
+static VoltageUnitVoltageUnit.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static VoltageUnit[]VoltageUnit.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + + + + +
Constructors in org.diylc.core.measures with parameters of type VoltageUnit
Voltage(java.lang.Double value, + VoltageUnit unit) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/package-frame.html b/diylc/diylc-core/doc/org/diylc/core/measures/package-frame.html new file mode 100644 index 00000000..a53cb234 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/package-frame.html @@ -0,0 +1,80 @@ + + + + + + +org.diylc.core.measures + + + + + + + + + + + +org.diylc.core.measures + + + + +
+Interfaces  + +
+Unit
+ + + + + + +
+Classes  + +
+AbstractMeasure +
+Capacitance +
+Current +
+Inductance +
+Power +
+Resistance +
+Size +
+Voltage
+ + + + + + +
+Enums  + +
+CapacitanceUnit +
+CurrentUnit +
+InductanceUnit +
+PowerUnit +
+ResistanceUnit +
+SizeUnit +
+VoltageUnit
+ + + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/package-summary.html b/diylc/diylc-core/doc/org/diylc/core/measures/package-summary.html new file mode 100644 index 00000000..98417270 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/package-summary.html @@ -0,0 +1,237 @@ + + + + + + +org.diylc.core.measures + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.diylc.core.measures +

+ + + + + + + + + +
+Interface Summary
Unit 
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractMeasure<T extends Enum<? extends Unit>>Immutable measure class.
Capacitance 
Current 
Inductance 
Power 
Resistance 
Size 
Voltage 
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Enum Summary
CapacitanceUnit 
CurrentUnit 
InductanceUnit 
PowerUnit 
ResistanceUnit 
SizeUnit 
VoltageUnit 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/package-tree.html b/diylc/diylc-core/doc/org/diylc/core/measures/package-tree.html new file mode 100644 index 00000000..d49fb7d5 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/package-tree.html @@ -0,0 +1,179 @@ + + + + + + +org.diylc.core.measures Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.diylc.core.measures +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/measures/package-use.html b/diylc/diylc-core/doc/org/diylc/core/measures/package-use.html new file mode 100644 index 00000000..0d5de25c --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/measures/package-use.html @@ -0,0 +1,317 @@ + + + + + + +Uses of Package org.diylc.core.measures + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
org.diylc.core.measures

+
+ + + + + + + + + + + + + + + + + + + + + +
+Packages that use org.diylc.core.measures
org.diylc.components  
org.diylc.core  
org.diylc.core.measures  
org.diylc.presenter  
+  +

+ + + + + + + + +
+Classes in org.diylc.core.measures used by org.diylc.components
Size + +
+           
+  +

+ + + + + + + + +
+Classes in org.diylc.core.measures used by org.diylc.core
Size + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in org.diylc.core.measures used by org.diylc.core.measures
AbstractMeasure + +
+          Immutable measure class.
Capacitance + +
+           
CapacitanceUnit + +
+           
Current + +
+           
CurrentUnit + +
+           
Inductance + +
+           
InductanceUnit + +
+           
Power + +
+           
PowerUnit + +
+           
Resistance + +
+           
ResistanceUnit + +
+           
Size + +
+           
SizeUnit + +
+           
Unit + +
+           
Voltage + +
+           
VoltageUnit + +
+           
+  +

+ + + + + + + + +
+Classes in org.diylc.core.measures used by org.diylc.presenter
Size + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/package-frame.html b/diylc/diylc-core/doc/org/diylc/core/package-frame.html new file mode 100644 index 00000000..58351e26 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/package-frame.html @@ -0,0 +1,85 @@ + + + + + + +org.diylc.core + + + + + + + + + + + +org.diylc.core + + + + +
+Interfaces  + +
+IDIYComponent +
+IDrawingObserver +
+IPropertyValidator +
+IView
+ + + + + + +
+Classes  + +
+AllowAllValidator +
+Project +
+Project.SpacingValidator +
+Template +
+Theme
+ + + + + + +
+Enums  + +
+ComponentState +
+CreationMethod +
+ExpansionMode +
+VisibilityPolicy
+ + + + + + +
+Exceptions  + +
+ValidationException
+ + + + diff --git a/diylc/diylc-core/doc/org/diylc/core/package-summary.html b/diylc/diylc-core/doc/org/diylc/core/package-summary.html new file mode 100644 index 00000000..97aee962 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/package-summary.html @@ -0,0 +1,239 @@ + + + + + + +org.diylc.core + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.diylc.core +

+ + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
IDIYComponent<T>Interface for component instance.
IDrawingObserverInterface for tracking component drawing process.
IPropertyValidatorInterface for validating property value changes.
IViewBase interface for the main GUI component.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AllowAllValidatorValidator that allows all values.
ProjectEntity class that defines a project.
Project.SpacingValidator 
Template 
Theme 
+  + +

+ + + + + + + + + + + + + + + + + + + + + +
+Enum Summary
ComponentStateEnumerates all possible states that a component can be in.
CreationMethod 
ExpansionMode 
VisibilityPolicyEnumerates control point visibility policies.
+  + +

+ + + + + + + + + +
+Exception Summary
ValidationException 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/package-tree.html b/diylc/diylc-core/doc/org/diylc/core/package-tree.html new file mode 100644 index 00000000..c541a535 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/package-tree.html @@ -0,0 +1,181 @@ + + + + + + +org.diylc.core Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.diylc.core +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/core/package-use.html b/diylc/diylc-core/doc/org/diylc/core/package-use.html new file mode 100644 index 00000000..6c38d045 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/core/package-use.html @@ -0,0 +1,434 @@ + + + + + + +Uses of Package org.diylc.core + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
org.diylc.core

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages that use org.diylc.core
org.diylc.common  
org.diylc.components  
org.diylc.core  
org.diylc.core.annotations  
org.diylc.parsing  
org.diylc.presenter  
org.diylc.utils  
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in org.diylc.core used by org.diylc.common
CreationMethod + +
+           
ExpansionMode + +
+           
IDIYComponent + +
+          Interface for component instance.
IPropertyValidator + +
+          Interface for validating property value changes.
Project + +
+          Entity class that defines a project.
Template + +
+           
Theme + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + +
+Classes in org.diylc.core used by org.diylc.components
ComponentState + +
+          Enumerates all possible states that a component can be in.
IDIYComponent + +
+          Interface for component instance.
IDrawingObserver + +
+          Interface for tracking component drawing process.
Project + +
+          Entity class that defines a project.
VisibilityPolicy + +
+          Enumerates control point visibility policies.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in org.diylc.core used by org.diylc.core
ComponentState + +
+          Enumerates all possible states that a component can be in.
CreationMethod + +
+           
ExpansionMode + +
+           
IDIYComponent + +
+          Interface for component instance.
IDrawingObserver + +
+          Interface for tracking component drawing process.
IPropertyValidator + +
+          Interface for validating property value changes.
Project + +
+          Entity class that defines a project.
ValidationException + +
+           
VisibilityPolicy + +
+          Enumerates control point visibility policies.
+  +

+ + + + + + + + + + + +
+Classes in org.diylc.core used by org.diylc.core.annotations
IPropertyValidator + +
+          Interface for validating property value changes.
ValidationException + +
+           
+  +

+ + + + + + + + +
+Classes in org.diylc.core used by org.diylc.parsing
Project + +
+          Entity class that defines a project.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Classes in org.diylc.core used by org.diylc.presenter
ExpansionMode + +
+           
IDIYComponent + +
+          Interface for component instance.
IView + +
+          Base interface for the main GUI component.
Project + +
+          Entity class that defines a project.
Template + +
+           
Theme + +
+           
+  +

+ + + + + + + + + + + +
+Classes in org.diylc.core used by org.diylc.utils
IDIYComponent + +
+          Interface for component instance.
Theme + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/images/IconLoader.html b/diylc/diylc-core/doc/org/diylc/images/IconLoader.html new file mode 100644 index 00000000..74d8efc2 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/images/IconLoader.html @@ -0,0 +1,1296 @@ + + + + + + +IconLoader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.images +
+Enum IconLoader

+
+java.lang.Object
+  extended by java.lang.Enum<IconLoader>
+      extended by org.diylc.images.IconLoader
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IconLoader>
+
+
+
+
public enum IconLoader
extends java.lang.Enum<IconLoader>
+ + +

+Loads image resources as Icons. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
About + +
+           
Add + +
+           
Back + +
+           
BlackBoard + +
+           
BOM + +
+           
Bug + +
+           
Chest + +
+           
Component + +
+           
Copy + +
+           
CSV + +
+           
Cut + +
+           
Delete + +
+           
DiskBlue + +
+           
DocumentEdit + +
+           
DocumentPlainYellow + +
+           
Donate + +
+           
EditComponent + +
+           
ElementsSelection + +
+           
Error + +
+           
Excel + +
+           
Exit + +
+           
Faq + +
+           
FolderOut + +
+           
FormGreen + +
+           
Front + +
+           
Garbage + +
+           
Gears + +
+           
Group + +
+           
HTML + +
+           
IconLarge + +
+           
IconMedium + +
+           
IconSmall + +
+           
IdCard + +
+           
IdCardAdd + +
+           
Image + +
+           
LightBulbOff + +
+           
LightBulbOn + +
+           
Manual + +
+           
MoveSmall + +
+           
NavigateCheck + +
+           
NotebookAdd + +
+           
Paste + +
+           
PDF + +
+           
Pens + +
+           
PhotoScenery + +
+           
Plugin + +
+           
Print + +
+           
SaveAs + +
+           
Selection + +
+           
Size + +
+           
Sort + +
+           
TraceMask + +
+           
Undo + +
+           
Ungroup + +
+           
Upload + +
+           
Warning + +
+           
WindowColors + +
+           
WindowGear + +
+           
Wrench + +
+           
ZoomSmall + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ javax.swing.IcongetIcon() + +
+           
+ java.awt.ImagegetImage() + +
+           
+static IconLoadervalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static IconLoader[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  + + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+Delete

+
+public static final IconLoader Delete
+
+
+
+
+
+ +

+Add

+
+public static final IconLoader Add
+
+
+
+
+
+ +

+FolderOut

+
+public static final IconLoader FolderOut
+
+
+
+
+
+ +

+Garbage

+
+public static final IconLoader Garbage
+
+
+
+
+
+ +

+DiskBlue

+
+public static final IconLoader DiskBlue
+
+
+
+
+
+ +

+SaveAs

+
+public static final IconLoader SaveAs
+
+
+
+
+
+ +

+Exit

+
+public static final IconLoader Exit
+
+
+
+
+
+ +

+DocumentPlainYellow

+
+public static final IconLoader DocumentPlainYellow
+
+
+
+
+
+ +

+PhotoScenery

+
+public static final IconLoader PhotoScenery
+
+
+
+
+
+ +

+LightBulbOn

+
+public static final IconLoader LightBulbOn
+
+
+
+
+
+ +

+LightBulbOff

+
+public static final IconLoader LightBulbOff
+
+
+
+
+
+ +

+NotebookAdd

+
+public static final IconLoader NotebookAdd
+
+
+
+
+
+ +

+FormGreen

+
+public static final IconLoader FormGreen
+
+
+
+
+
+ +

+Gears

+
+public static final IconLoader Gears
+
+
+
+
+
+ +

+About

+
+public static final IconLoader About
+
+
+
+
+
+ +

+WindowColors

+
+public static final IconLoader WindowColors
+
+
+
+
+
+ +

+WindowGear

+
+public static final IconLoader WindowGear
+
+
+
+
+
+ +

+NavigateCheck

+
+public static final IconLoader NavigateCheck
+
+
+
+
+
+ +

+Undo

+
+public static final IconLoader Undo
+
+
+
+
+
+ +

+Error

+
+public static final IconLoader Error
+
+
+
+
+
+ +

+Warning

+
+public static final IconLoader Warning
+
+
+
+
+
+ +

+ZoomSmall

+
+public static final IconLoader ZoomSmall
+
+
+
+
+
+ +

+MoveSmall

+
+public static final IconLoader MoveSmall
+
+
+
+
+
+ +

+Print

+
+public static final IconLoader Print
+
+
+
+
+
+ +

+PDF

+
+public static final IconLoader PDF
+
+
+
+
+
+ +

+Excel

+
+public static final IconLoader Excel
+
+
+
+
+
+ +

+CSV

+
+public static final IconLoader CSV
+
+
+
+
+
+ +

+HTML

+
+public static final IconLoader HTML
+
+
+
+
+
+ +

+Image

+
+public static final IconLoader Image
+
+
+
+
+
+ +

+Cut

+
+public static final IconLoader Cut
+
+
+
+
+
+ +

+Copy

+
+public static final IconLoader Copy
+
+
+
+
+
+ +

+Paste

+
+public static final IconLoader Paste
+
+
+
+
+
+ +

+Selection

+
+public static final IconLoader Selection
+
+
+
+
+
+ +

+BOM

+
+public static final IconLoader BOM
+
+
+
+
+
+ +

+BlackBoard

+
+public static final IconLoader BlackBoard
+
+
+
+
+
+ +

+IdCard

+
+public static final IconLoader IdCard
+
+
+
+
+
+ +

+IdCardAdd

+
+public static final IconLoader IdCardAdd
+
+
+
+
+
+ +

+Chest

+
+public static final IconLoader Chest
+
+
+
+
+
+ +

+Upload

+
+public static final IconLoader Upload
+
+
+
+
+
+ +

+Wrench

+
+public static final IconLoader Wrench
+
+
+
+
+
+ +

+Group

+
+public static final IconLoader Group
+
+
+
+
+
+ +

+Ungroup

+
+public static final IconLoader Ungroup
+
+
+
+
+
+ +

+TraceMask

+
+public static final IconLoader TraceMask
+
+
+
+
+
+ +

+Faq

+
+public static final IconLoader Faq
+
+
+
+
+
+ +

+Component

+
+public static final IconLoader Component
+
+
+
+
+
+ +

+Plugin

+
+public static final IconLoader Plugin
+
+
+
+
+
+ +

+Manual

+
+public static final IconLoader Manual
+
+
+
+
+
+ +

+Donate

+
+public static final IconLoader Donate
+
+
+
+
+
+ +

+Bug

+
+public static final IconLoader Bug
+
+
+
+
+
+ +

+IconLarge

+
+public static final IconLoader IconLarge
+
+
+
+
+
+ +

+IconMedium

+
+public static final IconLoader IconMedium
+
+
+
+
+
+ +

+IconSmall

+
+public static final IconLoader IconSmall
+
+
+
+
+
+ +

+DocumentEdit

+
+public static final IconLoader DocumentEdit
+
+
+
+
+
+ +

+EditComponent

+
+public static final IconLoader EditComponent
+
+
+
+
+
+ +

+Size

+
+public static final IconLoader Size
+
+
+
+
+
+ +

+Front

+
+public static final IconLoader Front
+
+
+
+
+
+ +

+Back

+
+public static final IconLoader Back
+
+
+
+
+
+ +

+Pens

+
+public static final IconLoader Pens
+
+
+
+
+
+ +

+Sort

+
+public static final IconLoader Sort
+
+
+
+
+
+ +

+ElementsSelection

+
+public static final IconLoader ElementsSelection
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static IconLoader[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (IconLoader c : IconLoader.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static IconLoader valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+
+ +

+getIcon

+
+public javax.swing.Icon getIcon()
+
+
+
+
+
+
+ +

+getImage

+
+public java.awt.Image getImage()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/images/class-use/IconLoader.html b/diylc/diylc-core/doc/org/diylc/images/class-use/IconLoader.html new file mode 100644 index 00000000..16910abf --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/images/class-use/IconLoader.html @@ -0,0 +1,189 @@ + + + + + + +Uses of Class org.diylc.images.IconLoader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.images.IconLoader

+
+ + + + + + + + + +
+Packages that use IconLoader
org.diylc.images  
+  +

+ + + + + +
+Uses of IconLoader in org.diylc.images
+  +

+ + + + + + + + + + + + + +
Methods in org.diylc.images that return IconLoader
+static IconLoaderIconLoader.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static IconLoader[]IconLoader.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/images/package-frame.html b/diylc/diylc-core/doc/org/diylc/images/package-frame.html new file mode 100644 index 00000000..131cd76a --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/images/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +org.diylc.images + + + + + + + + + + + +org.diylc.images + + + + +
+Enums  + +
+IconLoader
+ + + + diff --git a/diylc/diylc-core/doc/org/diylc/images/package-summary.html b/diylc/diylc-core/doc/org/diylc/images/package-summary.html new file mode 100644 index 00000000..0b5b233c --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/images/package-summary.html @@ -0,0 +1,157 @@ + + + + + + +org.diylc.images + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.diylc.images +

+ + + + + + + + + +
+Enum Summary
IconLoaderLoads image resources as Icons.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/images/package-tree.html b/diylc/diylc-core/doc/org/diylc/images/package-tree.html new file mode 100644 index 00000000..c668acf8 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/images/package-tree.html @@ -0,0 +1,156 @@ + + + + + + +org.diylc.images Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.diylc.images +

+
+
+
Package Hierarchies:
All Packages
+
+

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/images/package-use.html b/diylc/diylc-core/doc/org/diylc/images/package-use.html new file mode 100644 index 00000000..4c4769f2 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/images/package-use.html @@ -0,0 +1,170 @@ + + + + + + +Uses of Package org.diylc.images + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
org.diylc.images

+
+ + + + + + + + + +
+Packages that use org.diylc.images
org.diylc.images  
+  +

+ + + + + + + + +
+Classes in org.diylc.images used by org.diylc.images
IconLoader + +
+          Loads image resources as Icons.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/parsing/IOldFileParser.html b/diylc/diylc-core/doc/org/diylc/parsing/IOldFileParser.html new file mode 100644 index 00000000..5ad01f47 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/parsing/IOldFileParser.html @@ -0,0 +1,227 @@ + + + + + + +IOldFileParser + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.parsing +
+Interface IOldFileParser

+
+
+
public interface IOldFileParser
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanParse(java.lang.String version) + +
+           
+ ProjectparseFile(org.w3c.dom.Element root, + java.util.List<java.lang.String> warnings) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+canParse

+
+boolean canParse(java.lang.String version)
+
+
+
+
+
+
+ +

+parseFile

+
+Project parseFile(org.w3c.dom.Element root,
+                  java.util.List<java.lang.String> warnings)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/parsing/class-use/IOldFileParser.html b/diylc/diylc-core/doc/org/diylc/parsing/class-use/IOldFileParser.html new file mode 100644 index 00000000..b01f89e4 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/parsing/class-use/IOldFileParser.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Interface org.diylc.parsing.IOldFileParser + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.diylc.parsing.IOldFileParser

+
+ + + + + + + + + +
+Packages that use IOldFileParser
org.diylc.presenter  
+  +

+ + + + + +
+Uses of IOldFileParser in org.diylc.presenter
+  +

+ + + + + + + + + +
Methods in org.diylc.presenter that return types with arguments of type IOldFileParser
+ java.util.List<IOldFileParser>ProjectFileManager.getParsers() + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/parsing/package-frame.html b/diylc/diylc-core/doc/org/diylc/parsing/package-frame.html new file mode 100644 index 00000000..b6c073df --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/parsing/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +org.diylc.parsing + + + + + + + + + + + +org.diylc.parsing + + + + +
+Interfaces  + +
+IOldFileParser
+ + + + diff --git a/diylc/diylc-core/doc/org/diylc/parsing/package-summary.html b/diylc/diylc-core/doc/org/diylc/parsing/package-summary.html new file mode 100644 index 00000000..f498cb15 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/parsing/package-summary.html @@ -0,0 +1,157 @@ + + + + + + +org.diylc.parsing + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.diylc.parsing +

+ + + + + + + + + +
+Interface Summary
IOldFileParser 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/parsing/package-tree.html b/diylc/diylc-core/doc/org/diylc/parsing/package-tree.html new file mode 100644 index 00000000..f94a8ae2 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/parsing/package-tree.html @@ -0,0 +1,151 @@ + + + + + + +org.diylc.parsing Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.diylc.parsing +

+
+
+
Package Hierarchies:
All Packages
+
+

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/parsing/package-use.html b/diylc/diylc-core/doc/org/diylc/parsing/package-use.html new file mode 100644 index 00000000..97dbac27 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/parsing/package-use.html @@ -0,0 +1,170 @@ + + + + + + +Uses of Package org.diylc.parsing + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
org.diylc.parsing

+
+ + + + + + + + + +
+Packages that use org.diylc.parsing
org.diylc.presenter  
+  +

+ + + + + + + + +
+Classes in org.diylc.parsing used by org.diylc.presenter
IOldFileParser + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/CommentEntity.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/CommentEntity.html new file mode 100644 index 00000000..f9e6f751 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/CommentEntity.html @@ -0,0 +1,524 @@ + + + + + + +CommentEntity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.plugins.cloud.model +
+Class CommentEntity

+
+java.lang.Object
+  extended by org.diylc.plugins.cloud.model.CommentEntity
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class CommentEntity
extends java.lang.Object
implements java.io.Serializable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
CommentEntity() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(java.lang.Object obj) + +
+           
+ java.lang.StringgetComment() + +
+           
+ intgetId() + +
+           
+ intgetParentId() + +
+           
+ java.lang.StringgetPostedAt() + +
+           
+ java.lang.StringgetUsername() + +
+           
+ inthashCode() + +
+           
+ voidsetComment(java.lang.String comment) + +
+           
+ voidsetId(int id) + +
+           
+ voidsetParentId(int parentId) + +
+           
+ voidsetPostedAt(java.lang.String postedAt) + +
+           
+ voidsetUsername(java.lang.String username) + +
+           
+ java.lang.StringtoString() + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CommentEntity

+
+public CommentEntity()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getId

+
+public int getId()
+
+
+
+
+
+
+
+
+
+ +

+setId

+
+public void setId(int id)
+
+
+
+
+
+
+
+
+
+ +

+getParentId

+
+public int getParentId()
+
+
+
+
+
+
+
+
+
+ +

+setParentId

+
+public void setParentId(int parentId)
+
+
+
+
+
+
+
+
+
+ +

+getUsername

+
+public java.lang.String getUsername()
+
+
+
+
+
+
+
+
+
+ +

+setUsername

+
+public void setUsername(java.lang.String username)
+
+
+
+
+
+
+
+
+
+ +

+getComment

+
+public java.lang.String getComment()
+
+
+
+
+
+
+
+
+
+ +

+setComment

+
+public void setComment(java.lang.String comment)
+
+
+
+
+
+
+
+
+
+ +

+getPostedAt

+
+public java.lang.String getPostedAt()
+
+
+
+
+
+
+
+
+
+ +

+setPostedAt

+
+public void setPostedAt(java.lang.String postedAt)
+
+
+
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/CommentTree.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/CommentTree.html new file mode 100644 index 00000000..7016daf1 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/CommentTree.html @@ -0,0 +1,271 @@ + + + + + + +CommentTree + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.plugins.cloud.model +
+Class CommentTree

+
+java.lang.Object
+  extended by org.diylc.plugins.cloud.model.CommentTree
+
+
+
+
public class CommentTree
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CommentTree(CommentEntity rootComment) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ java.util.List<CommentEntity>getReplies() + +
+           
+ CommentEntitygetRootComment() + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CommentTree

+
+public CommentTree(CommentEntity rootComment)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getRootComment

+
+public CommentEntity getRootComment()
+
+
+
+
+
+
+ +

+getReplies

+
+public java.util.List<CommentEntity> getReplies()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/CountryDetails.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/CountryDetails.html new file mode 100644 index 00000000..b326fd36 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/CountryDetails.html @@ -0,0 +1,224 @@ + + + + + + +CountryDetails + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.plugins.cloud.model +
+Class CountryDetails

+
+java.lang.Object
+  extended by org.diylc.plugins.cloud.model.CountryDetails
+
+
+
+
public class CountryDetails
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CountryDetails() + +
+           
+  + + + + + + + +
+Method Summary
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CountryDetails

+
+public CountryDetails()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/DashboardEntity.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/DashboardEntity.html new file mode 100644 index 00000000..bd891979 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/DashboardEntity.html @@ -0,0 +1,224 @@ + + + + + + +DashboardEntity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.plugins.cloud.model +
+Class DashboardEntity

+
+java.lang.Object
+  extended by org.diylc.plugins.cloud.model.DashboardEntity
+
+
+
+
public class DashboardEntity
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
DashboardEntity() + +
+           
+  + + + + + + + +
+Method Summary
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DashboardEntity

+
+public DashboardEntity()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/IServiceAPI.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/IServiceAPI.html new file mode 100644 index 00000000..83357cb2 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/IServiceAPI.html @@ -0,0 +1,562 @@ + + + + + + +IServiceAPI + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.plugins.cloud.model +
+Interface IServiceAPI

+
+
+
public interface IServiceAPI
+ + +

+Interface of DIYLC PHP server located at www.diy-fever.com/diylc/api/v1 +

+ +

+

+
Author:
+
bancika
+
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static java.lang.StringURL_KEY + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringcreateUser(java.lang.String username, + java.lang.String password, + java.lang.String email, + java.lang.String website, + java.lang.String bio) + +
+          Creates a user with the specified details.
+ java.util.List<java.lang.String>getCategories() + +
+           
+ java.lang.ObjectgetComments(int projectId) + +
+          Returns all available comments for the given projectId.
+ java.util.List<java.lang.String>getSortings() + +
+           
+ java.lang.ObjectgetUserDetails(java.lang.String username, + java.lang.String token, + java.lang.String machineId) + +
+          Retrieves current user's details.
+ java.lang.Stringlogin(java.lang.String username, + java.lang.String password, + java.lang.String machineId) + +
+          Tries to login with the provided credentials and machineId.
+ java.lang.StringloginWithToken(java.lang.String username, + java.lang.String token, + java.lang.String machineId) + +
+          Tries to authenticate with the token that was previously created by calling login() function.
+ java.lang.StringpostComment(java.lang.String username, + java.lang.String token, + java.lang.String machineId, + java.lang.Integer projectId, + java.lang.String comment) + +
+          Posts a comment to the specified project.
+ java.lang.Objectsearch(java.lang.String criteria, + java.lang.String category, + java.lang.Integer page, + java.lang.Integer itemsPerPage, + java.lang.String sort) + +
+          Searches for projects that meet the specified search criteria.
+ java.lang.StringupdatePassword(java.lang.String username, + java.lang.String oldPassword, + java.lang.String newPassword) + +
+          Updates password of the current user using token to authenticate.
+ java.lang.StringupdateUserDetails(java.lang.String username, + java.lang.String token, + java.lang.String machineId, + java.lang.String email, + java.lang.String website, + java.lang.String bio) + +
+          Updates user details using token to authenticate.
+ java.lang.Stringupload(java.lang.String username, + java.lang.String token, + java.lang.String machineId, + java.lang.String projectName, + java.lang.String category, + java.lang.String description, + java.lang.String diylcVersion, + java.lang.String keywords, + java.io.File thumbnail, + java.io.File project) + +
+          Uploads a project using token to authenticate.
+  +

+ + + + + + + + +
+Field Detail
+ +

+URL_KEY

+
+static final java.lang.String URL_KEY
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+createUser

+
+java.lang.String createUser(java.lang.String username,
+                            java.lang.String password,
+                            java.lang.String email,
+                            java.lang.String website,
+                            java.lang.String bio)
+
+
Creates a user with the specified details. +

+

+
Parameters:
username -
password -
email -
website -
bio - +
Returns:
"Success" if the operation is successful or error message if it failed.
+
+
+
+ +

+updateUserDetails

+
+java.lang.String updateUserDetails(java.lang.String username,
+                                   java.lang.String token,
+                                   java.lang.String machineId,
+                                   java.lang.String email,
+                                   java.lang.String website,
+                                   java.lang.String bio)
+
+
Updates user details using token to authenticate. +

+

+
Parameters:
username -
token -
machineId -
email -
website -
bio - +
Returns:
"Success" if the operation is successful or error message if it failed.
+
+
+
+ +

+login

+
+java.lang.String login(java.lang.String username,
+                       java.lang.String password,
+                       java.lang.String machineId)
+
+
Tries to login with the provided credentials and machineId. +

+

+
Parameters:
username -
password -
machineId - +
Returns:
login token if the login was successful or string literal "Error" if it failed.
+
+
+
+ +

+getUserDetails

+
+java.lang.Object getUserDetails(java.lang.String username,
+                                java.lang.String token,
+                                java.lang.String machineId)
+
+
Retrieves current user's details. +

+

+
Parameters:
username -
password -
machineId - +
Returns:
string with an error message if it fails, or an instance of UserEntity if it + succeeds.
+
+
+
+ +

+loginWithToken

+
+java.lang.String loginWithToken(java.lang.String username,
+                                java.lang.String token,
+                                java.lang.String machineId)
+
+
Tries to authenticate with the token that was previously created by calling login() function. +

+

+
Parameters:
username -
password -
machineId - +
Returns:
"Success" if the login is successful or error message if it failed.
+
+
+
+ +

+updatePassword

+
+java.lang.String updatePassword(java.lang.String username,
+                                java.lang.String oldPassword,
+                                java.lang.String newPassword)
+
+
Updates password of the current user using token to authenticate. +

+

+
Parameters:
username -
token -
machineId -
password - +
Returns:
"Success" if the login is successful or error message if it failed.
+
+
+
+ +

+search

+
+java.lang.Object search(java.lang.String criteria,
+                        java.lang.String category,
+                        java.lang.Integer page,
+                        java.lang.Integer itemsPerPage,
+                        java.lang.String sort)
+
+
Searches for projects that meet the specified search criteria. Supports pagination. +

+

+
Parameters:
criteria -
category -
page -
itemsPerPage -
sort - +
Returns:
string with error message if the error occurred or a list of ProjectEntity + objects.
+
+
+
+ +

+upload

+
+java.lang.String upload(java.lang.String username,
+                        java.lang.String token,
+                        java.lang.String machineId,
+                        java.lang.String projectName,
+                        java.lang.String category,
+                        java.lang.String description,
+                        java.lang.String diylcVersion,
+                        java.lang.String keywords,
+                        java.io.File thumbnail,
+                        java.io.File project)
+
+
Uploads a project using token to authenticate. +

+

+
Parameters:
username -
token -
machineId -
projectName -
category -
description -
diylcVersion -
keywords -
thumbnail -
project - +
Returns:
"Success" if the upload was successful or error message if it failed.
+
+
+
+ +

+postComment

+
+java.lang.String postComment(java.lang.String username,
+                             java.lang.String token,
+                             java.lang.String machineId,
+                             java.lang.Integer projectId,
+                             java.lang.String comment)
+
+
Posts a comment to the specified project. +

+

+
Parameters:
username -
token -
machineId -
projectId -
comment - +
Returns:
+
+
+
+ +

+getCategories

+
+java.util.List<java.lang.String> getCategories()
+
+
+ +
Returns:
a List of available categories.
+
+
+
+ +

+getSortings

+
+java.util.List<java.lang.String> getSortings()
+
+
+ +
Returns:
a List of available sortings.
+
+
+
+ +

+getComments

+
+java.lang.Object getComments(int projectId)
+
+
Returns all available comments for the given projectId. +

+

+
Parameters:
projectId - +
Returns:
string with error message if the error occurred or a list of CommentEntity + objects.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/ProjectEntity.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/ProjectEntity.html new file mode 100644 index 00000000..d26a9abf --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/ProjectEntity.html @@ -0,0 +1,788 @@ + + + + + + +ProjectEntity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.plugins.cloud.model +
+Class ProjectEntity

+
+java.lang.Object
+  extended by org.diylc.plugins.cloud.model.ProjectEntity
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class ProjectEntity
extends java.lang.Object
implements java.io.Serializable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ProjectEntity() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(java.lang.Object obj) + +
+           
+ java.lang.StringgetCategory() + +
+           
+ intgetCommentCount() + +
+           
+ java.lang.StringgetDescription() + +
+           
+ intgetDownloadCount() + +
+           
+ java.lang.StringgetDownloadUrl() + +
+           
+ intgetId() + +
+           
+ java.lang.StringgetName() + +
+           
+ java.lang.StringgetOwner() + +
+           
+ java.lang.StringgetThumbnailUrl() + +
+           
+ java.lang.StringgetUpdated() + +
+           
+ intgetViewCount() + +
+           
+ inthashCode() + +
+           
+ voidsetCategory(java.lang.String category) + +
+           
+ voidsetCommentCount(int commentCount) + +
+           
+ voidsetDescription(java.lang.String description) + +
+           
+ voidsetDownloadCount(int downloadCount) + +
+           
+ voidsetDownloadUrl(java.lang.String downloadUrl) + +
+           
+ voidsetId(int id) + +
+           
+ voidsetName(java.lang.String name) + +
+           
+ voidsetOwner(java.lang.String owner) + +
+           
+ voidsetThumbnailUrl(java.lang.String thumbnailUrl) + +
+           
+ voidsetUpdated(java.lang.String updated) + +
+           
+ voidsetViewCount(int viewCount) + +
+           
+ java.lang.StringtoString() + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProjectEntity

+
+public ProjectEntity()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getId

+
+public int getId()
+
+
+
+
+
+
+
+
+
+ +

+setId

+
+public void setId(int id)
+
+
+
+
+
+
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
+
+
+
+
+
+
+
+ +

+setName

+
+public void setName(java.lang.String name)
+
+
+
+
+
+
+
+
+
+ +

+getDescription

+
+public java.lang.String getDescription()
+
+
+
+
+
+
+
+
+
+ +

+setDescription

+
+public void setDescription(java.lang.String description)
+
+
+
+
+
+
+
+
+
+ +

+getOwner

+
+public java.lang.String getOwner()
+
+
+
+
+
+
+
+
+
+ +

+setOwner

+
+public void setOwner(java.lang.String owner)
+
+
+
+
+
+
+
+
+
+ +

+getCategory

+
+public java.lang.String getCategory()
+
+
+
+
+
+
+
+
+
+ +

+setCategory

+
+public void setCategory(java.lang.String category)
+
+
+
+
+
+
+
+
+
+ +

+getUpdated

+
+public java.lang.String getUpdated()
+
+
+
+
+
+
+
+
+
+ +

+setUpdated

+
+public void setUpdated(java.lang.String updated)
+
+
+
+
+
+
+
+
+
+ +

+getThumbnailUrl

+
+public java.lang.String getThumbnailUrl()
+
+
+
+
+
+
+
+
+
+ +

+setThumbnailUrl

+
+public void setThumbnailUrl(java.lang.String thumbnailUrl)
+
+
+
+
+
+
+
+
+
+ +

+getDownloadUrl

+
+public java.lang.String getDownloadUrl()
+
+
+
+
+
+
+
+
+
+ +

+setDownloadUrl

+
+public void setDownloadUrl(java.lang.String downloadUrl)
+
+
+
+
+
+
+
+
+
+ +

+getViewCount

+
+public int getViewCount()
+
+
+
+
+
+
+
+
+
+ +

+setViewCount

+
+public void setViewCount(int viewCount)
+
+
+
+
+
+
+
+
+
+ +

+getDownloadCount

+
+public int getDownloadCount()
+
+
+
+
+
+
+
+
+
+ +

+setDownloadCount

+
+public void setDownloadCount(int downloadCount)
+
+
+
+
+
+
+
+
+
+ +

+getCommentCount

+
+public int getCommentCount()
+
+
+
+
+
+
+
+
+
+ +

+setCommentCount

+
+public void setCommentCount(int commentCount)
+
+
+
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/UserEntity.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/UserEntity.html new file mode 100644 index 00000000..21816327 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/UserEntity.html @@ -0,0 +1,486 @@ + + + + + + +UserEntity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.plugins.cloud.model +
+Class UserEntity

+
+java.lang.Object
+  extended by org.diylc.plugins.cloud.model.UserEntity
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class UserEntity
extends java.lang.Object
implements java.io.Serializable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
UserEntity(java.lang.String username, + java.lang.String email, + java.lang.String website, + java.lang.String bio) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(java.lang.Object obj) + +
+           
+ java.lang.StringgetBio() + +
+           
+ java.lang.StringgetEmail() + +
+           
+ java.lang.StringgetUsername() + +
+           
+ java.lang.StringgetWebsite() + +
+           
+ inthashCode() + +
+           
+ voidsetBio(java.lang.String bio) + +
+           
+ voidsetEmail(java.lang.String email) + +
+           
+ voidsetUsername(java.lang.String username) + +
+           
+ voidsetWebsite(java.lang.String website) + +
+           
+ java.lang.StringtoString() + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UserEntity

+
+public UserEntity(java.lang.String username,
+                  java.lang.String email,
+                  java.lang.String website,
+                  java.lang.String bio)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getUsername

+
+public java.lang.String getUsername()
+
+
+
+
+
+
+
+
+
+ +

+setUsername

+
+public void setUsername(java.lang.String username)
+
+
+
+
+
+
+
+
+
+ +

+getEmail

+
+public java.lang.String getEmail()
+
+
+
+
+
+
+
+
+
+ +

+setEmail

+
+public void setEmail(java.lang.String email)
+
+
+
+
+
+
+
+
+
+ +

+getWebsite

+
+public java.lang.String getWebsite()
+
+
+
+
+
+
+
+
+
+ +

+setWebsite

+
+public void setWebsite(java.lang.String website)
+
+
+
+
+
+
+
+
+
+ +

+getBio

+
+public java.lang.String getBio()
+
+
+
+
+
+
+
+
+
+ +

+setBio

+
+public void setBio(java.lang.String bio)
+
+
+
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/class-use/CommentEntity.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/class-use/CommentEntity.html new file mode 100644 index 00000000..c0ae7e02 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/class-use/CommentEntity.html @@ -0,0 +1,239 @@ + + + + + + +Uses of Class org.diylc.plugins.cloud.model.CommentEntity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.plugins.cloud.model.CommentEntity

+
+ + + + + + + + + + + + + +
+Packages that use CommentEntity
org.diylc.plugins.cloud.model  
org.diylc.plugins.cloud.presenter  
+  +

+ + + + + +
+Uses of CommentEntity in org.diylc.plugins.cloud.model
+  +

+ + + + + + + + + +
Methods in org.diylc.plugins.cloud.model that return CommentEntity
+ CommentEntityCommentTree.getRootComment() + +
+           
+  +

+ + + + + + + + + +
Methods in org.diylc.plugins.cloud.model that return types with arguments of type CommentEntity
+ java.util.List<CommentEntity>CommentTree.getReplies() + +
+           
+  +

+ + + + + + + + +
Constructors in org.diylc.plugins.cloud.model with parameters of type CommentEntity
CommentTree(CommentEntity rootComment) + +
+           
+  +

+ + + + + +
+Uses of CommentEntity in org.diylc.plugins.cloud.presenter
+  +

+ + + + + + + + + +
Methods in org.diylc.plugins.cloud.presenter that return types with arguments of type CommentEntity
+ java.util.List<CommentEntity>CloudPresenter.getComments(int projectId) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/class-use/CommentTree.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/class-use/CommentTree.html new file mode 100644 index 00000000..18cbb954 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/class-use/CommentTree.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.plugins.cloud.model.CommentTree + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.plugins.cloud.model.CommentTree

+
+No usage of org.diylc.plugins.cloud.model.CommentTree +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/class-use/CountryDetails.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/class-use/CountryDetails.html new file mode 100644 index 00000000..880d465b --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/class-use/CountryDetails.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.plugins.cloud.model.CountryDetails + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.plugins.cloud.model.CountryDetails

+
+No usage of org.diylc.plugins.cloud.model.CountryDetails +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/class-use/DashboardEntity.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/class-use/DashboardEntity.html new file mode 100644 index 00000000..1bef20be --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/class-use/DashboardEntity.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.plugins.cloud.model.DashboardEntity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.plugins.cloud.model.DashboardEntity

+
+No usage of org.diylc.plugins.cloud.model.DashboardEntity +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/class-use/IServiceAPI.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/class-use/IServiceAPI.html new file mode 100644 index 00000000..213ee36b --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/class-use/IServiceAPI.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Interface org.diylc.plugins.cloud.model.IServiceAPI + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.diylc.plugins.cloud.model.IServiceAPI

+
+ + + + + + + + + +
+Packages that use IServiceAPI
org.diylc.plugins.cloud.presenter  
+  +

+ + + + + +
+Uses of IServiceAPI in org.diylc.plugins.cloud.presenter
+  +

+ + + + + + + + + +
Methods in org.diylc.plugins.cloud.presenter that return IServiceAPI
+ IServiceAPICloudPresenter.getService() + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/class-use/ProjectEntity.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/class-use/ProjectEntity.html new file mode 100644 index 00000000..d1ba3aa7 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/class-use/ProjectEntity.html @@ -0,0 +1,202 @@ + + + + + + +Uses of Class org.diylc.plugins.cloud.model.ProjectEntity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.plugins.cloud.model.ProjectEntity

+
+ + + + + + + + + +
+Packages that use ProjectEntity
org.diylc.plugins.cloud.presenter  
+  +

+ + + + + +
+Uses of ProjectEntity in org.diylc.plugins.cloud.presenter
+  +

+ + + + + + + + + + + + + + + + + +
Methods in org.diylc.plugins.cloud.presenter that return types with arguments of type ProjectEntity
+ java.util.List<ProjectEntity>PagingProvider.requestMoreData() + +
+           
+ java.util.List<ProjectEntity>CloudPresenter.search(java.lang.String criteria, + java.lang.String category, + java.lang.String sortOrder, + int pageNumber, + int itemsPerPage) + +
+           
+ java.util.List<ProjectEntity>PagingProvider.startSession(java.lang.String searchFor, + java.lang.String category, + java.lang.String sort) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/class-use/UserEntity.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/class-use/UserEntity.html new file mode 100644 index 00000000..f203da9f --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/class-use/UserEntity.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Class org.diylc.plugins.cloud.model.UserEntity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.plugins.cloud.model.UserEntity

+
+ + + + + + + + + +
+Packages that use UserEntity
org.diylc.plugins.cloud.presenter  
+  +

+ + + + + +
+Uses of UserEntity in org.diylc.plugins.cloud.presenter
+  +

+ + + + + + + + + +
Methods in org.diylc.plugins.cloud.presenter that return UserEntity
+ UserEntityCloudPresenter.getUserDetails() + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/package-frame.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/package-frame.html new file mode 100644 index 00000000..88761a5d --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/package-frame.html @@ -0,0 +1,53 @@ + + + + + + +org.diylc.plugins.cloud.model + + + + + + + + + + + +org.diylc.plugins.cloud.model + + + + +
+Interfaces  + +
+IServiceAPI
+ + + + + + +
+Classes  + +
+CommentEntity +
+CommentTree +
+CountryDetails +
+DashboardEntity +
+ProjectEntity +
+UserEntity
+ + + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/package-summary.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/package-summary.html new file mode 100644 index 00000000..4760df82 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/package-summary.html @@ -0,0 +1,191 @@ + + + + + + +org.diylc.plugins.cloud.model + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.diylc.plugins.cloud.model +

+ + + + + + + + + +
+Interface Summary
IServiceAPIInterface of DIYLC PHP server located at www.diy-fever.com/diylc/api/v1
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
CommentEntity 
CommentTree 
CountryDetails 
DashboardEntity 
ProjectEntity 
UserEntity 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/package-tree.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/package-tree.html new file mode 100644 index 00000000..dd49789d --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/package-tree.html @@ -0,0 +1,161 @@ + + + + + + +org.diylc.plugins.cloud.model Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.diylc.plugins.cloud.model +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/package-use.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/package-use.html new file mode 100644 index 00000000..5298c139 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/model/package-use.html @@ -0,0 +1,207 @@ + + + + + + +Uses of Package org.diylc.plugins.cloud.model + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
org.diylc.plugins.cloud.model

+
+ + + + + + + + + + + + + +
+Packages that use org.diylc.plugins.cloud.model
org.diylc.plugins.cloud.model  
org.diylc.plugins.cloud.presenter  
+  +

+ + + + + + + + +
+Classes in org.diylc.plugins.cloud.model used by org.diylc.plugins.cloud.model
CommentEntity + +
+           
+  +

+ + + + + + + + + + + + + + + + + +
+Classes in org.diylc.plugins.cloud.model used by org.diylc.plugins.cloud.presenter
CommentEntity + +
+           
IServiceAPI + +
+          Interface of DIYLC PHP server located at www.diy-fever.com/diylc/api/v1
ProjectEntity + +
+           
UserEntity + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/CloudException.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/CloudException.html new file mode 100644 index 00000000..ea47afb6 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/CloudException.html @@ -0,0 +1,254 @@ + + + + + + +CloudException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.plugins.cloud.presenter +
+Class CloudException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.diylc.plugins.cloud.presenter.CloudException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class CloudException
extends java.lang.Exception
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
CloudException(java.lang.Exception e) + +
+           
CloudException(java.lang.String string) + +
+           
+  + + + + + + + +
+Method Summary
+  + + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CloudException

+
+public CloudException(java.lang.Exception e)
+
+
+
+ +

+CloudException

+
+public CloudException(java.lang.String string)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/CloudListener.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/CloudListener.html new file mode 100644 index 00000000..199c1ae4 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/CloudListener.html @@ -0,0 +1,225 @@ + + + + + + +CloudListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.plugins.cloud.presenter +
+Interface CloudListener

+
+
+
public interface CloudListener
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ voidloggedIn() + +
+           
+ voidloggedOut() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+loggedIn

+
+void loggedIn()
+
+
+
+
+
+
+ +

+loggedOut

+
+void loggedOut()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/CloudPresenter.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/CloudPresenter.html new file mode 100644 index 00000000..d3044803 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/CloudPresenter.html @@ -0,0 +1,613 @@ + + + + + + +CloudPresenter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.plugins.cloud.presenter +
+Class CloudPresenter

+
+java.lang.Object
+  extended by org.diylc.plugins.cloud.presenter.CloudPresenter
+
+
+
+
public class CloudPresenter
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CloudPresenter(CloudListener listener) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidcreateUserAccount(java.lang.String username, + java.lang.String password, + java.lang.String email, + java.lang.String website, + java.lang.String bio) + +
+           
+ java.lang.String[]getCategories() + +
+           
+ java.util.List<CommentEntity>getComments(int projectId) + +
+           
+ java.lang.StringgetCurrentUsername() + +
+           
+ IServiceAPIgetService() + +
+           
+ java.lang.String[]getSortings() + +
+           
+ UserEntitygetUserDetails() + +
+           
+ booleanisLoggedIn() + +
+           
+ booleanlogIn(java.lang.String username, + java.lang.String password) + +
+           
+ voidlogOut() + +
+           
+ voidpostComment(int projectId, + java.lang.String comment) + +
+           
+ java.util.List<ProjectEntity>search(java.lang.String criteria, + java.lang.String category, + java.lang.String sortOrder, + int pageNumber, + int itemsPerPage) + +
+           
+ booleantryLogInWithToken() + +
+           
+ voidupdatePassword(java.lang.String oldPassword, + java.lang.String newPassword) + +
+           
+ voidupdateUserDetails(java.lang.String email, + java.lang.String website, + java.lang.String bio) + +
+           
+ voidupload(java.lang.String projectName, + java.lang.String category, + java.lang.String description, + java.lang.String keywords, + java.lang.String diylcVersion, + java.io.File thumbnail, + java.io.File project) + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CloudPresenter

+
+public CloudPresenter(CloudListener listener)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getService

+
+public IServiceAPI getService()
+
+
+
+
+
+
+ +

+logIn

+
+public boolean logIn(java.lang.String username,
+                     java.lang.String password)
+              throws CloudException
+
+
+ +
Throws: +
CloudException
+
+
+
+ +

+tryLogInWithToken

+
+public boolean tryLogInWithToken()
+                          throws CloudException
+
+
+ +
Throws: +
CloudException
+
+
+
+ +

+logOut

+
+public void logOut()
+
+
+
+
+
+
+ +

+isLoggedIn

+
+public boolean isLoggedIn()
+
+
+
+
+
+
+ +

+getCategories

+
+public java.lang.String[] getCategories()
+                                 throws CloudException
+
+
+ +
Throws: +
CloudException
+
+
+
+ +

+upload

+
+public void upload(java.lang.String projectName,
+                   java.lang.String category,
+                   java.lang.String description,
+                   java.lang.String keywords,
+                   java.lang.String diylcVersion,
+                   java.io.File thumbnail,
+                   java.io.File project)
+            throws java.io.IOException,
+                   CloudException
+
+
+ +
Throws: +
java.io.IOException +
CloudException
+
+
+
+ +

+postComment

+
+public void postComment(int projectId,
+                        java.lang.String comment)
+                 throws CloudException
+
+
+ +
Throws: +
CloudException
+
+
+
+ +

+createUserAccount

+
+public void createUserAccount(java.lang.String username,
+                              java.lang.String password,
+                              java.lang.String email,
+                              java.lang.String website,
+                              java.lang.String bio)
+                       throws CloudException
+
+
+ +
Throws: +
CloudException
+
+
+
+ +

+getUserDetails

+
+public UserEntity getUserDetails()
+                          throws CloudException
+
+
+ +
Throws: +
CloudException
+
+
+
+ +

+getCurrentUsername

+
+public java.lang.String getCurrentUsername()
+
+
+
+
+
+
+ +

+updatePassword

+
+public void updatePassword(java.lang.String oldPassword,
+                           java.lang.String newPassword)
+                    throws CloudException
+
+
+ +
Throws: +
CloudException
+
+
+
+ +

+updateUserDetails

+
+public void updateUserDetails(java.lang.String email,
+                              java.lang.String website,
+                              java.lang.String bio)
+                       throws CloudException
+
+
+ +
Throws: +
CloudException
+
+
+
+ +

+search

+
+public java.util.List<ProjectEntity> search(java.lang.String criteria,
+                                            java.lang.String category,
+                                            java.lang.String sortOrder,
+                                            int pageNumber,
+                                            int itemsPerPage)
+                                     throws CloudException
+
+
+ +
Throws: +
CloudException
+
+
+
+ +

+getSortings

+
+public java.lang.String[] getSortings()
+                               throws CloudException
+
+
+ +
Throws: +
CloudException
+
+
+
+ +

+getComments

+
+public java.util.List<CommentEntity> getComments(int projectId)
+                                          throws CloudException
+
+
+ +
Throws: +
CloudException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/NotConnectedException.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/NotConnectedException.html new file mode 100644 index 00000000..20c493f8 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/NotConnectedException.html @@ -0,0 +1,240 @@ + + + + + + +NotConnectedException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.plugins.cloud.presenter +
+Class NotConnectedException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.diylc.plugins.cloud.presenter.NotConnectedException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class NotConnectedException
extends java.lang.Exception
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
NotConnectedException() + +
+           
+  + + + + + + + +
+Method Summary
+  + + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NotConnectedException

+
+public NotConnectedException()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/NotExistsException.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/NotExistsException.html new file mode 100644 index 00000000..0cd5be0d --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/NotExistsException.html @@ -0,0 +1,240 @@ + + + + + + +NotExistsException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.plugins.cloud.presenter +
+Class NotExistsException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.diylc.plugins.cloud.presenter.NotExistsException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class NotExistsException
extends java.lang.Exception
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
NotExistsException(java.lang.String message) + +
+           
+  + + + + + + + +
+Method Summary
+  + + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NotExistsException

+
+public NotExistsException(java.lang.String message)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/NotLoggedInException.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/NotLoggedInException.html new file mode 100644 index 00000000..94143809 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/NotLoggedInException.html @@ -0,0 +1,240 @@ + + + + + + +NotLoggedInException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.plugins.cloud.presenter +
+Class NotLoggedInException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.diylc.plugins.cloud.presenter.NotLoggedInException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class NotLoggedInException
extends java.lang.Exception
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
NotLoggedInException() + +
+           
+  + + + + + + + +
+Method Summary
+  + + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NotLoggedInException

+
+public NotLoggedInException()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/PagingProvider.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/PagingProvider.html new file mode 100644 index 00000000..c12185da --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/PagingProvider.html @@ -0,0 +1,300 @@ + + + + + + +PagingProvider + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.plugins.cloud.presenter +
+Class PagingProvider

+
+java.lang.Object
+  extended by org.diylc.plugins.cloud.presenter.PagingProvider
+
+
+
+
public class PagingProvider
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
PagingProvider(CloudPresenter cloudPresenter) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanhasMoreData() + +
+           
+ java.util.List<ProjectEntity>requestMoreData() + +
+           
+ java.util.List<ProjectEntity>startSession(java.lang.String searchFor, + java.lang.String category, + java.lang.String sort) + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PagingProvider

+
+public PagingProvider(CloudPresenter cloudPresenter)
+
+
+ + + + + + + + +
+Method Detail
+ +

+startSession

+
+public java.util.List<ProjectEntity> startSession(java.lang.String searchFor,
+                                                  java.lang.String category,
+                                                  java.lang.String sort)
+                                           throws CloudException
+
+
+ +
Throws: +
CloudException
+
+
+
+ +

+hasMoreData

+
+public boolean hasMoreData()
+
+
+
+
+
+
+ +

+requestMoreData

+
+public java.util.List<ProjectEntity> requestMoreData()
+                                              throws CloudException
+
+
+ +
Throws: +
CloudException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/class-use/CloudException.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/class-use/CloudException.html new file mode 100644 index 00000000..cb491f5b --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/class-use/CloudException.html @@ -0,0 +1,305 @@ + + + + + + +Uses of Class org.diylc.plugins.cloud.presenter.CloudException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.plugins.cloud.presenter.CloudException

+
+ + + + + + + + + +
+Packages that use CloudException
org.diylc.plugins.cloud.presenter  
+  +

+ + + + + +
+Uses of CloudException in org.diylc.plugins.cloud.presenter
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in org.diylc.plugins.cloud.presenter that throw CloudException
+ voidCloudPresenter.createUserAccount(java.lang.String username, + java.lang.String password, + java.lang.String email, + java.lang.String website, + java.lang.String bio) + +
+           
+ java.lang.String[]CloudPresenter.getCategories() + +
+           
+ java.util.List<CommentEntity>CloudPresenter.getComments(int projectId) + +
+           
+ java.lang.String[]CloudPresenter.getSortings() + +
+           
+ UserEntityCloudPresenter.getUserDetails() + +
+           
+ booleanCloudPresenter.logIn(java.lang.String username, + java.lang.String password) + +
+           
+ voidCloudPresenter.postComment(int projectId, + java.lang.String comment) + +
+           
+ java.util.List<ProjectEntity>PagingProvider.requestMoreData() + +
+           
+ java.util.List<ProjectEntity>CloudPresenter.search(java.lang.String criteria, + java.lang.String category, + java.lang.String sortOrder, + int pageNumber, + int itemsPerPage) + +
+           
+ java.util.List<ProjectEntity>PagingProvider.startSession(java.lang.String searchFor, + java.lang.String category, + java.lang.String sort) + +
+           
+ booleanCloudPresenter.tryLogInWithToken() + +
+           
+ voidCloudPresenter.updatePassword(java.lang.String oldPassword, + java.lang.String newPassword) + +
+           
+ voidCloudPresenter.updateUserDetails(java.lang.String email, + java.lang.String website, + java.lang.String bio) + +
+           
+ voidCloudPresenter.upload(java.lang.String projectName, + java.lang.String category, + java.lang.String description, + java.lang.String keywords, + java.lang.String diylcVersion, + java.io.File thumbnail, + java.io.File project) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/class-use/CloudListener.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/class-use/CloudListener.html new file mode 100644 index 00000000..82772b3c --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/class-use/CloudListener.html @@ -0,0 +1,178 @@ + + + + + + +Uses of Interface org.diylc.plugins.cloud.presenter.CloudListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
org.diylc.plugins.cloud.presenter.CloudListener

+
+ + + + + + + + + +
+Packages that use CloudListener
org.diylc.plugins.cloud.presenter  
+  +

+ + + + + +
+Uses of CloudListener in org.diylc.plugins.cloud.presenter
+  +

+ + + + + + + + +
Constructors in org.diylc.plugins.cloud.presenter with parameters of type CloudListener
CloudPresenter(CloudListener listener) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/class-use/CloudPresenter.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/class-use/CloudPresenter.html new file mode 100644 index 00000000..4a3b1478 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/class-use/CloudPresenter.html @@ -0,0 +1,178 @@ + + + + + + +Uses of Class org.diylc.plugins.cloud.presenter.CloudPresenter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.plugins.cloud.presenter.CloudPresenter

+
+ + + + + + + + + +
+Packages that use CloudPresenter
org.diylc.plugins.cloud.presenter  
+  +

+ + + + + +
+Uses of CloudPresenter in org.diylc.plugins.cloud.presenter
+  +

+ + + + + + + + +
Constructors in org.diylc.plugins.cloud.presenter with parameters of type CloudPresenter
PagingProvider(CloudPresenter cloudPresenter) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/class-use/NotConnectedException.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/class-use/NotConnectedException.html new file mode 100644 index 00000000..b204d9e7 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/class-use/NotConnectedException.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.plugins.cloud.presenter.NotConnectedException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.plugins.cloud.presenter.NotConnectedException

+
+No usage of org.diylc.plugins.cloud.presenter.NotConnectedException +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/class-use/NotExistsException.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/class-use/NotExistsException.html new file mode 100644 index 00000000..2592f9ff --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/class-use/NotExistsException.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.plugins.cloud.presenter.NotExistsException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.plugins.cloud.presenter.NotExistsException

+
+No usage of org.diylc.plugins.cloud.presenter.NotExistsException +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/class-use/NotLoggedInException.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/class-use/NotLoggedInException.html new file mode 100644 index 00000000..bb8b3882 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/class-use/NotLoggedInException.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.plugins.cloud.presenter.NotLoggedInException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.plugins.cloud.presenter.NotLoggedInException

+
+No usage of org.diylc.plugins.cloud.presenter.NotLoggedInException +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/class-use/PagingProvider.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/class-use/PagingProvider.html new file mode 100644 index 00000000..8120d101 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/class-use/PagingProvider.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.plugins.cloud.presenter.PagingProvider + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.plugins.cloud.presenter.PagingProvider

+
+No usage of org.diylc.plugins.cloud.presenter.PagingProvider +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/package-frame.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/package-frame.html new file mode 100644 index 00000000..63cc99a0 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/package-frame.html @@ -0,0 +1,62 @@ + + + + + + +org.diylc.plugins.cloud.presenter + + + + + + + + + + + +org.diylc.plugins.cloud.presenter + + + + +
+Interfaces  + +
+CloudListener
+ + + + + + +
+Classes  + +
+CloudPresenter +
+PagingProvider
+ + + + + + +
+Exceptions  + +
+CloudException +
+NotConnectedException +
+NotExistsException +
+NotLoggedInException
+ + + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/package-summary.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/package-summary.html new file mode 100644 index 00000000..b0ec9321 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/package-summary.html @@ -0,0 +1,201 @@ + + + + + + +org.diylc.plugins.cloud.presenter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.diylc.plugins.cloud.presenter +

+ + + + + + + + + +
+Interface Summary
CloudListener 
+  + +

+ + + + + + + + + + + + + +
+Class Summary
CloudPresenter 
PagingProvider 
+  + +

+ + + + + + + + + + + + + + + + + + + + + +
+Exception Summary
CloudException 
NotConnectedException 
NotExistsException 
NotLoggedInException 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/package-tree.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/package-tree.html new file mode 100644 index 00000000..63d2e930 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/package-tree.html @@ -0,0 +1,163 @@ + + + + + + +org.diylc.plugins.cloud.presenter Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.diylc.plugins.cloud.presenter +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/package-use.html b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/package-use.html new file mode 100644 index 00000000..5852a10a --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/plugins/cloud/presenter/package-use.html @@ -0,0 +1,182 @@ + + + + + + +Uses of Package org.diylc.plugins.cloud.presenter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
org.diylc.plugins.cloud.presenter

+
+ + + + + + + + + +
+Packages that use org.diylc.plugins.cloud.presenter
org.diylc.plugins.cloud.presenter  
+  +

+ + + + + + + + + + + + + + +
+Classes in org.diylc.plugins.cloud.presenter used by org.diylc.plugins.cloud.presenter
CloudException + +
+           
CloudListener + +
+           
CloudPresenter + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/presenter/CalcUtils.html b/diylc/diylc-core/doc/org/diylc/presenter/CalcUtils.html new file mode 100644 index 00000000..0319feda --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/presenter/CalcUtils.html @@ -0,0 +1,278 @@ + + + + + + +CalcUtils + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.presenter +
+Class CalcUtils

+
+java.lang.Object
+  extended by org.diylc.presenter.CalcUtils
+
+
+
+
public class CalcUtils
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CalcUtils() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static introundToGrid(int x, + Size gridSpacing) + +
+          Rounds the number to the closest grid line.
+static voidsnapPointToGrid(java.awt.Point point, + Size gridSpacing) + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CalcUtils

+
+public CalcUtils()
+
+
+ + + + + + + + +
+Method Detail
+ +

+roundToGrid

+
+public static int roundToGrid(int x,
+                              Size gridSpacing)
+
+
Rounds the number to the closest grid line. +

+

+
Parameters:
x - +
Returns:
+
+
+
+ +

+snapPointToGrid

+
+public static void snapPointToGrid(java.awt.Point point,
+                                   Size gridSpacing)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/presenter/ComparatorFactory.html b/diylc/diylc-core/doc/org/diylc/presenter/ComparatorFactory.html new file mode 100644 index 00000000..06740a46 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/presenter/ComparatorFactory.html @@ -0,0 +1,328 @@ + + + + + + +ComparatorFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.presenter +
+Class ComparatorFactory

+
+java.lang.Object
+  extended by org.diylc.presenter.ComparatorFactory
+
+
+
+
public class ComparatorFactory
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ComparatorFactory() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.util.Comparator<IDIYComponent<?>>getComponentNameComparator() + +
+           
+ java.util.Comparator<ComponentType>getComponentTypeComparator() + +
+           
+ java.util.Comparator<IDIYComponent<?>>getComponentZOrderComparator() + +
+           
+static ComparatorFactorygetInstance() + +
+           
+ java.util.Comparator<PropertyWrapper>getPropertyNameComparator() + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ComparatorFactory

+
+public ComparatorFactory()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public static ComparatorFactory getInstance()
+
+
+
+
+
+
+ +

+getComponentNameComparator

+
+public java.util.Comparator<IDIYComponent<?>> getComponentNameComparator()
+
+
+
+
+
+
+ +

+getComponentTypeComparator

+
+public java.util.Comparator<ComponentType> getComponentTypeComparator()
+
+
+
+
+
+
+ +

+getPropertyNameComparator

+
+public java.util.Comparator<PropertyWrapper> getPropertyNameComparator()
+
+
+
+
+
+
+ +

+getComponentZOrderComparator

+
+public java.util.Comparator<IDIYComponent<?>> getComponentZOrderComparator()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/presenter/ComponentProcessor.html b/diylc/diylc-core/doc/org/diylc/presenter/ComponentProcessor.html new file mode 100644 index 00000000..0543f636 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/presenter/ComponentProcessor.html @@ -0,0 +1,293 @@ + + + + + + +ComponentProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.presenter +
+Class ComponentProcessor

+
+java.lang.Object
+  extended by org.diylc.presenter.ComponentProcessor
+
+
+
+
public class ComponentProcessor
extends java.lang.Object
+ + +

+Utility class with component processing methods. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ ComponentTypeextractComponentTypeFrom(java.lang.Class<? extends IDIYComponent<?>> clazz) + +
+           
+ java.util.List<PropertyWrapper>extractProperties(java.lang.Class<?> clazz) + +
+          Extracts all editable properties from the component class.
+static ComponentProcessorgetInstance() + +
+           
+ java.util.List<PropertyWrapper>getMutualSelectionProperties(java.util.List<IDIYComponent<?>> selectedComponents) + +
+          Returns properties that have the same value for all the selected components.
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public static ComponentProcessor getInstance()
+
+
+
+
+
+
+ +

+extractComponentTypeFrom

+
+public ComponentType extractComponentTypeFrom(java.lang.Class<? extends IDIYComponent<?>> clazz)
+
+
+
+
+
+
+ +

+extractProperties

+
+public java.util.List<PropertyWrapper> extractProperties(java.lang.Class<?> clazz)
+
+
Extracts all editable properties from the component class. +

+

+
Parameters:
clazz - +
Returns:
+
+
+
+ +

+getMutualSelectionProperties

+
+public java.util.List<PropertyWrapper> getMutualSelectionProperties(java.util.List<IDIYComponent<?>> selectedComponents)
+                                                             throws java.lang.Exception
+
+
Returns properties that have the same value for all the selected components. +

+

+
Parameters:
selectedComponents - +
Returns:
+
Throws: +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/presenter/DrawingManager.html b/diylc/diylc-core/doc/org/diylc/presenter/DrawingManager.html new file mode 100644 index 00000000..e1a33c56 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/presenter/DrawingManager.html @@ -0,0 +1,588 @@ + + + + + + +DrawingManager + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.presenter +
+Class DrawingManager

+
+java.lang.Object
+  extended by org.diylc.presenter.DrawingManager
+
+
+
+
public class DrawingManager
extends java.lang.Object
+ + +

+Utility that deals with painting Project on the Graphics2D and keeps areas taken + by each drawn component. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.awt.ColorCONTROL_POINT_COLOR + +
+           
+static intCONTROL_POINT_SIZE + +
+           
+static java.lang.StringDEBUG_COMPONENT_AREAS + +
+           
+static java.awt.ColorSELECTED_CONTROL_POINT_COLOR + +
+           
+static java.lang.StringZOOM_KEY + +
+           
+  + + + + + + + + + + +
+Constructor Summary
DrawingManager(org.diylc.appframework.simplemq.MessageDispatcher<EventType> messageDispatcher) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearComponentAreaMap() + +
+           
+ java.util.List<IDIYComponent<?>>drawProject(java.awt.Graphics2D g2d, + Project project, + java.util.Set<DrawOption> drawOptions, + IComponentFiler filter, + java.awt.Rectangle selectionRect, + java.util.List<IDIYComponent<?>> selectedComponents, + java.util.Set<IDIYComponent<?>> lockedComponents, + java.util.Set<IDIYComponent<?>> groupedComponents, + java.util.List<java.awt.Point> controlPointSlot, + java.util.List<IDIYComponent<?>> componentSlot, + boolean dragInProgress) + +
+          Paints the project onto the canvas and returns the list of components that failed to draw.
+ java.util.List<IDIYComponent<?>>findComponentsAt(java.awt.Point point, + Project project) + +
+           
+ voidfireZoomChanged() + +
+           
+ java.awt.DimensiongetCanvasDimensions(Project project, + java.lang.Double zoomLevel, + boolean useZoom) + +
+           
+ java.awt.geom.AreagetComponentArea(IDIYComponent<?> component) + +
+           
+ ThemegetTheme() + +
+           
+ doublegetZoomLevel() + +
+           
+ voidinvalidateComponent(IDIYComponent<?> component) + +
+           
+ voidsetTheme(Theme theme) + +
+           
+ voidsetZoomLevel(double zoomLevel) + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+CONTROL_POINT_SIZE

+
+public static int CONTROL_POINT_SIZE
+
+
+
+
+
+ +

+ZOOM_KEY

+
+public static final java.lang.String ZOOM_KEY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEBUG_COMPONENT_AREAS

+
+public static java.lang.String DEBUG_COMPONENT_AREAS
+
+
+
+
+
+ +

+CONTROL_POINT_COLOR

+
+public static java.awt.Color CONTROL_POINT_COLOR
+
+
+
+
+
+ +

+SELECTED_CONTROL_POINT_COLOR

+
+public static java.awt.Color SELECTED_CONTROL_POINT_COLOR
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+DrawingManager

+
+public DrawingManager(org.diylc.appframework.simplemq.MessageDispatcher<EventType> messageDispatcher)
+
+
+ + + + + + + + +
+Method Detail
+ +

+drawProject

+
+public java.util.List<IDIYComponent<?>> drawProject(java.awt.Graphics2D g2d,
+                                                    Project project,
+                                                    java.util.Set<DrawOption> drawOptions,
+                                                    IComponentFiler filter,
+                                                    java.awt.Rectangle selectionRect,
+                                                    java.util.List<IDIYComponent<?>> selectedComponents,
+                                                    java.util.Set<IDIYComponent<?>> lockedComponents,
+                                                    java.util.Set<IDIYComponent<?>> groupedComponents,
+                                                    java.util.List<java.awt.Point> controlPointSlot,
+                                                    java.util.List<IDIYComponent<?>> componentSlot,
+                                                    boolean dragInProgress)
+
+
Paints the project onto the canvas and returns the list of components that failed to draw. +

+

+
Parameters:
g2d -
project -
drawOptions -
filter -
selectionRect -
selectedComponents -
lockedComponents -
groupedComponents -
controlPointSlot -
componentSlot -
dragInProgress - +
Returns:
+
+
+
+ +

+getZoomLevel

+
+public double getZoomLevel()
+
+
+
+
+
+
+ +

+setZoomLevel

+
+public void setZoomLevel(double zoomLevel)
+
+
+
+
+
+
+ +

+invalidateComponent

+
+public void invalidateComponent(IDIYComponent<?> component)
+
+
+
+
+
+
+ +

+getComponentArea

+
+public java.awt.geom.Area getComponentArea(IDIYComponent<?> component)
+
+
+
+
+
+
+ +

+clearComponentAreaMap

+
+public void clearComponentAreaMap()
+
+
+
+
+
+
+ +

+findComponentsAt

+
+public java.util.List<IDIYComponent<?>> findComponentsAt(java.awt.Point point,
+                                                         Project project)
+
+
+
+
+
+
+ +

+getCanvasDimensions

+
+public java.awt.Dimension getCanvasDimensions(Project project,
+                                              java.lang.Double zoomLevel,
+                                              boolean useZoom)
+
+
+
+
+
+
+ +

+fireZoomChanged

+
+public void fireZoomChanged()
+
+
+
+
+
+
+ +

+getTheme

+
+public Theme getTheme()
+
+
+
+
+
+
+ +

+setTheme

+
+public void setTheme(Theme theme)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/presenter/InstantiationManager.html b/diylc/diylc-core/doc/org/diylc/presenter/InstantiationManager.html new file mode 100644 index 00000000..c3f77c84 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/presenter/InstantiationManager.html @@ -0,0 +1,621 @@ + + + + + + +InstantiationManager + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.presenter +
+Class InstantiationManager

+
+java.lang.Object
+  extended by org.diylc.presenter.InstantiationManager
+
+
+
+
public class InstantiationManager
extends java.lang.Object
+ + +

+Manages component instantiation. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static intMAX_RECENT_COMPONENTS + +
+           
+  + + + + + + + + + + +
+Constructor Summary
InstantiationManager() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringcreateUniqueName(ComponentType componentType, + Project currentProject) + +
+           
+ voidfillWithDefaultProperties(java.lang.Object object, + Template template) + +
+          Finds any properties that have default values and injects default values.
+ java.util.List<IDIYComponent<?>>getComponentSlot() + +
+           
+ ComponentTypegetComponentTypeSlot() + +
+           
+ java.awt.PointgetFirstControlPoint() + +
+           
+ java.awt.PointgetPotentialControlPoint() + +
+           
+ TemplategetTemplate() + +
+           
+ java.util.List<IDIYComponent<?>>instantiateComponent(ComponentType componentType, + Template template, + java.awt.Point point, + Project currentProject) + +
+           
+ voidinstatiatePointByPoint(java.awt.Point scaledPoint, + Project currentProject) + +
+           
+ voidloadComponentShapeFromTemplate(IDIYComponent<?> component, + Template template) + +
+          Uses stored control points from the template to shape component.
+ voidpasteComponents(java.util.List<IDIYComponent<?>> components, + java.awt.Point scaledPoint, + boolean snapToGrid, + Size gridSpacing) + +
+           
+ voidsetComponentTypeSlot(ComponentType componentTypeSlot, + Template template, + Project currentProject) + +
+           
+ voidtryToRotateComponentSlot() + +
+           
+ booleanupdatePointByPoint(java.awt.Point scaledPoint) + +
+          Updates component in the slot with the new second control point.
+ booleanupdateSingleClick(java.awt.Point scaledPoint, + boolean snapToGrid, + Size gridSpacing) + +
+          Updates location of component slot based on the new mouse location.
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+MAX_RECENT_COMPONENTS

+
+public static int MAX_RECENT_COMPONENTS
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+InstantiationManager

+
+public InstantiationManager()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getComponentTypeSlot

+
+public ComponentType getComponentTypeSlot()
+
+
+
+
+
+
+ +

+getTemplate

+
+public Template getTemplate()
+
+
+
+
+
+
+ +

+getComponentSlot

+
+public java.util.List<IDIYComponent<?>> getComponentSlot()
+
+
+
+
+
+
+ +

+getFirstControlPoint

+
+public java.awt.Point getFirstControlPoint()
+
+
+
+
+
+
+ +

+getPotentialControlPoint

+
+public java.awt.Point getPotentialControlPoint()
+
+
+
+
+
+
+ +

+setComponentTypeSlot

+
+public void setComponentTypeSlot(ComponentType componentTypeSlot,
+                                 Template template,
+                                 Project currentProject)
+                          throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+
+ +

+instatiatePointByPoint

+
+public void instatiatePointByPoint(java.awt.Point scaledPoint,
+                                   Project currentProject)
+                            throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+
+ +

+updatePointByPoint

+
+public boolean updatePointByPoint(java.awt.Point scaledPoint)
+
+
Updates component in the slot with the new second control point. +

+

+
Parameters:
scaledPoint - +
Returns:
true, if any change is made
+
+
+
+ +

+pasteComponents

+
+public void pasteComponents(java.util.List<IDIYComponent<?>> components,
+                            java.awt.Point scaledPoint,
+                            boolean snapToGrid,
+                            Size gridSpacing)
+
+
+
+
+
+
+ +

+updateSingleClick

+
+public boolean updateSingleClick(java.awt.Point scaledPoint,
+                                 boolean snapToGrid,
+                                 Size gridSpacing)
+
+
Updates location of component slot based on the new mouse location. +

+

+
Parameters:
scaledPoint -
snapToGrid -
gridSpacing - +
Returns:
true if we need to refresh the canvas
+
+
+
+ +

+instantiateComponent

+
+public java.util.List<IDIYComponent<?>> instantiateComponent(ComponentType componentType,
+                                                             Template template,
+                                                             java.awt.Point point,
+                                                             Project currentProject)
+                                                      throws java.lang.Exception
+
+
+ +
Throws: +
java.lang.Exception
+
+
+
+ +

+createUniqueName

+
+public java.lang.String createUniqueName(ComponentType componentType,
+                                         Project currentProject)
+
+
+
+
+
+
+ +

+fillWithDefaultProperties

+
+public void fillWithDefaultProperties(java.lang.Object object,
+                                      Template template)
+                               throws java.lang.IllegalArgumentException,
+                                      java.lang.IllegalAccessException,
+                                      java.lang.reflect.InvocationTargetException,
+                                      java.lang.SecurityException,
+                                      java.lang.NoSuchMethodException
+
+
Finds any properties that have default values and injects default values. Typically it should + be used for IDIYComponent and Project objects. +

+

+
Parameters:
object -
template - +
Throws: +
java.lang.IllegalArgumentException +
java.lang.IllegalAccessException +
java.lang.reflect.InvocationTargetException +
java.lang.NoSuchMethodException +
java.lang.SecurityException
+
+
+
+ +

+loadComponentShapeFromTemplate

+
+public void loadComponentShapeFromTemplate(IDIYComponent<?> component,
+                                           Template template)
+
+
Uses stored control points from the template to shape component. +

+

+
Parameters:
component -
template -
+
+
+
+ +

+tryToRotateComponentSlot

+
+public void tryToRotateComponentSlot()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/presenter/PCBLayerFiler.html b/diylc/diylc-core/doc/org/diylc/presenter/PCBLayerFiler.html new file mode 100644 index 00000000..dfdc36dc --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/presenter/PCBLayerFiler.html @@ -0,0 +1,258 @@ + + + + + + +PCBLayerFiler + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.presenter +
+Class PCBLayerFiler

+
+java.lang.Object
+  extended by org.diylc.presenter.PCBLayerFiler
+
+
+
All Implemented Interfaces:
IComponentFiler
+
+
+
+
public class PCBLayerFiler
extends java.lang.Object
implements IComponentFiler
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
PCBLayerFiler(PCBLayer layer) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ booleantestComponent(IDIYComponent<?> component) + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PCBLayerFiler

+
+public PCBLayerFiler(PCBLayer layer)
+
+
+ + + + + + + + +
+Method Detail
+ +

+testComponent

+
+public boolean testComponent(IDIYComponent<?> component)
+
+
+
Specified by:
testComponent in interface IComponentFiler
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/presenter/PointConverter.html b/diylc/diylc-core/doc/org/diylc/presenter/PointConverter.html new file mode 100644 index 00000000..f2abf4c7 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/presenter/PointConverter.html @@ -0,0 +1,317 @@ + + + + + + +PointConverter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.presenter +
+Class PointConverter

+
+java.lang.Object
+  extended by org.diylc.presenter.PointConverter
+
+
+
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
+
+
+
+
public class PointConverter
extends java.lang.Object
implements com.thoughtworks.xstream.converters.Converter
+ + +

+Serializes Point objects by converting coordinates from pixels to inches, thus avoiding + the resolution to affect point placement. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
PointConverter() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanConvert(java.lang.Class clazz) + +
+           
+ voidmarshal(java.lang.Object object, + com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, + com.thoughtworks.xstream.converters.MarshallingContext context) + +
+           
+ java.lang.Objectunmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, + com.thoughtworks.xstream.converters.UnmarshallingContext context) + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PointConverter

+
+public PointConverter()
+
+
+ + + + + + + + +
+Method Detail
+ +

+marshal

+
+public void marshal(java.lang.Object object,
+                    com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
+                    com.thoughtworks.xstream.converters.MarshallingContext context)
+
+
+
Specified by:
marshal in interface com.thoughtworks.xstream.converters.Converter
+
+
+
+
+
+
+ +

+unmarshal

+
+public java.lang.Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
+                                  com.thoughtworks.xstream.converters.UnmarshallingContext context)
+
+
+
Specified by:
unmarshal in interface com.thoughtworks.xstream.converters.Converter
+
+
+
+
+
+
+ +

+canConvert

+
+public boolean canConvert(java.lang.Class clazz)
+
+
+
Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/presenter/Presenter.html b/diylc/diylc-core/doc/org/diylc/presenter/Presenter.html new file mode 100644 index 00000000..27a6e87d --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/presenter/Presenter.html @@ -0,0 +1,1872 @@ + + + + + + +Presenter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.presenter +
+Class Presenter

+
+java.lang.Object
+  extended by org.diylc.presenter.Presenter
+
+
+
All Implemented Interfaces:
IKeyProcessor, IMouseProcessor, IPlugInPort, ISelectionProcessor, ITemplateProcessor
+
+
+
+
public class Presenter
extends java.lang.Object
implements IPlugInPort
+ + +

+The main presenter class, contains core app logic and drawing routines. +

+ +

+

+
Author:
+
Branislav Stojkovic
+
+
+ +

+ + + + + + + +
+Nested Class Summary
+  + + + + + + + +
Nested classes/interfaces inherited from interface org.diylc.common.ITemplateProcessor
ITemplateProcessor.TemplateAlreadyExistsException
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static org.diylc.appframework.update.VersionNumberCURRENT_VERSION + +
+           
+static java.lang.StringDEFAULTS_KEY_PREFIX + +
+           
+static java.util.List<IDIYComponent<?>>EMPTY_SELECTION + +
+           
+static intICON_SIZE + +
+           
+  + + + + + + + +
Fields inherited from interface org.diylc.common.IPlugInPort
ABNORMAL_EXIT_KEY, ANTI_ALIASING_KEY, AUTO_EDIT_KEY, AUTO_PADS_KEY, BUTTON1, BUTTON2, BUTTON3, CONTINUOUS_CREATION_KEY, DND_TOGGLE_SNAP, DND_TOGGLE_STICKY, EXPORT_GRID_KEY, HI_QUALITY_RENDER_KEY, METRIC_KEY, NOBUTTON, OUTLINE_KEY, RECENT_COMPONENTS_KEY, SNAP_TO_GRID_KEY, STICKY_POINTS_KEY, THEME_KEY, WHEEL_ZOOM_KEY
+  + + + + + + + +
Fields inherited from interface org.diylc.common.IKeyProcessor
VK_DOWN, VK_LEFT, VK_RIGHT, VK_UP
+  + + + + + + + +
Fields inherited from interface org.diylc.common.ITemplateProcessor
TEMPLATES_KEY
+  + + + + + + + + + + +
+Constructor Summary
Presenter(IView view) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanallowFileAction() + +
+          Shows a user dialog if there are changes to confirm that it's safe to proceed.
+ voidapplyPropertiesToProject(java.util.List<PropertyWrapper> properties) + +
+          Applies specified properties to the current project.
+ voidapplyTemplateToSelection(Template template) + +
+           
+ voidbringSelectionToFront() + +
+          Brings each of the selected components one step to front.
+ java.awt.geom.Point2DcalculateSelectionDimension() + +
+           
+ voidcreateNewProject() + +
+          Creates a new project.
+ voiddeleteSelectedComponents() + +
+          Deletes all the selected components from the project.
+ voiddeleteTemplate(java.lang.String categoryName, + java.lang.String componentTypeName, + java.lang.String templateName) + +
+           
+ voiddispose() + +
+           
+ voiddragActionChanged(int dragAction) + +
+          Changes the current drag action during the dragging.
+ voiddragEnded(java.awt.Point point) + +
+          Notification that drag has been ended in the specified point.
+ booleandragOver(java.awt.Point point) + +
+          Checks if it's possible to drop over the specified point.
+ voiddragStarted(java.awt.Point point, + int dragAction) + +
+          Notification that drag has been started from the specified point.
+ voiddraw(java.awt.Graphics2D g2d, + java.util.Set<DrawOption> drawOptions, + IComponentFiler filter) + +
+          Draws project on the provided Graphics2D.
+ voideditSelection() + +
+           
+ voidexpandSelection(ExpansionMode expansionMode) + +
+          Expands the current selection to include surrounding components.
+ java.util.List<IDIYComponent<?>>findComponentsAt(java.awt.Point point) + +
+          Finds all components at the specified location, sorted by z-index from top to bottom.
+ java.util.List<IDIYComponent<?>>findComponentsAtScaled(java.awt.Point point) + +
+          Finds all components whose areas include the specified Point.
+ java.lang.Double[]getAvailableZoomLevels() + +
+           
+ java.awt.DimensiongetCanvasDimensions(boolean useZoom) + +
+          Returns size of the canvas that takes project dimensions into account as well as zoom level.
+ java.util.Map<java.lang.String,java.util.List<ComponentType>>getComponentTypes() + +
+          Returns all available ComponentTypes classified by category.
+ java.lang.StringgetCurrentFileName() + +
+           
+ ProjectgetCurrentProject() + +
+          Returns an instance of currently loaded project.
+ org.diylc.appframework.update.VersionNumbergetCurrentVersionNumber() + +
+          Returns current version number.
+ java.awt.CursorgetCursorAt(java.awt.Point point) + +
+          Returns an instance of Cursor that should be used at the specified location.
+ java.util.List<PropertyWrapper>getMutualSelectionProperties() + +
+           
+ ComponentTypegetNewComponentTypeSlot() + +
+          Gets the current new component slot.
+ java.util.List<PropertyWrapper>getProjectProperties() + +
+           
+ java.util.List<IDIYComponent<?>>getSelectedComponents() + +
+          Returns the current ComponentTransferable.
+ ThemegetSelectedTheme() + +
+           
+ java.util.List<Template>getTemplatesFor(java.lang.String categoryName, + java.lang.String componentTypeName) + +
+           
+ java.util.List<Template>getTemplatesForSelection() + +
+           
+ doublegetZoomLevel() + +
+          Returns current zoom level where zoomLevel = 1.0d means 100%.
+ voidgroupSelectedComponents() + +
+          Groups all selected components.
+ voidinstallPlugin(IPlugIn plugIn) + +
+           
+ booleanisProjectModified() + +
+           
+ booleankeyPressed(int key, + boolean ctrlDown, + boolean shiftDown, + boolean altDown) + +
+          Notifies the presenter that a key hes been pressed on the canvas.
+ voidloadProject(Project project, + boolean freshStart) + +
+          Loads specified Project.
+ voidloadProjectFromFile(java.lang.String fileName) + +
+          Loads a project from the specified file.
+ voidmouseClicked(java.awt.Point point, + int button, + boolean ctrlDown, + boolean shiftDown, + boolean altDown, + int clickCount) + +
+          Notifies the presenter that mouse is clicked.
+ voidmouseMoved(java.awt.Point point, + boolean ctrlDown, + boolean shiftDown, + boolean altDown) + +
+          Notifies the presenter that mouse is moved.
+ voidpasteComponents(java.util.List<IDIYComponent<?>> components) + +
+          Adds a list of components to the project.
+ voidrefresh() + +
+          Causes the display to refresh.
+ voidrenumberSelectedComponents(boolean xAxisFirst) + +
+          Renumbers all the selected components.
+ voidrotateSelection(int direction) + +
+          Rotates selection for 90 degrees.
+ voidsaveProjectToFile(java.lang.String fileName, + boolean isBackup) + +
+          Saves the current project into the specified file.
+ voidsaveSelectedComponentAsTemplate(java.lang.String templateName) + +
+           
+ voidselectAll(int layer) + +
+          Selects all components in the project.
+ voidsendSelectionToBack() + +
+          Sends each of the selected components one step back.
+ voidsetLayerLocked(int layerZOrder, + boolean locked) + +
+          Locks or unlocks the specified layer.
+ voidsetMetric(boolean isMetric) + +
+          Changes default size notation, true for metric, false for imperial.
+ voidsetNewComponentTypeSlot(ComponentType componentType, + Template template) + +
+          Sets the new component slot.
+ voidsetProjectDefaultPropertyValue(java.lang.String propertyName, + java.lang.Object value) + +
+          Sets default value for the specified property name for projects.
+ voidsetSelectedTheme(Theme theme) + +
+          Changes the current theme.
+ voidsetSelectionDefaultPropertyValue(java.lang.String propertyName, + java.lang.Object value) + +
+          Sets default value for the specified property name for currently selected component types.
+ voidsetZoomLevel(double zoomLevel) + +
+          Changes current zoom level where zoomLevel = 1.0d means 100%
+ voidungroupSelectedComponents() + +
+          Ungroups all selected components.
+ voidupdateSelection(java.util.List<IDIYComponent<?>> newSelection) + +
+          Updates the selection with the specified list of component.
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+CURRENT_VERSION

+
+public static org.diylc.appframework.update.VersionNumber CURRENT_VERSION
+
+
+
+
+
+ +

+DEFAULTS_KEY_PREFIX

+
+public static final java.lang.String DEFAULTS_KEY_PREFIX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EMPTY_SELECTION

+
+public static final java.util.List<IDIYComponent<?>> EMPTY_SELECTION
+
+
+
+
+
+ +

+ICON_SIZE

+
+public static final int ICON_SIZE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Presenter

+
+public Presenter(IView view)
+
+
+ + + + + + + + +
+Method Detail
+ +

+installPlugin

+
+public void installPlugin(IPlugIn plugIn)
+
+
+
+
+
+
+
+
+
+ +

+dispose

+
+public void dispose()
+
+
+
+
+
+
+
+
+
+ +

+getAvailableZoomLevels

+
+public java.lang.Double[] getAvailableZoomLevels()
+
+
+
Specified by:
getAvailableZoomLevels in interface IPlugInPort
+
+
+
+
+
+
+ +

+getZoomLevel

+
+public double getZoomLevel()
+
+
Description copied from interface: IPlugInPort
+
Returns current zoom level where zoomLevel = 1.0d means 100%. +

+

+
Specified by:
getZoomLevel in interface IPlugInPort
+
+
+ +
Returns:
current zoom level
+
+
+
+ +

+setZoomLevel

+
+public void setZoomLevel(double zoomLevel)
+
+
Description copied from interface: IPlugInPort
+
Changes current zoom level where zoomLevel = 1.0d means 100% +

+

+
Specified by:
setZoomLevel in interface IPlugInPort
+
+
+
Parameters:
zoomLevel - new zoom leve
+
+
+
+ +

+getCursorAt

+
+public java.awt.Cursor getCursorAt(java.awt.Point point)
+
+
Description copied from interface: IPlugInPort
+
Returns an instance of Cursor that should be used at the specified location. + + Note: point coordinates are scaled for zoom factor. +

+

+
Specified by:
getCursorAt in interface IPlugInPort
+
+
+ +
Returns:
cursor
+
+
+
+ +

+getCanvasDimensions

+
+public java.awt.Dimension getCanvasDimensions(boolean useZoom)
+
+
Description copied from interface: IPlugInPort
+
Returns size of the canvas that takes project dimensions into account as well as zoom level. + Each dimension is calculated as the product of the actual size and the number of pixels per + unit. If useZoom is set to true, the result is scaled by zoom factor. +

+

+
Specified by:
getCanvasDimensions in interface IPlugInPort
+
+
+ +
Returns:
canvas dimensions
+
+
+
+ +

+getCurrentProject

+
+public Project getCurrentProject()
+
+
Description copied from interface: IPlugInPort
+
Returns an instance of currently loaded project. +

+

+
Specified by:
getCurrentProject in interface IPlugInPort
+
+
+ +
Returns:
+
+
+
+ +

+loadProject

+
+public void loadProject(Project project,
+                        boolean freshStart)
+
+
Description copied from interface: IPlugInPort
+
Loads specified Project. +

+

+
Specified by:
loadProject in interface IPlugInPort
+
+
+
+
+
+
+ +

+createNewProject

+
+public void createNewProject()
+
+
Description copied from interface: IPlugInPort
+
Creates a new project. +

+

+
Specified by:
createNewProject in interface IPlugInPort
+
+
+
+
+
+
+ +

+loadProjectFromFile

+
+public void loadProjectFromFile(java.lang.String fileName)
+
+
Description copied from interface: IPlugInPort
+
Loads a project from the specified file. +

+

+
Specified by:
loadProjectFromFile in interface IPlugInPort
+
+
+
+
+
+
+ +

+allowFileAction

+
+public boolean allowFileAction()
+
+
Description copied from interface: IPlugInPort
+
Shows a user dialog if there are changes to confirm that it's safe to proceed. +

+

+
Specified by:
allowFileAction in interface IPlugInPort
+
+
+ +
Returns:
true, if file actions (new, open, close) can be taken
+
+
+
+ +

+saveProjectToFile

+
+public void saveProjectToFile(java.lang.String fileName,
+                              boolean isBackup)
+
+
Description copied from interface: IPlugInPort
+
Saves the current project into the specified file. +

+

+
Specified by:
saveProjectToFile in interface IPlugInPort
+
+
+
+
+
+
+ +

+getCurrentFileName

+
+public java.lang.String getCurrentFileName()
+
+
+
Specified by:
getCurrentFileName in interface IPlugInPort
+
+
+ +
Returns:
the current file name.
+
+
+
+ +

+isProjectModified

+
+public boolean isProjectModified()
+
+
+
Specified by:
isProjectModified in interface IPlugInPort
+
+
+ +
Returns:
true if the current project is modified.
+
+
+
+ +

+getComponentTypes

+
+public java.util.Map<java.lang.String,java.util.List<ComponentType>> getComponentTypes()
+
+
Description copied from interface: IPlugInPort
+
Returns all available ComponentTypes classified by category. Result is a Map + between category name to a List of all ComponentTypes that share that category + name. +

+

+
Specified by:
getComponentTypes in interface IPlugInPort
+
+
+ +
Returns:
+
+
+
+ +

+draw

+
+public void draw(java.awt.Graphics2D g2d,
+                 java.util.Set<DrawOption> drawOptions,
+                 IComponentFiler filter)
+
+
Description copied from interface: IPlugInPort
+
Draws project on the provided Graphics2D. If the provided filter is not null, it will + be used to filter the components that are shown. +

+

+
Specified by:
draw in interface IPlugInPort
+
+
+
drawOptions - specific drawing options
+
+
+
+ +

+findComponentsAtScaled

+
+public java.util.List<IDIYComponent<?>> findComponentsAtScaled(java.awt.Point point)
+
+
Finds all components whose areas include the specified Point. Point is not + scaled by the zoom factor. Components that belong to locked layers are ignored. +

+

+
+
+
+ +
Returns:
+
+
+
+ +

+findComponentsAt

+
+public java.util.List<IDIYComponent<?>> findComponentsAt(java.awt.Point point)
+
+
Description copied from interface: ISelectionProcessor
+
Finds all components at the specified location, sorted by z-index from top to bottom. +

+

+
Specified by:
findComponentsAt in interface ISelectionProcessor
+
+
+ +
Returns:
+
+
+
+ +

+mouseClicked

+
+public void mouseClicked(java.awt.Point point,
+                         int button,
+                         boolean ctrlDown,
+                         boolean shiftDown,
+                         boolean altDown,
+                         int clickCount)
+
+
Description copied from interface: IMouseProcessor
+
Notifies the presenter that mouse is clicked. + + Note: point coordinates are display based, i.e. scaled for zoom factor. +

+

+
Specified by:
mouseClicked in interface IMouseProcessor
+
+
+
+
+
+
+ +

+keyPressed

+
+public boolean keyPressed(int key,
+                          boolean ctrlDown,
+                          boolean shiftDown,
+                          boolean altDown)
+
+
Description copied from interface: IKeyProcessor
+
Notifies the presenter that a key hes been pressed on the canvas. +

+

+
Specified by:
keyPressed in interface IKeyProcessor
+
+
+ +
Returns:
true if the event should be consumed
+
+
+
+ +

+editSelection

+
+public void editSelection()
+
+
+
Specified by:
editSelection in interface IPlugInPort
+
+
+
+
+
+
+ +

+mouseMoved

+
+public void mouseMoved(java.awt.Point point,
+                       boolean ctrlDown,
+                       boolean shiftDown,
+                       boolean altDown)
+
+
Description copied from interface: IMouseProcessor
+
Notifies the presenter that mouse is moved. + + Note: point coordinates are display based, i.e. scaled for zoom factor. +

+

+
Specified by:
mouseMoved in interface IMouseProcessor
+
+
+
+
+
+
+ +

+getSelectedComponents

+
+public java.util.List<IDIYComponent<?>> getSelectedComponents()
+
+
Description copied from interface: ISelectionProcessor
+
Returns the current ComponentTransferable. +

+

+
Specified by:
getSelectedComponents in interface ISelectionProcessor
+
+
+ +
Returns:
+
+
+
+ +

+selectAll

+
+public void selectAll(int layer)
+
+
Description copied from interface: ISelectionProcessor
+
Selects all components in the project. +

+

+
Specified by:
selectAll in interface ISelectionProcessor
+
+
+
+
+
+
+ +

+getCurrentVersionNumber

+
+public org.diylc.appframework.update.VersionNumber getCurrentVersionNumber()
+
+
Description copied from interface: IPlugInPort
+
Returns current version number. +

+

+
Specified by:
getCurrentVersionNumber in interface IPlugInPort
+
+
+ +
Returns:
+
+
+
+ +

+dragStarted

+
+public void dragStarted(java.awt.Point point,
+                        int dragAction)
+
+
Description copied from interface: IMouseProcessor
+
Notification that drag has been started from the specified point. + + Note: point coordinates are scaled for zoom factor. +

+

+
Specified by:
dragStarted in interface IMouseProcessor
+
+
+
+
+
+
+ +

+dragActionChanged

+
+public void dragActionChanged(int dragAction)
+
+
Description copied from interface: IMouseProcessor
+
Changes the current drag action during the dragging. +

+

+
Specified by:
dragActionChanged in interface IMouseProcessor
+
+
+
+
+
+
+ +

+dragOver

+
+public boolean dragOver(java.awt.Point point)
+
+
Description copied from interface: IMouseProcessor
+
Checks if it's possible to drop over the specified point. + + Note: point coordinates are scaled for zoom factor. +

+

+
Specified by:
dragOver in interface IMouseProcessor
+
+
+ +
Returns:
+
+
+
+ +

+rotateSelection

+
+public void rotateSelection(int direction)
+
+
Description copied from interface: ISelectionProcessor
+
Rotates selection for 90 degrees. +

+

+
Specified by:
rotateSelection in interface ISelectionProcessor
+
+
+
Parameters:
direction - 1 for clockwise, -1 for counter-clockwise
+
+
+
+ +

+dragEnded

+
+public void dragEnded(java.awt.Point point)
+
+
Description copied from interface: IMouseProcessor
+
Notification that drag has been ended in the specified point. + + Note: point coordinates are scaled for zoom factor. +

+

+
Specified by:
dragEnded in interface IMouseProcessor
+
+
+
+
+
+
+ +

+pasteComponents

+
+public void pasteComponents(java.util.List<IDIYComponent<?>> components)
+
+
Description copied from interface: IPlugInPort
+
Adds a list of components to the project. +

+

+
Specified by:
pasteComponents in interface IPlugInPort
+
+
+
+
+
+
+ +

+deleteSelectedComponents

+
+public void deleteSelectedComponents()
+
+
Description copied from interface: IPlugInPort
+
Deletes all the selected components from the project. +

+

+
Specified by:
deleteSelectedComponents in interface IPlugInPort
+
+
+
+
+
+
+ +

+setSelectionDefaultPropertyValue

+
+public void setSelectionDefaultPropertyValue(java.lang.String propertyName,
+                                             java.lang.Object value)
+
+
Description copied from interface: IPlugInPort
+
Sets default value for the specified property name for currently selected component types. +

+

+
Specified by:
setSelectionDefaultPropertyValue in interface IPlugInPort
+
+
+
Parameters:
propertyName - display name for property
value - new default value, must not be null
+
+
+
+ +

+setProjectDefaultPropertyValue

+
+public void setProjectDefaultPropertyValue(java.lang.String propertyName,
+                                           java.lang.Object value)
+
+
Description copied from interface: IPlugInPort
+
Sets default value for the specified property name for projects. +

+

+
Specified by:
setProjectDefaultPropertyValue in interface IPlugInPort
+
+
+
Parameters:
propertyName - display name for property
value - new default value, must not be null
+
+
+
+ +

+setMetric

+
+public void setMetric(boolean isMetric)
+
+
Description copied from interface: IPlugInPort
+
Changes default size notation, true for metric, false for imperial. +

+

+
Specified by:
setMetric in interface IPlugInPort
+
+
+
+
+
+
+ +

+groupSelectedComponents

+
+public void groupSelectedComponents()
+
+
Description copied from interface: IPlugInPort
+
Groups all selected components. +

+

+
Specified by:
groupSelectedComponents in interface IPlugInPort
+
+
+
+
+
+
+ +

+ungroupSelectedComponents

+
+public void ungroupSelectedComponents()
+
+
Description copied from interface: IPlugInPort
+
Ungroups all selected components. +

+

+
Specified by:
ungroupSelectedComponents in interface IPlugInPort
+
+
+
+
+
+
+ +

+setLayerLocked

+
+public void setLayerLocked(int layerZOrder,
+                           boolean locked)
+
+
Description copied from interface: IPlugInPort
+
Locks or unlocks the specified layer. All components within +- 0.5 range will be affected by + the change as well. +

+

+
Specified by:
setLayerLocked in interface IPlugInPort
+
+
+
+
+
+
+ +

+sendSelectionToBack

+
+public void sendSelectionToBack()
+
+
Description copied from interface: IPlugInPort
+
Sends each of the selected components one step back. +

+

+
Specified by:
sendSelectionToBack in interface IPlugInPort
+
+
+
+
+
+
+ +

+bringSelectionToFront

+
+public void bringSelectionToFront()
+
+
Description copied from interface: IPlugInPort
+
Brings each of the selected components one step to front. +

+

+
Specified by:
bringSelectionToFront in interface IPlugInPort
+
+
+
+
+
+
+ +

+refresh

+
+public void refresh()
+
+
Description copied from interface: IPlugInPort
+
Causes the display to refresh. +

+

+
Specified by:
refresh in interface IPlugInPort
+
+
+
+
+
+
+ +

+getSelectedTheme

+
+public Theme getSelectedTheme()
+
+
+
Specified by:
getSelectedTheme in interface IPlugInPort
+
+
+ +
Returns:
currently selected theme.
+
+
+
+ +

+setSelectedTheme

+
+public void setSelectedTheme(Theme theme)
+
+
Description copied from interface: IPlugInPort
+
Changes the current theme. +

+

+
Specified by:
setSelectedTheme in interface IPlugInPort
+
+
+
+
+
+
+ +

+renumberSelectedComponents

+
+public void renumberSelectedComponents(boolean xAxisFirst)
+
+
Description copied from interface: IPlugInPort
+
Renumbers all the selected components. +

+

+
Specified by:
renumberSelectedComponents in interface IPlugInPort
+
+
+
+
+
+
+ +

+updateSelection

+
+public void updateSelection(java.util.List<IDIYComponent<?>> newSelection)
+
+
Description copied from interface: ISelectionProcessor
+
Updates the selection with the specified list of component. Also, updates control point map + with all components that are stuck to the newly selected components. +

+

+
Specified by:
updateSelection in interface ISelectionProcessor
+
+
+
+
+
+
+ +

+expandSelection

+
+public void expandSelection(ExpansionMode expansionMode)
+
+
Description copied from interface: ISelectionProcessor
+
Expands the current selection to include surrounding components. Options are controlled with + expansionMode flag. +

+

+
Specified by:
expandSelection in interface ISelectionProcessor
+
+
+
+
+
+
+ +

+calculateSelectionDimension

+
+public java.awt.geom.Point2D calculateSelectionDimension()
+
+
+
Specified by:
calculateSelectionDimension in interface IPlugInPort
+
+
+ +
Returns:
selection size expressed in either inches or centimeters, based on the user preference.
+
+
+
+ +

+getMutualSelectionProperties

+
+public java.util.List<PropertyWrapper> getMutualSelectionProperties()
+
+
+
Specified by:
getMutualSelectionProperties in interface IPlugInPort
+
+
+ +
Returns:
a list of properties that are mutual for all the selected components. Resulting list + may be empty if selected components do not have mutual properties or can be null if the + selection is empty.
+
+
+
+ +

+getProjectProperties

+
+public java.util.List<PropertyWrapper> getProjectProperties()
+
+
+
Specified by:
getProjectProperties in interface IPlugInPort
+
+
+ +
Returns:
a list of editable properties of the current project.
+
+
+
+ +

+applyPropertiesToProject

+
+public void applyPropertiesToProject(java.util.List<PropertyWrapper> properties)
+
+
Description copied from interface: IPlugInPort
+
Applies specified properties to the current project. +

+

+
Specified by:
applyPropertiesToProject in interface IPlugInPort
+
+
+
+
+
+
+ +

+getNewComponentTypeSlot

+
+public ComponentType getNewComponentTypeSlot()
+
+
Description copied from interface: IPlugInPort
+
Gets the current new component slot. +

+

+
Specified by:
getNewComponentTypeSlot in interface IPlugInPort
+
+
+
+
+
+
+ +

+setNewComponentTypeSlot

+
+public void setNewComponentTypeSlot(ComponentType componentType,
+                                    Template template)
+
+
Description copied from interface: IPlugInPort
+
Sets the new component slot. Specified component type will be used to instantiate new + component. +

+

+
Specified by:
setNewComponentTypeSlot in interface IPlugInPort
+
+
+
+
+
+
+ +

+saveSelectedComponentAsTemplate

+
+public void saveSelectedComponentAsTemplate(java.lang.String templateName)
+
+
+
Specified by:
saveSelectedComponentAsTemplate in interface ITemplateProcessor
+
+
+
+
+
+
+ +

+getTemplatesFor

+
+public java.util.List<Template> getTemplatesFor(java.lang.String categoryName,
+                                                java.lang.String componentTypeName)
+
+
+
Specified by:
getTemplatesFor in interface ITemplateProcessor
+
+
+
+
+
+
+ +

+getTemplatesForSelection

+
+public java.util.List<Template> getTemplatesForSelection()
+
+
+
Specified by:
getTemplatesForSelection in interface ITemplateProcessor
+
+
+
+
+
+
+ +

+applyTemplateToSelection

+
+public void applyTemplateToSelection(Template template)
+
+
+
Specified by:
applyTemplateToSelection in interface ITemplateProcessor
+
+
+
+
+
+
+ +

+deleteTemplate

+
+public void deleteTemplate(java.lang.String categoryName,
+                           java.lang.String componentTypeName,
+                           java.lang.String templateName)
+
+
+
Specified by:
deleteTemplate in interface ITemplateProcessor
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/presenter/ProjectFileManager.html b/diylc/diylc-core/doc/org/diylc/presenter/ProjectFileManager.html new file mode 100644 index 00000000..36aed864 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/presenter/ProjectFileManager.html @@ -0,0 +1,401 @@ + + + + + + +ProjectFileManager + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.presenter +
+Class ProjectFileManager

+
+java.lang.Object
+  extended by org.diylc.presenter.ProjectFileManager
+
+
+
+
public class ProjectFileManager
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ProjectFileManager(org.diylc.appframework.simplemq.MessageDispatcher<EventType> messageDispatcher) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ ProjectdeserializeProjectFromFile(java.lang.String fileName, + java.util.List<java.lang.String> warnings) + +
+           
+ voidfireFileStatusChanged() + +
+           
+ java.lang.StringgetCurrentFileName() + +
+           
+ java.util.List<IOldFileParser>getParsers() + +
+           
+ booleanisModified() + +
+           
+ voidnotifyFileChange() + +
+           
+ voidserializeProjectToFile(Project project, + java.lang.String fileName, + boolean isBackup) + +
+           
+ voidstartNewFile() + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProjectFileManager

+
+public ProjectFileManager(org.diylc.appframework.simplemq.MessageDispatcher<EventType> messageDispatcher)
+
+
+ + + + + + + + +
+Method Detail
+ +

+startNewFile

+
+public void startNewFile()
+
+
+
+
+
+
+ +

+getParsers

+
+public java.util.List<IOldFileParser> getParsers()
+
+
+
+
+
+
+ +

+serializeProjectToFile

+
+public void serializeProjectToFile(Project project,
+                                   java.lang.String fileName,
+                                   boolean isBackup)
+                            throws java.io.IOException
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+deserializeProjectFromFile

+
+public Project deserializeProjectFromFile(java.lang.String fileName,
+                                          java.util.List<java.lang.String> warnings)
+                                   throws org.xml.sax.SAXException,
+                                          java.io.IOException,
+                                          javax.xml.parsers.ParserConfigurationException
+
+
+ +
Throws: +
org.xml.sax.SAXException +
java.io.IOException +
javax.xml.parsers.ParserConfigurationException
+
+
+
+ +

+notifyFileChange

+
+public void notifyFileChange()
+
+
+
+
+
+
+ +

+getCurrentFileName

+
+public java.lang.String getCurrentFileName()
+
+
+
+
+
+
+ +

+isModified

+
+public boolean isModified()
+
+
+
+
+
+
+ +

+fireFileStatusChanged

+
+public void fireFileStatusChanged()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/presenter/class-use/CalcUtils.html b/diylc/diylc-core/doc/org/diylc/presenter/class-use/CalcUtils.html new file mode 100644 index 00000000..9768f5ee --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/presenter/class-use/CalcUtils.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.presenter.CalcUtils + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.presenter.CalcUtils

+
+No usage of org.diylc.presenter.CalcUtils +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/presenter/class-use/ComparatorFactory.html b/diylc/diylc-core/doc/org/diylc/presenter/class-use/ComparatorFactory.html new file mode 100644 index 00000000..d657c46c --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/presenter/class-use/ComparatorFactory.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Class org.diylc.presenter.ComparatorFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.presenter.ComparatorFactory

+
+ + + + + + + + + +
+Packages that use ComparatorFactory
org.diylc.presenter  
+  +

+ + + + + +
+Uses of ComparatorFactory in org.diylc.presenter
+  +

+ + + + + + + + + +
Methods in org.diylc.presenter that return ComparatorFactory
+static ComparatorFactoryComparatorFactory.getInstance() + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/presenter/class-use/ComponentProcessor.html b/diylc/diylc-core/doc/org/diylc/presenter/class-use/ComponentProcessor.html new file mode 100644 index 00000000..ea00e90c --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/presenter/class-use/ComponentProcessor.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Class org.diylc.presenter.ComponentProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.presenter.ComponentProcessor

+
+ + + + + + + + + +
+Packages that use ComponentProcessor
org.diylc.presenter  
+  +

+ + + + + +
+Uses of ComponentProcessor in org.diylc.presenter
+  +

+ + + + + + + + + +
Methods in org.diylc.presenter that return ComponentProcessor
+static ComponentProcessorComponentProcessor.getInstance() + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/presenter/class-use/DrawingManager.html b/diylc/diylc-core/doc/org/diylc/presenter/class-use/DrawingManager.html new file mode 100644 index 00000000..093b8365 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/presenter/class-use/DrawingManager.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.presenter.DrawingManager + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.presenter.DrawingManager

+
+No usage of org.diylc.presenter.DrawingManager +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/presenter/class-use/InstantiationManager.html b/diylc/diylc-core/doc/org/diylc/presenter/class-use/InstantiationManager.html new file mode 100644 index 00000000..144144a2 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/presenter/class-use/InstantiationManager.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.presenter.InstantiationManager + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.presenter.InstantiationManager

+
+No usage of org.diylc.presenter.InstantiationManager +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/presenter/class-use/PCBLayerFiler.html b/diylc/diylc-core/doc/org/diylc/presenter/class-use/PCBLayerFiler.html new file mode 100644 index 00000000..af976720 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/presenter/class-use/PCBLayerFiler.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.presenter.PCBLayerFiler + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.presenter.PCBLayerFiler

+
+No usage of org.diylc.presenter.PCBLayerFiler +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/presenter/class-use/PointConverter.html b/diylc/diylc-core/doc/org/diylc/presenter/class-use/PointConverter.html new file mode 100644 index 00000000..59e01c82 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/presenter/class-use/PointConverter.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.presenter.PointConverter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.presenter.PointConverter

+
+No usage of org.diylc.presenter.PointConverter +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/presenter/class-use/Presenter.html b/diylc/diylc-core/doc/org/diylc/presenter/class-use/Presenter.html new file mode 100644 index 00000000..013bae99 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/presenter/class-use/Presenter.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.presenter.Presenter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.presenter.Presenter

+
+No usage of org.diylc.presenter.Presenter +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/presenter/class-use/ProjectFileManager.html b/diylc/diylc-core/doc/org/diylc/presenter/class-use/ProjectFileManager.html new file mode 100644 index 00000000..1b37bbab --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/presenter/class-use/ProjectFileManager.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.presenter.ProjectFileManager + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.presenter.ProjectFileManager

+
+No usage of org.diylc.presenter.ProjectFileManager +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/presenter/package-frame.html b/diylc/diylc-core/doc/org/diylc/presenter/package-frame.html new file mode 100644 index 00000000..7ccb0d1c --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/presenter/package-frame.html @@ -0,0 +1,48 @@ + + + + + + +org.diylc.presenter + + + + + + + + + + + +org.diylc.presenter + + + + +
+Classes  + +
+CalcUtils +
+ComparatorFactory +
+ComponentProcessor +
+DrawingManager +
+InstantiationManager +
+PCBLayerFiler +
+PointConverter +
+Presenter +
+ProjectFileManager
+ + + + diff --git a/diylc/diylc-core/doc/org/diylc/presenter/package-summary.html b/diylc/diylc-core/doc/org/diylc/presenter/package-summary.html new file mode 100644 index 00000000..110dff2d --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/presenter/package-summary.html @@ -0,0 +1,191 @@ + + + + + + +org.diylc.presenter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.diylc.presenter +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
CalcUtils 
ComparatorFactory 
ComponentProcessorUtility class with component processing methods.
DrawingManagerUtility that deals with painting Project on the Graphics2D and keeps areas taken + by each drawn component.
InstantiationManagerManages component instantiation.
PCBLayerFiler 
PointConverterSerializes Point objects by converting coordinates from pixels to inches, thus avoiding + the resolution to affect point placement.
PresenterThe main presenter class, contains core app logic and drawing routines.
ProjectFileManager 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/presenter/package-tree.html b/diylc/diylc-core/doc/org/diylc/presenter/package-tree.html new file mode 100644 index 00000000..1c51d708 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/presenter/package-tree.html @@ -0,0 +1,156 @@ + + + + + + +org.diylc.presenter Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.diylc.presenter +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/presenter/package-use.html b/diylc/diylc-core/doc/org/diylc/presenter/package-use.html new file mode 100644 index 00000000..43dbad2a --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/presenter/package-use.html @@ -0,0 +1,176 @@ + + + + + + +Uses of Package org.diylc.presenter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
org.diylc.presenter

+
+ + + + + + + + + +
+Packages that use org.diylc.presenter
org.diylc.presenter  
+  +

+ + + + + + + + + + + +
+Classes in org.diylc.presenter used by org.diylc.presenter
ComparatorFactory + +
+           
ComponentProcessor + +
+          Utility class with component processing methods.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/utils/BomEntry.html b/diylc/diylc-core/doc/org/diylc/utils/BomEntry.html new file mode 100644 index 00000000..cad380b8 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/utils/BomEntry.html @@ -0,0 +1,454 @@ + + + + + + +BomEntry + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.utils +
+Class BomEntry

+
+java.lang.Object
+  extended by org.diylc.utils.BomEntry
+
+
+
+
public class BomEntry
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
BomEntry(java.lang.String type, + java.lang.String name, + java.lang.String value, + int quantity) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(java.lang.Object obj) + +
+           
+ java.lang.StringgetName() + +
+           
+ java.lang.StringgetNotes() + +
+           
+ java.lang.IntegergetQuantity() + +
+           
+ java.lang.StringgetType() + +
+           
+ java.lang.StringgetValue() + +
+           
+ inthashCode() + +
+           
+ voidsetName(java.lang.String name) + +
+           
+ voidsetNotes(java.lang.String notes) + +
+           
+ voidsetQuantity(java.lang.Integer quantity) + +
+           
+ voidsetValue(java.lang.String value) + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BomEntry

+
+public BomEntry(java.lang.String type,
+                java.lang.String name,
+                java.lang.String value,
+                int quantity)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getType

+
+public java.lang.String getType()
+
+
+
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
+
+
+
+
+ +

+setName

+
+public void setName(java.lang.String name)
+
+
+
+
+
+
+ +

+getValue

+
+public java.lang.String getValue()
+
+
+
+
+
+
+ +

+setValue

+
+public void setValue(java.lang.String value)
+
+
+
+
+
+
+ +

+getQuantity

+
+public java.lang.Integer getQuantity()
+
+
+
+
+
+
+ +

+setQuantity

+
+public void setQuantity(java.lang.Integer quantity)
+
+
+
+
+
+
+ +

+getNotes

+
+public java.lang.String getNotes()
+
+
+
+
+
+
+ +

+setNotes

+
+public void setNotes(java.lang.String notes)
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/utils/BomMaker.html b/diylc/diylc-core/doc/org/diylc/utils/BomMaker.html new file mode 100644 index 00000000..a8660882 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/utils/BomMaker.html @@ -0,0 +1,238 @@ + + + + + + +BomMaker + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.utils +
+Class BomMaker

+
+java.lang.Object
+  extended by org.diylc.utils.BomMaker
+
+
+
+
public class BomMaker
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ java.util.List<BomEntry>createBom(java.util.List<IDIYComponent<?>> components) + +
+           
+static BomMakergetInstance() + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public static BomMaker getInstance()
+
+
+
+
+
+
+ +

+createBom

+
+public java.util.List<BomEntry> createBom(java.util.List<IDIYComponent<?>> components)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/utils/Constants.html b/diylc/diylc-core/doc/org/diylc/utils/Constants.html new file mode 100644 index 00000000..ac7098b1 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/utils/Constants.html @@ -0,0 +1,368 @@ + + + + + + +Constants + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.utils +
+Class Constants

+
+java.lang.Object
+  extended by org.diylc.utils.Constants
+
+
+
+
public class Constants
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.awt.ColorCANVAS_COLOR + +
+           
+static java.awt.StrokeDASHED_STROKE + +
+           
+static ThemeDEFAULT_THEME + +
+           
+static java.awt.ColorMULTI_VALUE_COLOR + +
+           
+static doublePIXEL_SIZE + +
+           
+static intPIXELS_PER_INCH + +
+           
+static java.awt.ColorTRANSPARENT_COLOR + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Constants() + +
+           
+  + + + + + + + +
+Method Summary
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+PIXELS_PER_INCH

+
+public static final int PIXELS_PER_INCH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PIXEL_SIZE

+
+public static final double PIXEL_SIZE
+
+
+
+
+
+ +

+CANVAS_COLOR

+
+public static java.awt.Color CANVAS_COLOR
+
+
+
+
+
+ +

+DASHED_STROKE

+
+public static final java.awt.Stroke DASHED_STROKE
+
+
+
+
+
+ +

+DEFAULT_THEME

+
+public static final Theme DEFAULT_THEME
+
+
+
+
+
+ +

+TRANSPARENT_COLOR

+
+public static final java.awt.Color TRANSPARENT_COLOR
+
+
+
+
+
+ +

+MULTI_VALUE_COLOR

+
+public static final java.awt.Color MULTI_VALUE_COLOR
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+Constants

+
+public Constants()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/utils/MemoryCleaner.html b/diylc/diylc-core/doc/org/diylc/utils/MemoryCleaner.html new file mode 100644 index 00000000..f045f6f3 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/utils/MemoryCleaner.html @@ -0,0 +1,252 @@ + + + + + + +MemoryCleaner + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.utils +
+Class MemoryCleaner

+
+java.lang.Object
+  extended by org.diylc.utils.MemoryCleaner
+
+
+
+
public class MemoryCleaner
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
MemoryCleaner() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidclean(java.lang.Object obj) + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MemoryCleaner

+
+public MemoryCleaner()
+
+
+ + + + + + + + +
+Method Detail
+ +

+clean

+
+public static void clean(java.lang.Object obj)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/utils/Pair.html b/diylc/diylc-core/doc/org/diylc/utils/Pair.html new file mode 100644 index 00000000..f169a20b --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/utils/Pair.html @@ -0,0 +1,273 @@ + + + + + + +Pair + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.diylc.utils +
+Class Pair<A,B>

+
+java.lang.Object
+  extended by org.diylc.utils.Pair<A,B>
+
+
+
+
public class Pair<A,B>
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Pair(A first, + B second) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ AgetFirst() + +
+           
+ BgetSecond() + +
+           
+  + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Pair

+
+public Pair(A first,
+            B second)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getFirst

+
+public A getFirst()
+
+
+
+
+
+
+ +

+getSecond

+
+public B getSecond()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/utils/class-use/BomEntry.html b/diylc/diylc-core/doc/org/diylc/utils/class-use/BomEntry.html new file mode 100644 index 00000000..8e746a9f --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/utils/class-use/BomEntry.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Class org.diylc.utils.BomEntry + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.utils.BomEntry

+
+ + + + + + + + + +
+Packages that use BomEntry
org.diylc.utils  
+  +

+ + + + + +
+Uses of BomEntry in org.diylc.utils
+  +

+ + + + + + + + + +
Methods in org.diylc.utils that return types with arguments of type BomEntry
+ java.util.List<BomEntry>BomMaker.createBom(java.util.List<IDIYComponent<?>> components) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/utils/class-use/BomMaker.html b/diylc/diylc-core/doc/org/diylc/utils/class-use/BomMaker.html new file mode 100644 index 00000000..ddd36e8a --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/utils/class-use/BomMaker.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Class org.diylc.utils.BomMaker + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.utils.BomMaker

+
+ + + + + + + + + +
+Packages that use BomMaker
org.diylc.utils  
+  +

+ + + + + +
+Uses of BomMaker in org.diylc.utils
+  +

+ + + + + + + + + +
Methods in org.diylc.utils that return BomMaker
+static BomMakerBomMaker.getInstance() + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/utils/class-use/Constants.html b/diylc/diylc-core/doc/org/diylc/utils/class-use/Constants.html new file mode 100644 index 00000000..a33b9e34 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/utils/class-use/Constants.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.utils.Constants + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.utils.Constants

+
+No usage of org.diylc.utils.Constants +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/utils/class-use/MemoryCleaner.html b/diylc/diylc-core/doc/org/diylc/utils/class-use/MemoryCleaner.html new file mode 100644 index 00000000..19e79705 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/utils/class-use/MemoryCleaner.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.utils.MemoryCleaner + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.utils.MemoryCleaner

+
+No usage of org.diylc.utils.MemoryCleaner +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/utils/class-use/Pair.html b/diylc/diylc-core/doc/org/diylc/utils/class-use/Pair.html new file mode 100644 index 00000000..4ae1ec48 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/utils/class-use/Pair.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class org.diylc.utils.Pair + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.diylc.utils.Pair

+
+No usage of org.diylc.utils.Pair +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/utils/package-frame.html b/diylc/diylc-core/doc/org/diylc/utils/package-frame.html new file mode 100644 index 00000000..bc5030a9 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/utils/package-frame.html @@ -0,0 +1,40 @@ + + + + + + +org.diylc.utils + + + + + + + + + + + +org.diylc.utils + + + + +
+Classes  + +
+BomEntry +
+BomMaker +
+Constants +
+MemoryCleaner +
+Pair
+ + + + diff --git a/diylc/diylc-core/doc/org/diylc/utils/package-summary.html b/diylc/diylc-core/doc/org/diylc/utils/package-summary.html new file mode 100644 index 00000000..369632dc --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/utils/package-summary.html @@ -0,0 +1,173 @@ + + + + + + +org.diylc.utils + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.diylc.utils +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
BomEntry 
BomMaker 
Constants 
MemoryCleaner 
Pair<A,B> 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/utils/package-tree.html b/diylc/diylc-core/doc/org/diylc/utils/package-tree.html new file mode 100644 index 00000000..6663f7db --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/utils/package-tree.html @@ -0,0 +1,153 @@ + + + + + + +org.diylc.utils Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.diylc.utils +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/org/diylc/utils/package-use.html b/diylc/diylc-core/doc/org/diylc/utils/package-use.html new file mode 100644 index 00000000..e5efac24 --- /dev/null +++ b/diylc/diylc-core/doc/org/diylc/utils/package-use.html @@ -0,0 +1,176 @@ + + + + + + +Uses of Package org.diylc.utils + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
org.diylc.utils

+
+ + + + + + + + + +
+Packages that use org.diylc.utils
org.diylc.utils  
+  +

+ + + + + + + + + + + +
+Classes in org.diylc.utils used by org.diylc.utils
BomEntry + +
+           
BomMaker + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/overview-frame.html b/diylc/diylc-core/doc/overview-frame.html new file mode 100644 index 00000000..5b5e39b4 --- /dev/null +++ b/diylc/diylc-core/doc/overview-frame.html @@ -0,0 +1,64 @@ + + + + + + +Overview List + + + + + + + + + + + + + + + +
+
+ + + + + +
All Classes +

+ +Packages +
+org.diylc.announcements +
+org.diylc.common +
+org.diylc.components +
+org.diylc.core +
+org.diylc.core.annotations +
+org.diylc.core.measures +
+org.diylc.images +
+org.diylc.parsing +
+org.diylc.plugins.cloud.model +
+org.diylc.plugins.cloud.presenter +
+org.diylc.presenter +
+org.diylc.utils +
+

+ +

+  + + diff --git a/diylc/diylc-core/doc/overview-summary.html b/diylc/diylc-core/doc/overview-summary.html new file mode 100644 index 00000000..d46ef74a --- /dev/null +++ b/diylc/diylc-core/doc/overview-summary.html @@ -0,0 +1,195 @@ + + + + + + +Overview + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages
org.diylc.announcements 
org.diylc.common 
org.diylc.components 
org.diylc.core 
org.diylc.core.annotations 
org.diylc.core.measures 
org.diylc.images 
org.diylc.parsing 
org.diylc.plugins.cloud.model 
org.diylc.plugins.cloud.presenter 
org.diylc.presenter 
org.diylc.utils 
+ +

+ 


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/overview-tree.html b/diylc/diylc-core/doc/overview-tree.html new file mode 100644 index 00000000..69d4695f --- /dev/null +++ b/diylc/diylc-core/doc/overview-tree.html @@ -0,0 +1,228 @@ + + + + + + +Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For All Packages

+
+
+
Package Hierarchies:
org.diylc.announcements, org.diylc.common, org.diylc.components, org.diylc.core, org.diylc.core.annotations, org.diylc.core.measures, org.diylc.images, org.diylc.parsing, org.diylc.plugins.cloud.model, org.diylc.plugins.cloud.presenter, org.diylc.presenter, org.diylc.utils
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +

+Annotation Type Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/package-list b/diylc/diylc-core/doc/package-list new file mode 100644 index 00000000..b5226733 --- /dev/null +++ b/diylc/diylc-core/doc/package-list @@ -0,0 +1,12 @@ +org.diylc.announcements +org.diylc.common +org.diylc.components +org.diylc.core +org.diylc.core.annotations +org.diylc.core.measures +org.diylc.images +org.diylc.parsing +org.diylc.plugins.cloud.model +org.diylc.plugins.cloud.presenter +org.diylc.presenter +org.diylc.utils diff --git a/diylc/diylc-core/doc/resources/inherit.gif b/diylc/diylc-core/doc/resources/inherit.gif new file mode 100644 index 00000000..c814867a Binary files /dev/null and b/diylc/diylc-core/doc/resources/inherit.gif differ diff --git a/diylc/diylc-core/doc/serialized-form.html b/diylc/diylc-core/doc/serialized-form.html new file mode 100644 index 00000000..34c5fcc9 --- /dev/null +++ b/diylc/diylc-core/doc/serialized-form.html @@ -0,0 +1,1164 @@ + + + + + + +Serialized Form + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Serialized Form

+
+
+ + + + + +
+Package org.diylc.announcements
+ +

+ + + + + +
+Class org.diylc.announcements.Announcement extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 1L + +

+ + + + + +
+Serialized Fields
+ +

+title

+
+java.lang.String title
+
+
+
+
+
+

+text

+
+java.lang.String text
+
+
+
+
+
+

+date

+
+java.lang.String date
+
+
+
+
+
+ + + + + +
+Package org.diylc.common
+ +

+ + + + + +
+Class org.diylc.common.BadPositionException extends java.lang.Exception implements Serializable
+ +

+serialVersionUID: 1L + +

+ +

+ + + + + +
+Class org.diylc.common.ITemplateProcessor.TemplateAlreadyExistsException extends java.lang.Exception implements Serializable
+ +

+serialVersionUID: 1L + +

+


+ + + + + +
+Package org.diylc.components
+ +

+ + + + + +
+Class org.diylc.components.AbstractComponent extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 1L + +

+ + + + + +
+Serialized Fields
+ +

+name

+
+java.lang.String name
+
+
+
+
+ +

+ + + + + +
+Class org.diylc.components.AbstractCurvedComponent extends AbstractTransparentComponent<T> implements Serializable
+ +

+serialVersionUID: 1L + +

+ + + + + +
+Serialized Fields
+ +

+controlPoints

+
+java.awt.Point[] controlPoints
+
+
+
+
+
+

+color

+
+java.awt.Color color
+
+
+
+
+
+

+pointCount

+
+org.diylc.components.AbstractCurvedComponent.PointCount pointCount
+
+
+
+
+ +

+ + + + + +
+Class org.diylc.components.AbstractLeadedComponent extends AbstractTransparentComponent<T> implements Serializable
+ +

+serialVersionUID: 1L + +

+ + + + + +
+Serialized Fields
+ +

+length

+
+Size length
+
+
+
+
+
+

+width

+
+Size width
+
+
+
+
+
+

+points

+
+java.awt.Point[] points
+
+
+
+
+
+

+bodyColor

+
+java.awt.Color bodyColor
+
+
+
+
+
+

+borderColor

+
+java.awt.Color borderColor
+
+
+
+
+
+

+labelColor

+
+java.awt.Color labelColor
+
+
+
+
+
+

+leadColor

+
+java.awt.Color leadColor
+
+
+
+
+
+

+display

+
+Display display
+
+
+
+
+
+

+flipStanding

+
+boolean flipStanding
+
+
+
+
+ +

+ + + + + +
+Class org.diylc.components.AbstractRadialComponent extends AbstractLeadedComponent<T> implements Serializable
+ +

+serialVersionUID: 1L + +

+ + + + + +
+Serialized Fields
+ +

+pinSpacing

+
+Size pinSpacing
+
+
+
+
+ +

+ + + + + +
+Class org.diylc.components.AbstractSchematicLeadedSymbol extends AbstractLeadedComponent<T> implements Serializable
+ +

+serialVersionUID: 1L + +

+ + + + + +
+Serialized Fields
+ +

+labelPosition

+
+LabelPosition labelPosition
+
+
+
+
+ +

+ + + + + +
+Class org.diylc.components.AbstractTransparentComponent extends AbstractComponent<T> implements Serializable
+ +

+serialVersionUID: 1L + +

+ + + + + +
+Serialized Fields
+ +

+alpha

+
+byte alpha
+
+
+
+
+
+ + + + + +
+Package org.diylc.core
+ +

+ + + + + +
+Class org.diylc.core.Project extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 1L + +

+ + + + + +
+Serialized Fields
+ +

+fileVersion

+
+org.diylc.appframework.update.VersionNumber fileVersion
+
+
+
+
+
+

+title

+
+java.lang.String title
+
+
+
+
+
+

+author

+
+java.lang.String author
+
+
+
+
+
+

+description

+
+java.lang.String description
+
+
+
+
+
+

+width

+
+Size width
+
+
+
+
+
+

+height

+
+Size height
+
+
+
+
+
+

+gridSpacing

+
+Size gridSpacing
+
+
+
+
+
+

+components

+
+java.util.List<E> components
+
+
+
+
+
+

+groups

+
+java.util.Set<E> groups
+
+
+
+
+
+

+lockedLayers

+
+java.util.Set<E> lockedLayers
+
+
+
+
+ +

+ + + + + +
+Class org.diylc.core.Theme extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 1L + +

+ + + + + +
+Serialized Fields
+ +

+name

+
+java.lang.String name
+
+
+
+
+
+

+bgColor

+
+java.awt.Color bgColor
+
+
+
+
+
+

+gridColor

+
+java.awt.Color gridColor
+
+
+
+
+
+

+outlineColor

+
+java.awt.Color outlineColor
+
+
+
+
+ +

+ + + + + +
+Class org.diylc.core.ValidationException extends java.lang.Exception implements Serializable
+ +

+serialVersionUID: 1L + +

+


+ + + + + +
+Package org.diylc.core.measures
+ +

+ + + + + +
+Class org.diylc.core.measures.AbstractMeasure extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 1L + +

+ + + + + +
+Serialized Fields
+ +

+value

+
+java.lang.Double value
+
+
+
+
+
+

+unit

+
+java.lang.Enum<E extends java.lang.Enum<E>> unit
+
+
+
+
+ +

+ + + + + +
+Class org.diylc.core.measures.Capacitance extends AbstractMeasure<CapacitanceUnit> implements Serializable
+ +

+serialVersionUID: 1L + +

+ +

+ + + + + +
+Class org.diylc.core.measures.Current extends AbstractMeasure<CurrentUnit> implements Serializable
+ +

+serialVersionUID: 1L + +

+ +

+ + + + + +
+Class org.diylc.core.measures.Inductance extends AbstractMeasure<InductanceUnit> implements Serializable
+ +

+serialVersionUID: 1L + +

+ +

+ + + + + +
+Class org.diylc.core.measures.Power extends AbstractMeasure<PowerUnit> implements Serializable
+ +

+serialVersionUID: 1L + +

+ +

+ + + + + +
+Class org.diylc.core.measures.Resistance extends AbstractMeasure<ResistanceUnit> implements Serializable
+ +

+serialVersionUID: 1L + +

+ +

+ + + + + +
+Class org.diylc.core.measures.Size extends AbstractMeasure<SizeUnit> implements Serializable
+ +

+serialVersionUID: 1L + +

+ +

+ + + + + +
+Class org.diylc.core.measures.Voltage extends AbstractMeasure<VoltageUnit> implements Serializable
+ +

+serialVersionUID: 1L + +

+


+ + + + + +
+Package org.diylc.plugins.cloud.model
+ +

+ + + + + +
+Class org.diylc.plugins.cloud.model.CommentEntity extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 1L + +

+ + + + + +
+Serialized Fields
+ +

+id

+
+int id
+
+
+
+
+
+

+parentId

+
+int parentId
+
+
+
+
+
+

+username

+
+java.lang.String username
+
+
+
+
+
+

+comment

+
+java.lang.String comment
+
+
+
+
+
+

+postedAt

+
+java.lang.String postedAt
+
+
+
+
+ +

+ + + + + +
+Class org.diylc.plugins.cloud.model.ProjectEntity extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 1L + +

+ + + + + +
+Serialized Fields
+ +

+id

+
+int id
+
+
+
+
+
+

+name

+
+java.lang.String name
+
+
+
+
+
+

+description

+
+java.lang.String description
+
+
+
+
+
+

+owner

+
+java.lang.String owner
+
+
+
+
+
+

+category

+
+java.lang.String category
+
+
+
+
+
+

+updated

+
+java.lang.String updated
+
+
+
+
+
+

+thumbnailUrl

+
+java.lang.String thumbnailUrl
+
+
+
+
+
+

+downloadUrl

+
+java.lang.String downloadUrl
+
+
+
+
+
+

+viewCount

+
+int viewCount
+
+
+
+
+
+

+downloadCount

+
+int downloadCount
+
+
+
+
+
+

+commentCount

+
+int commentCount
+
+
+
+
+ +

+ + + + + +
+Class org.diylc.plugins.cloud.model.UserEntity extends java.lang.Object implements Serializable
+ +

+serialVersionUID: 1L + +

+ + + + + +
+Serialized Fields
+ +

+username

+
+java.lang.String username
+
+
+
+
+
+

+email

+
+java.lang.String email
+
+
+
+
+
+

+website

+
+java.lang.String website
+
+
+
+
+
+

+bio

+
+java.lang.String bio
+
+
+
+
+
+ + + + + +
+Package org.diylc.plugins.cloud.presenter
+ +

+ + + + + +
+Class org.diylc.plugins.cloud.presenter.CloudException extends java.lang.Exception implements Serializable
+ +

+serialVersionUID: 1L + +

+ +

+ + + + + +
+Class org.diylc.plugins.cloud.presenter.NotConnectedException extends java.lang.Exception implements Serializable
+ +

+serialVersionUID: 1L + +

+ +

+ + + + + +
+Class org.diylc.plugins.cloud.presenter.NotExistsException extends java.lang.Exception implements Serializable
+ +

+serialVersionUID: 1L + +

+ +

+ + + + + +
+Class org.diylc.plugins.cloud.presenter.NotLoggedInException extends java.lang.Exception implements Serializable
+ +

+serialVersionUID: 1L + +

+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/diylc/diylc-core/doc/stylesheet.css b/diylc/diylc-core/doc/stylesheet.css new file mode 100644 index 00000000..cbd34286 --- /dev/null +++ b/diylc/diylc-core/doc/stylesheet.css @@ -0,0 +1,29 @@ +/* Javadoc style sheet */ + +/* Define colors, fonts and other style attributes here to override the defaults */ + +/* Page background color */ +body { background-color: #FFFFFF; color:#000000 } + +/* Headings */ +h1 { font-size: 145% } + +/* Table colors */ +.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */ +.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */ +.TableRowColor { background: #FFFFFF; color:#000000 } /* White */ + +/* Font used in left-hand frame lists */ +.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } + +/* Navigation bar fonts and colors */ +.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */ +.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */ +.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;} +.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;} + +.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} +.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} + diff --git a/diylc/diylc-core/src/org/diylc/common/ComponentType.java b/diylc/diylc-core/src/org/diylc/common/ComponentType.java index aa34e2a1..5a3240fb 100644 --- a/diylc/diylc-core/src/org/diylc/common/ComponentType.java +++ b/diylc/diylc-core/src/org/diylc/common/ComponentType.java @@ -4,6 +4,7 @@ import javax.swing.Icon; import org.diylc.core.CreationMethod; import org.diylc.core.IDIYComponent; +import org.diylc.core.annotations.AutoCreateTag; import org.diylc.core.annotations.BomPolicy; /** @@ -29,11 +30,12 @@ public class ComponentType { private BomPolicy bomPolicy; private boolean autoEdit; private boolean rotatable; - private String autoCreateName; + private AutoCreateTag autoCreateTag; public ComponentType(String name, String description, CreationMethod creationMethod, String category, String namePrefix, String author, Icon icon, Class> instanceClass, double zOrder, - boolean flexibleZOrder, boolean stretchable, BomPolicy bomPolicy, boolean autoEdit, boolean rotatable, String autoCreateName) { + boolean flexibleZOrder, boolean stretchable, BomPolicy bomPolicy, boolean autoEdit, boolean rotatable, + AutoCreateTag autoCreateTag) { super(); this.name = name; this.description = description; @@ -49,7 +51,7 @@ public class ComponentType { this.bomPolicy = bomPolicy; this.autoEdit = autoEdit; this.rotatable = rotatable; - this.autoCreateName = autoCreateName; + this.autoCreateTag = autoCreateTag; } public String getName() { @@ -107,9 +109,9 @@ public class ComponentType { public boolean isRotatable() { return rotatable; } - - public String getAutoCreateName() { - return autoCreateName; + + public AutoCreateTag getAutoCreateTag() { + return autoCreateTag; } @Override diff --git a/diylc/diylc-core/src/org/diylc/core/annotations/AutoCreateTag.java b/diylc/diylc-core/src/org/diylc/core/annotations/AutoCreateTag.java new file mode 100644 index 00000000..2f388281 --- /dev/null +++ b/diylc/diylc-core/src/org/diylc/core/annotations/AutoCreateTag.java @@ -0,0 +1,5 @@ +package org.diylc.core.annotations; + +public enum AutoCreateTag { + NONE, SOLDER_PAD +} diff --git a/diylc/diylc-core/src/org/diylc/core/annotations/AutoCreated.java b/diylc/diylc-core/src/org/diylc/core/annotations/AutoCreated.java deleted file mode 100644 index ea470b78..00000000 --- a/diylc/diylc-core/src/org/diylc/core/annotations/AutoCreated.java +++ /dev/null @@ -1,19 +0,0 @@ -package org.diylc.core.annotations; - -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; - -import org.diylc.core.IDIYComponent; - -/** - * Annotation for {@link IDIYComponent} implementation. Tells the core which component should be auto-created as a solder pad. - * - * @author Branislav Stojkovic - */ -@Retention(RetentionPolicy.RUNTIME) -public @interface AutoCreated { - /** - * @return auto-create type name. - */ - String name(); -} diff --git a/diylc/diylc-core/src/org/diylc/core/annotations/ComponentDescriptor.java b/diylc/diylc-core/src/org/diylc/core/annotations/ComponentDescriptor.java index 3b9f6862..4b4c1c8e 100644 --- a/diylc/diylc-core/src/org/diylc/core/annotations/ComponentDescriptor.java +++ b/diylc/diylc-core/src/org/diylc/core/annotations/ComponentDescriptor.java @@ -80,4 +80,8 @@ public @interface ComponentDescriptor { */ boolean rotatable() default true; + AutoCreateTag autoCreateTag() default AutoCreateTag.NONE; + + KeywordPolicy keywordPolicy() default KeywordPolicy.NEVER_SHOW; + } diff --git a/diylc/diylc-core/src/org/diylc/core/annotations/KeywordPolicy.java b/diylc/diylc-core/src/org/diylc/core/annotations/KeywordPolicy.java new file mode 100644 index 00000000..3049389a --- /dev/null +++ b/diylc/diylc-core/src/org/diylc/core/annotations/KeywordPolicy.java @@ -0,0 +1,5 @@ +package org.diylc.core.annotations; + +public enum KeywordPolicy { + SHOW_TYPE_NAME, SHOW_VALUE, NEVER_SHOW, +} diff --git a/diylc/diylc-core/src/org/diylc/presenter/ComponentProcessor.java b/diylc/diylc-core/src/org/diylc/presenter/ComponentProcessor.java index 0530ddc8..5a210aaf 100644 --- a/diylc/diylc-core/src/org/diylc/presenter/ComponentProcessor.java +++ b/diylc/diylc-core/src/org/diylc/presenter/ComponentProcessor.java @@ -20,7 +20,7 @@ import org.diylc.common.PropertyWrapper; import org.diylc.core.CreationMethod; import org.diylc.core.IDIYComponent; import org.diylc.core.IPropertyValidator; -import org.diylc.core.annotations.AutoCreated; +import org.diylc.core.annotations.AutoCreateTag; import org.diylc.core.annotations.BomPolicy; import org.diylc.core.annotations.ComponentDescriptor; import org.diylc.core.annotations.EditableProperty; @@ -71,7 +71,7 @@ public class ComponentProcessor { BomPolicy bomPolicy; boolean autoEdit; boolean rotatable; - String autoCreateName = null; + AutoCreateTag autoCreateTag = null; if (clazz.isAnnotationPresent(ComponentDescriptor.class)) { ComponentDescriptor annotation = clazz.getAnnotation(ComponentDescriptor.class); name = annotation.name(); @@ -86,6 +86,7 @@ public class ComponentProcessor { bomPolicy = annotation.bomPolicy(); autoEdit = annotation.autoEdit(); rotatable = annotation.rotatable(); + autoCreateTag = annotation.autoCreateTag(); } else { name = clazz.getSimpleName(); description = ""; @@ -99,10 +100,7 @@ public class ComponentProcessor { bomPolicy = BomPolicy.SHOW_ALL_NAMES; autoEdit = true; rotatable = true; - } - if (clazz.isAnnotationPresent(AutoCreated.class)) { - AutoCreated annotation = clazz.getAnnotation(AutoCreated.class); - autoCreateName = annotation.name(); + autoCreateTag = AutoCreateTag.NONE; } icon = null; // Draw component icon. @@ -122,7 +120,7 @@ public class ComponentProcessor { } ComponentType componentType = new ComponentType(name, description, creationMethod, category, namePrefix, author, icon, clazz, zOrder, - flexibleZOrder, stretchable, bomPolicy, autoEdit, rotatable, autoCreateName); + flexibleZOrder, stretchable, bomPolicy, autoEdit, rotatable, autoCreateTag); componentTypeMap.put(clazz.getName(), componentType); return componentType; } diff --git a/diylc/diylc-core/src/org/diylc/presenter/Presenter.java b/diylc/diylc-core/src/org/diylc/presenter/Presenter.java index f8e7078a..8b598724 100644 --- a/diylc/diylc-core/src/org/diylc/presenter/Presenter.java +++ b/diylc/diylc-core/src/org/diylc/presenter/Presenter.java @@ -50,6 +50,7 @@ import org.diylc.core.IView; import org.diylc.core.Project; import org.diylc.core.Template; import org.diylc.core.Theme; +import org.diylc.core.annotations.AutoCreateTag; import org.diylc.core.measures.SizeUnit; import org.diylc.utils.Constants; @@ -63,8 +64,6 @@ import com.thoughtworks.xstream.io.xml.DomDriver; */ public class Presenter implements IPlugInPort { - private static final String SOLDER_PAD = "SolderPad"; - private static final Logger LOG = Logger.getLogger(Presenter.class); public static VersionNumber CURRENT_VERSION = new VersionNumber(3, 0, 0); @@ -92,7 +91,7 @@ public class Presenter implements IPlugInPort { /** * {@link ComponentType}s that can be autocreated, like Solder Pads */ - private Map autoCreateTypes; + private Map autoCreateTypes; // Maps component class names to ComponentType objects. private List plugIns; @@ -353,13 +352,13 @@ public class Presenter implements IPlugInPort { return componentTypes; } - private Map getAutoCreateTypes() { + private Map getAutoCreateTypes() { if (autoCreateTypes == null) { - autoCreateTypes = new HashMap(); + autoCreateTypes = new HashMap(); for (Map.Entry> entry : getComponentTypes().entrySet()) { for (ComponentType t : entry.getValue()) { - if (t.getAutoCreateName() != null) - autoCreateTypes.put(t.getAutoCreateName(), t); + if (t.getAutoCreateTag() != null) + autoCreateTypes.put(t.getAutoCreateTag(), t); } } } @@ -1641,7 +1640,7 @@ public class Presenter implements IPlugInPort { currentProject.getComponents().add(component); } - ComponentType padType = getAutoCreateTypes().get(SOLDER_PAD); + ComponentType padType = getAutoCreateTypes().get(AutoCreateTag.SOLDER_PAD); if (canCreatePads && ConfigurationManager.getInstance().readBoolean(IPlugInPort.AUTO_PADS_KEY, false) && padType != null && !(component.getClass().equals(padType.getInstanceClass()))) { for (int i = 0; i < component.getControlPointCount(); i++) { diff --git a/diylc/diylc-library/src/org/diylc/components/connectivity/SolderPad.java b/diylc/diylc-library/src/org/diylc/components/connectivity/SolderPad.java index 9518cbee..8f6ca49f 100644 --- a/diylc/diylc-library/src/org/diylc/components/connectivity/SolderPad.java +++ b/diylc/diylc-library/src/org/diylc/components/connectivity/SolderPad.java @@ -11,7 +11,7 @@ import org.diylc.core.IDIYComponent; import org.diylc.core.IDrawingObserver; import org.diylc.core.Project; import org.diylc.core.VisibilityPolicy; -import org.diylc.core.annotations.AutoCreated; +import org.diylc.core.annotations.AutoCreateTag; import org.diylc.core.annotations.BomPolicy; import org.diylc.core.annotations.ComponentDescriptor; import org.diylc.core.annotations.EditableProperty; @@ -20,10 +20,9 @@ import org.diylc.core.measures.Size; import org.diylc.core.measures.SizeUnit; import org.diylc.utils.Constants; -@AutoCreated(name = "SolderPad") @ComponentDescriptor(name = "Solder Pad", category = "Connectivity", author = "Branislav Stojkovic", description = "Copper solder pad, round or square", instanceNamePrefix = "Pad", stretchable = false, - zOrder = IDIYComponent.TRACE + 0.1, bomPolicy = BomPolicy.NEVER_SHOW, autoEdit = false) + zOrder = IDIYComponent.TRACE + 0.1, bomPolicy = BomPolicy.NEVER_SHOW, autoEdit = false, autoCreateTag = AutoCreateTag.SOLDER_PAD) public class SolderPad extends AbstractComponent { private static final long serialVersionUID = 1L; diff --git a/diylc/diylc-swing/update.xml b/diylc/diylc-swing/update.xml index b5fd6b39..797da6cf 100644 --- a/diylc/diylc-swing/update.xml +++ b/diylc/diylc-swing/update.xml @@ -1354,6 +1354,10 @@ IMPROVEMENT Auto save and recovery made a bit smarter + + IMPROVEMENT + Popup dialogs work better with keyboard - Enter confirms, Escape dismisses dialogs + BUG_FIX Changing Display to one trimmer affects all trimmers and does not get saved to the file