2000-05-30 07:57:51 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the Netscape Public
|
|
|
|
* License Version 1.1 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.mozilla.org/NPL/
|
|
|
|
*
|
|
|
|
* Software distributed under the License is distributed on an "AS
|
|
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
* implied. See the License for the specific language governing
|
|
|
|
* rights and limitations under the License.
|
|
|
|
*
|
|
|
|
* The Original Code is mozilla.org code.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is Netscape
|
|
|
|
* Communications Corporation. Portions created by Netscape are
|
|
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
* Rights Reserved.
|
|
|
|
*
|
|
|
|
* Original Author: David W. Hyatt (hyatt@netscape.com)
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
#include "nsIBoxLayoutManager.idl"
|
|
|
|
#include "nsIBoxPaintManager.idl"
|
|
|
|
|
|
|
|
[scriptable, uuid(CAABF76F-9D35-401f-BEAC-3955817C645C)]
|
|
|
|
interface nsIBoxObject : nsISupports
|
|
|
|
{
|
|
|
|
attribute nsIBoxLayoutManager layoutManager;
|
|
|
|
attribute nsIBoxPaintManager paintManager;
|
2000-07-27 06:19:30 +00:00
|
|
|
|
|
|
|
readonly attribute long x;
|
|
|
|
readonly attribute long y;
|
|
|
|
readonly attribute long width;
|
|
|
|
readonly attribute long height;
|
2000-10-02 23:23:55 +00:00
|
|
|
|
|
|
|
nsISupports getPropertyAsSupports(in wstring propertyName);
|
|
|
|
void setPropertyAsSupports(in wstring propertyName, in nsISupports value);
|
|
|
|
wstring getProperty(in wstring propertyName);
|
|
|
|
void setProperty(in wstring propertyName, in wstring propertyValue);
|
|
|
|
void removeProperty(in wstring propertyName);
|
2000-05-30 07:57:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
%{C++
|
|
|
|
nsresult
|
|
|
|
NS_NewBoxObject(nsIBoxObject** aResult);
|
|
|
|
|
|
|
|
%}
|