Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Draw2d
3.3

Uses of Class
org.eclipse.draw2d.geometry.Insets

Packages that use Insets
org.eclipse.draw2d Primary package containing general interfaces and implementation classes. 
org.eclipse.draw2d.geometry Types representing or manipulating geometric values, such as Points, Dimensions, etc. 
org.eclipse.draw2d.graph Stand-alone algorithms related to Graph Drawing. 
org.eclipse.draw2d.text Figures and support classes related to the layout and rendering of rich text. 
 

Uses of Insets in org.eclipse.draw2d
 

Subclasses of Insets in org.eclipse.draw2d
static class IFigure.NoInsets
          Insets that are all 0.
 

Fields in org.eclipse.draw2d declared as Insets
protected static  Insets SimpleEtchedBorder. INSETS
          The insets
  Insets ScrollPaneSolver.Result. insets
          Insets of ScrollPane
protected   Insets MarginBorder. insets
          This border's insets.
static  Insets IFigure. NO_INSETS
          Empty Insets.
 

Methods in org.eclipse.draw2d that return Insets
protected   Insets TitleBarBorder. calculateInsets ( IFigure figure)
          Calculates and returns the Insets for this border.
protected   Insets TitleBarBorder. getPadding ()
          Returns this TitleBarBorder's padding.
  Insets SimpleEtchedBorder. getInsets ( IFigure figure)
          Returns the Insets used by this border.
  Insets SchemeBorder. getInsets ( IFigure figure)
           
protected   Insets SchemeBorder.Scheme. calculateInsets ()
          Calculates and returns the Insets for this border Scheme.
protected   Insets SchemeBorder.Scheme. getInsets ()
          Returns the Insets required by this Scheme.
  Insets MarginBorder. getInsets ( IFigure figure)
           
  Insets LineBorder. getInsets ( IFigure figure)
          Returns the space used by the border for the figure provided as input.
  Insets IFigure. getInsets ()
          Returns the current Insets.
protected   Insets GroupBoxBorder. calculateInsets ( IFigure figure)
          Calculates and returns the Insets for this GroupBoxBorder.
  Insets FocusBorder. getInsets ( IFigure figure)
           
  Insets Figure. getInsets ()
          Returns the border's Insets if the border is set.
  Insets CompoundBorder. getInsets ( IFigure figure)
          Returns the total insets required to hold both the inner and outer borders of this CompoundBorder.
protected   Insets ButtonBorder.ButtonScheme. calculateInsets ()
          Calculates and returns the Insets for this border.
  Insets Border. getInsets ( IFigure figure)
          Returns the Insets for this Border for the given Figure.
protected abstract   Insets AbstractLabeledBorder. calculateInsets ( IFigure figure)
          Calculates insets based on the current font and other attributes.
  Insets AbstractLabeledBorder. getInsets ( IFigure fig)
          Returns the insets, or space associated for this border.
  Insets AbstractBackground. getInsets ( IFigure figure)
          Returns the Insets for this Border for the given Figure.
 

Methods in org.eclipse.draw2d with parameters of type Insets
 void TitleBarBorder. paint ( IFigure figure, Graphics g, Insets insets)
           
 void TitleBarBorder. setPadding ( Insets pad)
          Sets the padding space of this TitleBarBorder to the passed value.
 void SimpleEtchedBorder. paint ( IFigure figure, Graphics g, Insets insets)
           
 void SchemeBorder. paint ( IFigure figure, Graphics g, Insets insets)
           
protected  void SchemeBorder. paint ( Graphics graphics, IFigure fig, Insets insets, Color[] tl, Color[] br)
          Paints the border using the information in the set Scheme and the inputs given.
 void PrintOperation. setPrintMargin ( Insets margin)
          Sets the page margin in pels (logical pixels) to the passed Insets.(72 pels == 1 inch)
 void MarginBorder. paint ( IFigure figure, Graphics graphics, Insets insets)
          This method does nothing, since this border is just for spacing.
 void LineBorder. paint ( IFigure figure, Graphics graphics, Insets insets)
           
 void GroupBoxBorder. paint ( IFigure figure, Graphics g, Insets insets)
           
 void FocusBorder. paint ( IFigure figure, Graphics graphics, Insets insets)
          Paints a focus rectangle.
 void CompoundBorder. paint ( IFigure figure, Graphics g, Insets insets)
           
 void ButtonBorder. paint ( IFigure figure, Graphics graphics, Insets insets)
          Paints this border with the help of the set scheme, the model of the clickable figure, and other inputs.
 void Border. paint ( IFigure figure, Graphics graphics, Insets insets)
          Paints the border.
