f07023c54f7c950606f2f94a1a866682fda06c0a.svn-base 766 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Ext JS Library 2.0 Copyright(c) 2006-2007, Ext JS, LLC. licensing@extjs.com
  3. *
  4. * http://extjs.com/license
  5. */
  6. /**
  7. * @class Ext.layout.AbsoluteLayout
  8. * @extends Ext.layout.AnchorLayout
  9. * <p>
  10. * Inherits the anchoring of {@link Ext.layout.AnchorLayout} and adds
  11. * the ability for x/y positioning using the standard x and y component
  12. * config options.
  13. * </p>
  14. */
  15. Ext.layout.AbsoluteLayout = Ext.extend(Ext.layout.AnchorLayout, {
  16. extraCls : 'x-abs-layout-item',
  17. onLayout : function(ct, target) {
  18. target.position();
  19. Ext.layout.AbsoluteLayout.superclass.onLayout.call(this, ct, target);
  20. }
  21. /**
  22. * @property activeItem
  23. * @hide
  24. */
  25. });
  26. Ext.Container.LAYOUTS['absolute'] = Ext.layout.AbsoluteLayout;