Java Doc for StyleEditorPage.java in  » GIS » udig-1.1 » net » refractions » udig » style » sld » editor » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » udig 1.1 » net.refractions.udig.style.sld.editor 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


net.refractions.udig.style.sld.editor.StyleEditorPage

All known Subclasses:   net.refractions.udig.style.sld.editor.StyleXMLPage,  net.refractions.udig.style.sld.editor.StyleThemePage,  net.refractions.udig.style.sld.editor.StyleEditorPageAdapter,
StyleEditorPage
abstract public class StyleEditorPage extends DialogPage implements IStyleEditorPage(Code)

Provides a user interface (by extension point) for pages in the SLD Editor.

Note: this will be rewritten in uDig 1.1.1


author:
   chorner
since:
   1.1


Field Summary
final public static  StringXPID
    

Constructor Summary
public  StyleEditorPage()
    

Method Summary
public  voidapplyData(Object data)
    
public  PointcomputeSize()
     Computes the size for this page's UI control.
public  voidcreateControl(Composite parent)
     Creates the page Control.
protected  LabelcreateDescriptionLabel(Composite parent)
     Creates and returns an SWT label under the given composite.
abstract public  voidcreatePageContent(Composite parent)
     Creates the page content.
public  voiddispose()
    
protected  PointdoComputeSize()
     Computes the size needed by this page's UI control.
public  IStyleEditorPageContainergetContainer()
    
public  StyleEditorPagegetEditorPage()
    
abstract public  StringgetErrorMessage()
     Returns an error message, if applicable.
abstract public  StringgetLabel()
    
public  StyledLayerDescriptorgetSLD()
     Returns the StyledLayerDescriptor from the style object on the blackboard (and creates one if it is missing).
public  StyleLayergetSelectedLayer()
    
public  StylegetStyle()
     Returns the current style object from the dialog.
abstract public  voidgotFocus()
     Each subclass must implement this method which is called each time the page obtains focus.
public  voidinit(IWorkbench bench)
     Initializes the page (optional) Subclasses may override this method if they need to initialize.
public  booleanisValid()
     Determines if the page contents are valid input.
abstract public  booleanperformCancel()
     Invoked when the user clicks cancel.
public  voidsetContainer(IEditorPageContainer container)
    
public  voidsetSize(Point size)
    
public  voidsetStyle(Style style)
     Sets the current style object (on our styleblackboard clone).
abstract public  voidstyleChanged(GTEvent event)
     Each subclass must implement this method which is called each time the style object is modified on ANY page.

Field Detail
XPID
final public static String XPID(Code)




Constructor Detail
StyleEditorPage
public StyleEditorPage()(Code)




Method Detail
applyData
public void applyData(Object data)(Code)



computeSize
public Point computeSize()(Code)
Computes the size for this page's UI control.

The default implementation of this IPreferencePage method returns the size set by setSize; if no size has been set, but the page has a UI control, the framework method doComputeSize is called to compute the size.

the size of the preference page encoded asnew Point(width,height), or (0,0) if the page doesn't currently have any UI component



createControl
public void createControl(Composite parent)(Code)
Creates the page Control. Subclasses should not override this method, but instead use createPageContent to create their contents.
Parameters:
  parent - the parent composite



createDescriptionLabel
protected Label createDescriptionLabel(Composite parent)(Code)
Creates and returns an SWT label under the given composite.
Parameters:
  parent - the parent composite the new label



createPageContent
abstract public void createPageContent(Composite parent)(Code)
Creates the page content. Subclasses must define this method and create their child controls here.
Parameters:
  parent - composite to put the page content in



dispose
public void dispose()(Code)



doComputeSize
protected Point doComputeSize()(Code)
Computes the size needed by this page's UI control.

All pages should override this method and set the appropriate sizes of their widgets, and then call super.doComputeSize.

the size of the preference page encoded asnew Point(width,height)



getContainer
public IStyleEditorPageContainer getContainer()(Code)



getEditorPage
public StyleEditorPage getEditorPage()(Code)



getErrorMessage
abstract public String getErrorMessage()(Code)
Returns an error message, if applicable. The dialog automagically calls this method and displays it with an error icon if it returns a non-null string. Subclasses should determine the state of their respective pages in this method and return null if everything is okay.



getLabel
abstract public String getLabel()(Code)



getSLD
public StyledLayerDescriptor getSLD()(Code)
Returns the StyledLayerDescriptor from the style object on the blackboard (and creates one if it is missing). SLD Object



getSelectedLayer
public StyleLayer getSelectedLayer()(Code)



getStyle
public Style getStyle()(Code)
Returns the current style object from the dialog. style



gotFocus
abstract public void gotFocus()(Code)
Each subclass must implement this method which is called each time the page obtains focus.



init
public void init(IWorkbench bench)(Code)
Initializes the page (optional) Subclasses may override this method if they need to initialize.
Parameters:
  bench -



isValid
public boolean isValid()(Code)
Determines if the page contents are valid input. Subclasses should override if invalid input is possible.



performCancel
abstract public boolean performCancel()(Code)
Invoked when the user clicks cancel.



setContainer
public void setContainer(IEditorPageContainer container)(Code)



setSize
public void setSize(Point size)(Code)



setStyle
public void setStyle(Style style)(Code)
Sets the current style object (on our styleblackboard clone).
Parameters:
  style -



styleChanged
abstract public void styleChanged(GTEvent event)(Code)
Each subclass must implement this method which is called each time the style object is modified on ANY page.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.