protected static  Rectangle AbstractBorder. getPaintRectangle ( IFigure figure, Insets insets)
          Returns a temporary rectangle representing the figure's bounds cropped by the specified insets.
 void AbstractBackground. paint ( IFigure figure, Graphics graphics, Insets insets)
          Paints the border. The border should paint inside figure's IFigure.getBounds(), inset by the parameter insets. The border generally should not paint inside its own insets. More specifically, Border b should paint inside the rectangle: figure.getBounds().getCropped(insets) and outside of the rectangle: figure.getBounds().getCropped(insets).getCropped(getInsets()) where inside is defined as Rectangle.contains(int, int). By default, this method is stubbed out for backgrounds which only paint underneath a figure.
 void AbstractBackground. paintBackground ( IFigure figure, Graphics graphics, Insets insets)
          Called when this Background should paint.
 

Constructors in org.eclipse.draw2d with parameters of type Insets
MarginBorder ( Insets insets)
          Constructs a MarginBorder with dimensions specified by insets.
 

Uses of Insets in org.eclipse.draw2d.geometry
 

Methods in org.eclipse.draw2d.geometry that return Insets
  Insets Transposer. t ( Insets i)
          Returns a new transposed Insets of the input Insets.
  Insets Insets. add ( Insets insets)
          Adds the values of the specified Insets to this Insets' values.
  Insets Insets. getAdded ( Insets insets)
          Creates an Insets representing the sum of this Insets with the specified Insets.
  Insets Insets. getTransposed ()
          Creates a new Insets with transposed values.
  Insets Insets. transpose ()
          Transposes this object.
 

Methods in org.eclipse.draw2d.geometry with parameters of type Insets
  Insets Transposer. t ( Insets i)
          Returns a new transposed Insets of the input Insets.
  Rectangle Rectangle. crop ( Insets insets)
          Crops this rectangle by the amount specified in insets.
  Rectangle Rectangle. expand ( Insets insets)
          Expands the horizontal and vertical sides of this Rectangle by the width and height of the given Insets, and returns this for convenience.
  Rectangle Rectangle. getCropped ( Insets insets)
          Returns a new Rectangle with the specified insets cropped.
  Rectangle Rectangle. getExpanded ( Insets insets)
          Creates and returns a new Rectangle with the bounds of this Rectangle, expanded by the given Insets.
  Rectangle PrecisionRectangle. crop ( Insets insets)
           
  Insets Insets. add ( Insets insets)
          Adds the values of the specified Insets to this Insets' values.
  Insets Insets. getAdded ( Insets insets)
          Creates an Insets representing the sum of this Insets with the specified Insets.
 

Constructors in org.eclipse.draw2d.geometry with parameters of type Insets
Insets ( Insets i)
          Constructs a new Insets with initial values the same as the provided Insets.
 

Uses of Insets in org.eclipse.draw2d.graph
 

Fields in org.eclipse.draw2d.graph declared as Insets
  Insets Subgraph. insets
          The space required for this subgraph's border.
  Insets Subgraph. innerPadding
          The minimum space between this subgraph's border and it's children.
 

Methods in org.eclipse.draw2d.graph that return Insets
  Insets Node. getPadding ()
          Returns the padding for this node or null if the default padding for the graph should be used.
  Insets DirectedGraph. getDefaultPadding ()
          Returns the default padding for nodes.
  Insets DirectedGraph. getMargin ()
          Sets the outer margin for the entire graph.
  Insets DirectedGraph. getPadding ( Node node)
          Returns the effective padding for the given node.
 

Methods in org.eclipse.draw2d.graph with parameters of type Insets
 void Node. setPadding ( Insets padding)
          Sets the padding.
 void DirectedGraph. setDefaultPadding ( Insets insets)
          Sets the default padding for all nodes in the graph.
 void DirectedGraph. setMargin ( Insets insets)
          Sets the graphs margin.
 

Uses of Insets in org.eclipse.draw2d.text
 

Methods in org.eclipse.draw2d.text that return Insets
  Insets AbstractFlowBorder. getInsets ( IFigure figure)
           
 

Methods in org.eclipse.draw2d.text with parameters of type Insets
 void AbstractFlowBorder. paint ( IFigure figure, Graphics graphics, Insets insets)
          This method is not called on FlowBorders.
 


Eclipse Draw2d
3.3

Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire