net.sourceforge.rssowl.util.shop
Class LayoutDataShop

java.lang.Object
  extended bynet.sourceforge.rssowl.util.shop.LayoutDataShop

public class LayoutDataShop
extends Object

Factory class for some LayoutData concerns in RSSOwl

Version:
1.1.3
Author:
Benjamin Pasero

Constructor Summary
private LayoutDataShop()
          This utility class constructor is hidden
 
Method Summary
static org.eclipse.swt.layout.FormData createFormData(int marginLeft, int marginRight, int marginTop, int marginBottom)
          Create a new FormData with the given Parameters
static org.eclipse.swt.layout.GridData createGridData(int style, int horizontalSpan)
          Create a new GridData with the given parameters
static org.eclipse.swt.layout.GridData createGridData(int style, int horizontalSpan, int widthHint)
          Create a new GridData with the given parameters
static org.eclipse.swt.layout.GridData createGridData(int style, int horizontalSpan, int widthHint, int heightHint)
          Create a new GridData with the given parameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutDataShop

private LayoutDataShop()
This utility class constructor is hidden

Method Detail

createFormData

public static org.eclipse.swt.layout.FormData createFormData(int marginLeft,
                                                             int marginRight,
                                                             int marginTop,
                                                             int marginBottom)
Create a new FormData with the given Parameters

Parameters:
marginLeft - Margin in pixel to the left
marginRight - Margin in pixel to the right
marginTop - Margin in pixel to the top
marginBottom - Margin in pixel to the bottom
Returns:
FormData with the given parameters

createGridData

public static org.eclipse.swt.layout.GridData createGridData(int style,
                                                             int horizontalSpan)
Create a new GridData with the given parameters

Parameters:
style - GridData style
horizontalSpan - Horizontal span
Returns:
GridData with the given parameters

createGridData

public static org.eclipse.swt.layout.GridData createGridData(int style,
                                                             int horizontalSpan,
                                                             int widthHint)
Create a new GridData with the given parameters

Parameters:
style - GridData style
horizontalSpan - Horizontal span
widthHint - Width hint in pixel
Returns:
GridData with the given parameters

createGridData

public static org.eclipse.swt.layout.GridData createGridData(int style,
                                                             int horizontalSpan,
                                                             int widthHint,
                                                             int heightHint)
Create a new GridData with the given parameters

Parameters:
style - GridData style
horizontalSpan - Horizontal span
widthHint - Width hint in pixel
heightHint - Height hint in pixel
Returns:
GridData with the given parameters


RSSOwl - RSS / RDF / Atom Newsreader

SourceForge.net Logo