|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jniwrapper.Parameter com.jniwrapper.Structure com.jniwrapper.win32.shell.ComponentLocation
public class ComponentLocation
Represents COMPPOS
native structure, which
holds information about position and size of the component
Field Summary |
---|
Fields inherited from class com.jniwrapper.Structure |
---|
i |
Fields inherited from class com.jniwrapper.Parameter |
---|
LICENSE_TYPE, V |
Constructor Summary | |
---|---|
ComponentLocation()
Creates an instance of ComponentLocation class |
|
ComponentLocation(ComponentLocation that)
Creates an instance of ActiveDesktopItem with a specified item. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates copy of this instance |
boolean |
getCanResize()
Returns value, which indicates whether the component is resizable or not |
boolean |
getCanResizeX()
Returns value, which indicates whether the component is resizable in the x-direction or not |
boolean |
getCanResizeY()
Returns value, which indicates whether the component is resizable in the y-direction or not |
int |
getHeight()
Returns height, in pixels |
int |
getIndex()
Returns z-order of the component. |
int |
getLeft()
Returns left edge of the top-left corner in screen coordinates. |
int |
getPreferredLeftPercent()
Returns left edge of the upper-left corner as a percentage of screen width |
int |
getPreferredTopPercent()
Returns top of the upper-left corner as a percentage of screen width |
int |
getTop()
Returns top of the top-left corner in screen coordinates. |
int |
getWidth()
Returns width, in pixels |
void |
setCanResize(boolean canResize)
Sets the value of the property, which indicates whether the component is resizable or not |
void |
setCanResizeX(boolean canResizeX)
Sets the value of the property, which indicates whether the component is resizable in the x-direction or not |
void |
setCanResizeY(boolean canResizeY)
Sets the value of the property, which indicates whether the component is resizable in the y-direction or not |
void |
setHeight(int height)
Sets height, in pixels |
void |
setiLeft(int left)
Sets left edge of the top-left corner in screen coordinates. |
void |
setIndex(int index)
Sets z-order of the component. |
void |
setPreferredLeftPercent(int preferredLeftPercent)
Sets left edge of the upper-left corner as a percentage of screen width |
void |
setPreferredTopPercent(int preferredTopPercent)
Sets top of the upper-left corner as a percentage of screen width |
void |
setTop(int top)
Sets top of the top-left corner in screen coordinates. |
void |
setWidth(int width)
Sets width, in pixels |
Methods inherited from class com.jniwrapper.Structure |
---|
a, a, acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write |
Methods inherited from class com.jniwrapper.Parameter |
---|
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentLocation()
public ComponentLocation(ComponentLocation that)
that
- Instance of the ComponentLocation classMethod Detail |
---|
public int getLeft()
public void setiLeft(int left)
left
- The left edge of the top-left corner in screen coordinates.public int getTop()
public void setTop(int top)
top
- The top of the top-left corner in screen coordinates.public int getWidth()
public void setWidth(int width)
width
- The width, in pixelspublic int getHeight()
public void setHeight(int height)
height
- The height, in pixelspublic int getIndex()
public void setIndex(int index)
index
- The z-order of the component.public boolean getCanResize()
public void setCanResize(boolean canResize)
canResize
- TRUE if the component is resizable, FALSE if notpublic boolean getCanResizeX()
public void setCanResizeX(boolean canResizeX)
canResizeX
- TRUE if the component is resizable in the x-direction, FALSE if notpublic boolean getCanResizeY()
public void setCanResizeY(boolean canResizeY)
canResizeY
- TRUE if the component is resizable in the y-direction, FALSE if notpublic int getPreferredLeftPercent()
public void setPreferredLeftPercent(int preferredLeftPercent)
preferredLeftPercent
- The left edge of the upper-left corner as a percentage of screen widthpublic int getPreferredTopPercent()
public void setPreferredTopPercent(int preferredTopPercent)
preferredTopPercent
- The top of the upper-left corner as a percentage of screen widthpublic java.lang.Object clone()
clone
in class com.jniwrapper.Structure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |