Groovy Documentation

griffon.plugins.miglayout
[Java] Class MigLayoutPane.FX2ComponentWrapper

java.lang.Object
  griffon.plugins.miglayout.MigLayoutPane.FX2ComponentWrapper
All Implemented Interfaces:
net.miginfocom.layout.ComponentWrapper

class MigLayoutPane.FX2ComponentWrapper

Field Summary
protected javafx.scene.Node node

 
Constructor Summary
MigLayoutPane.FX2ComponentWrapper(javafx.scene.Node node)

 
Method Summary
boolean equals(Object o)

int getBaseline(int width, int height)

Object getComponent()

int getComponetType(boolean arg0)

int getHeight()

int getHorizontalScreenDPI()

int getLayoutHashCode()

String getLinkId()

cols called in FXML on MigLayoutPane itself

int getMaximumHeight(int width)

int getMaximumWidth(int height)

int getMinimumHeight(int width)

int getMinimumWidth(int height)

net.miginfocom.layout.ContainerWrapper getParent()

float getPixelUnitFactor(boolean arg0)

layout called in FXML on MigLayoutPane itself

int getPreferredHeight(int width)

int getPreferredWidth(int height)

int getScreenHeight()

int getScreenLocationX()

int getScreenLocationY()

This needs to be overridden so that different wrappers that hold the same component compare as equal.

int getScreenWidth()

int getVerticalScreenDPI()

int[] getVisualPadding()

int getWidth()

int getX()

int getY()

boolean hasBaseline()

int hashCode()

boolean isVisible()

void paintDebugOutline()

called from the subnodes in FXML via MigLayoutPane.cc="..."

void setBounds(int x, int y, int width, int height)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

node

protected final javafx.scene.Node node


 
Constructor Detail

MigLayoutPane.FX2ComponentWrapper

public MigLayoutPane.FX2ComponentWrapper(javafx.scene.Node node)


 
Method Detail

equals

public boolean equals(Object o)


getBaseline

public int getBaseline(int width, int height)


getComponent

public Object getComponent()


getComponetType

public int getComponetType(boolean arg0)


getHeight

public int getHeight()


getHorizontalScreenDPI

public int getHorizontalScreenDPI()


getLayoutHashCode

public int getLayoutHashCode()


getLinkId

public String getLinkId()
cols called in FXML on MigLayoutPane itself


getMaximumHeight

public int getMaximumHeight(int width)


getMaximumWidth

public int getMaximumWidth(int height)


getMinimumHeight

public int getMinimumHeight(int width)


getMinimumWidth

public int getMinimumWidth(int height)


getParent

public net.miginfocom.layout.ContainerWrapper getParent()


getPixelUnitFactor

public float getPixelUnitFactor(boolean arg0)
layout called in FXML on MigLayoutPane itself


getPreferredHeight

public int getPreferredHeight(int width)


getPreferredWidth

public int getPreferredWidth(int height)


getScreenHeight

public int getScreenHeight()


getScreenLocationX

public int getScreenLocationX()


getScreenLocationY

public int getScreenLocationY()
This needs to be overridden so that different wrappers that hold the same component compare as equal. Otherwise, Grid won't be able to layout the components correctly.


getScreenWidth

public int getScreenWidth()


getVerticalScreenDPI

public int getVerticalScreenDPI()


getVisualPadding

public int[] getVisualPadding()


getWidth

public int getWidth()


getX

public int getX()


getY

public int getY()


hasBaseline

public boolean hasBaseline()


hashCode

public int hashCode()


isVisible

public boolean isVisible()


paintDebugOutline

public void paintDebugOutline()
called from the subnodes in FXML via MigLayoutPane.cc="..."


setBounds

public void setBounds(int x, int y, int width, int height)


 

Groovy Documentation