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

  




 

 

Runtime

org.eclipse.gmf.runtime.notation
Interface Ratio

All Superinterfaces:
org.eclipse.emf.ecore.EObject, LayoutConstraint, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
RatioImpl

public interface Ratio
extends LayoutConstraint

A representation of the model object ' Ratio '.

The ratio constraint specifies the size ratio of a node in its container

The following features are supported:

See Also:
NotationPackage.getRatio()
** Generated **
Model:

Method Summary
 double getValue ()
          Returns the value of the ' Value ' attribute.
 void setValue (double value)
          Sets the value of the ' Value' attribute
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getValue

double getValue()
Returns the value of the ' Value ' attribute. The default value is "-1".

The value is the ratio of the view to its container

Returns:
the value of the 'Value' attribute.
See Also:
setValue(double), NotationPackage.getRatio_Value()
** Generated **
Model:
default="-1"

setValue

void setValue(double value)
Sets the value of the ' Value' attribute. The value is the ratio of the view to its container

Parameters:
value - the new value of the 'Value' attribute.
See Also:
getValue()
** Generated **

Runtime

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.


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