net.refractions.udig.legend.ui
Class LegendStyleContent

java.lang.Object
  extended by StyleContent
      extended by net.refractions.udig.legend.ui.LegendStyleContent

public class LegendStyleContent
extends StyleContent


Field Summary
static java.lang.String ID
           
 
Constructor Summary
LegendStyleContent()
           
 
Method Summary
static LegendStyle createDefault()
           
 java.lang.Object createDefaultStyle(IGeoResource resource, java.awt.Color colour, IProgressMonitor monitor)
           
 java.lang.Class<?> getStyleClass()
           
 java.lang.Object load(IMemento momento)
           
 java.lang.Object load(java.net.URL url, IProgressMonitor monitor)
           
 void save(IMemento momento, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final java.lang.String ID
See Also:
Constant Field Values
Constructor Detail

LegendStyleContent

public LegendStyleContent()
Method Detail

getStyleClass

public java.lang.Class<?> getStyleClass()

save

public void save(IMemento momento,
                 java.lang.Object value)

load

public java.lang.Object load(IMemento momento)

load

public java.lang.Object load(java.net.URL url,
                             IProgressMonitor monitor)
                      throws java.io.IOException
Throws:
java.io.IOException

createDefaultStyle

public java.lang.Object createDefaultStyle(IGeoResource resource,
                                           java.awt.Color colour,
                                           IProgressMonitor monitor)
                                    throws java.io.IOException
Throws:
java.io.IOException

createDefault

public static LegendStyle createDefault()