
**Inheritance:**
java.lang.Object
```
public class AmpAttributes
```

Represents attributes used by the amp-components.
## Constructors

| Constructor | Description |
| --- | --- |
| [AmpAttributes()](#AmpAttributes--) |  |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getHeight()](#getHeight--) | Height of element. |
| [getHeigths()](#getHeigths--) | The value of this attribute is a sizes expression based on media expressions. |
| [getLayout()](#getLayout--) | AMP provides a set of layouts that specify how an AMP component behaves in the document layout. |
| [getMedia()](#getMedia--) | The value of media is a media query. |
| [getOn()](#getOn--) | The on attribute is used to install event handlers on elements. |
| [getSizes()](#getSizes--) | The value of the AMP sizes attribute is a sizes expression that selects the defined size corresponding to the media query based on the current window size. |
| [getWidth()](#getWidth--) | Width of element. |
| [hashCode()](#hashCode--) |  |
| [isFallback()](#isFallback--) | Define that current element is fallback. |
| [isNoloading()](#isNoloading--) | The noloading attribute indicates whether the "loading indicator" should be turned off for this element. |
| [isPlaceHolder()](#isPlaceHolder--) | The placeholder attribute indicates that the element marked with this attribute acts as a placeholder for the parent AMP element. |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setFallback(boolean value)](#setFallback-boolean-) | Define that current element is fallback. |
| [setHeight(int value)](#setHeight-int-) | Height of element. |
| [setHeigths(String value)](#setHeigths-java.lang.String-) | The value of this attribute is a sizes expression based on media expressions. |
| [setLayout(int value)](#setLayout-int-) | AMP provides a set of layouts that specify how an AMP component behaves in the document layout. |
| [setMedia(String value)](#setMedia-java.lang.String-) | The value of media is a media query. |
| [setNoloading(boolean value)](#setNoloading-boolean-) | The noloading attribute indicates whether the "loading indicator" should be turned off for this element. |
| [setOn(String value)](#setOn-java.lang.String-) | The on attribute is used to install event handlers on elements. |
| [setPlaceHolder(boolean value)](#setPlaceHolder-boolean-) | The placeholder attribute indicates that the element marked with this attribute acts as a placeholder for the parent AMP element. |
| [setSizes(String value)](#setSizes-java.lang.String-) | The value of the AMP sizes attribute is a sizes expression that selects the defined size corresponding to the media query based on the current window size. |
| [setWidth(int value)](#setWidth-int-) | Width of element. |
| [toAmpHtml()](#toAmpHtml--) | Represents amp html version of attributes. |
| [toHtml()](#toHtml--) | Represents html version of attributes. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### AmpAttributes() {#AmpAttributes--}
```
public AmpAttributes()
```


### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getHeight() {#getHeight--}
```
public final int getHeight()
```


Height of element.

**Returns:**
int
### getHeigths() {#getHeigths--}
```
public final String getHeigths()
```


The value of this attribute is a sizes expression based on media expressions.

**Returns:**
java.lang.String
### getLayout() {#getLayout--}
```
public final int getLayout()
```


AMP provides a set of layouts that specify how an AMP component behaves in the document layout.

**Returns:**
int
### getMedia() {#getMedia--}
```
public final String getMedia()
```


The value of media is a media query. If the query does not match, the element is not rendered and its resources and potentially its child resources will not be fetched. If the browser window changes size or orientation, the media queries are re-evaluated and elements are hidden and shown based on the new results.

**Returns:**
java.lang.String
### getOn() {#getOn--}
```
public final String getOn()
```


The on attribute is used to install event handlers on elements.

**Returns:**
java.lang.String
### getSizes() {#getSizes--}
```
public final String getSizes()
```


The value of the AMP sizes attribute is a sizes expression that selects the defined size corresponding to the media query based on the current window size.

**Returns:**
java.lang.String
### getWidth() {#getWidth--}
```
public final int getWidth()
```


Width of element.

**Returns:**
int
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### isFallback() {#isFallback--}
```
public final boolean isFallback()
```


Define that current element is fallback.

**Returns:**
boolean
### isNoloading() {#isNoloading--}
```
public final boolean isNoloading()
```


The noloading attribute indicates whether the "loading indicator" should be turned off for this element.

**Returns:**
boolean
### isPlaceHolder() {#isPlaceHolder--}
```
public final boolean isPlaceHolder()
```


The placeholder attribute indicates that the element marked with this attribute acts as a placeholder for the parent AMP element.

**Returns:**
boolean
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setFallback(boolean value) {#setFallback-boolean-}
```
public final void setFallback(boolean value)
```


Define that current element is fallback.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### setHeight(int value) {#setHeight-int-}
```
public final void setHeight(int value)
```


Height of element.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setHeigths(String value) {#setHeigths-java.lang.String-}
```
public final void setHeigths(String value)
```


The value of this attribute is a sizes expression based on media expressions.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setLayout(int value) {#setLayout-int-}
```
public final void setLayout(int value)
```


AMP provides a set of layouts that specify how an AMP component behaves in the document layout.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setMedia(String value) {#setMedia-java.lang.String-}
```
public final void setMedia(String value)
```


The value of media is a media query. If the query does not match, the element is not rendered and its resources and potentially its child resources will not be fetched. If the browser window changes size or orientation, the media queries are re-evaluated and elements are hidden and shown based on the new results.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setNoloading(boolean value) {#setNoloading-boolean-}
```
public final void setNoloading(boolean value)
```


The noloading attribute indicates whether the "loading indicator" should be turned off for this element.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### setOn(String value) {#setOn-java.lang.String-}
```
public final void setOn(String value)
```


The on attribute is used to install event handlers on elements.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setPlaceHolder(boolean value) {#setPlaceHolder-boolean-}
```
public final void setPlaceHolder(boolean value)
```


The placeholder attribute indicates that the element marked with this attribute acts as a placeholder for the parent AMP element.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### setSizes(String value) {#setSizes-java.lang.String-}
```
public final void setSizes(String value)
```


The value of the AMP sizes attribute is a sizes expression that selects the defined size corresponding to the media query based on the current window size.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setWidth(int value) {#setWidth-int-}
```
public final void setWidth(int value)
```


Width of element.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### toAmpHtml() {#toAmpHtml--}
```
public String toAmpHtml()
```


Represents amp html version of attributes.

**Returns:**
java.lang.String - 
### toHtml() {#toHtml--}
```
public String toHtml()
```


Represents html version of attributes.

**Returns:**
java.lang.String - 
### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

